bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17633: 24.3.91; mouse-drag-line: Symbol's function definition is voi


From: Stefan Monnier
Subject: bug#17633: 24.3.91; mouse-drag-line: Symbol's function definition is void: mouse--remap-link-click-p
Date: Sat, 31 May 2014 10:55:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> Can you explain the problem in more detail?  I'm afraid I don't
> understand the problem with mouse clicks on mode line.

I think the real fix (which I intend to install into trunk) is the
one below: including `point' in a mouse-click is simply incorrect since
the current position of point has nothing to do with the mouse event.


        Stefan


=== modified file 'src/keyboard.c'
--- src/keyboard.c      2014-05-30 04:12:08 +0000
+++ src/keyboard.c      2014-05-31 13:42:02 +0000
@@ -5266,9 +5266,7 @@
                                     &object, &dx, &dy, &width, &height);
          if (STRINGP (string))
            string_info = Fcons (string, make_number (charpos));
-         textpos = (w == XWINDOW (selected_window)
-                    && current_buffer == XBUFFER (w->contents))
-           ? PT : marker_position (w->pointm);
+         textpos = Qnil;
 
          xret = wx;
          yret = wy;






reply via email to

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