emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drag copy buffer blown away by slight mouse movements on emacs


From: Andrew Schein
Subject: drag copy buffer blown away by slight mouse movements on emacs
Date: Sun, 14 Aug 2011 21:46:08 -0700


This is a follow up to Bug#9186.

http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-07/msg02003.html

I tracked down some relevant logic in emacs-23.3  keyboard.c source.
Essentially, I comment out a bunch of really aggressive rules that cause
the mouse_click modifier to be recorded in an event modifier ( "<" is
current emacs behavior, and ">" is my modification):

5985,5986c5985,5986
<               else if (xdiff < double_click_fuzz && xdiff > - double_click_fuz
z
<                        && ydiff < double_click_fuzz && ydiff > - double_click_
fuzz
---
>               else if (/* xdiff < double_click_fuzz && xdiff > - double_click_
fuzz
>                             && ydiff < double_click_fuzz && ydiff > - double_c
lick_fuzz */
5997c5997
<                   && EQ (Fcar (Fcdr (start_pos)), Fcar (Fcdr (position))))
---
>                          /* && */ EQ (Fcar (Fcdr (start_pos)), Fcar (Fcdr (position))))

This change seems to fix my problem.  I wonder whether emacs
developers recollect the circumstances that caused these extra checks
to be included?

Best,

Andrew

--
Andrew I. Schein
www.andrewschein.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]