GNU bug report logs - #17633
24.3.91; mouse-drag-line: Symbol's function definition is void: mouse--remap-link-click-p

Previous Next

Package: emacs;

Reported by: Christopher Schmidt <ch <at> ristopher.com>

Date: Thu, 29 May 2014 17:46:02 UTC

Severity: important

Found in version 24.3.91

Done: Christopher Schmidt <ch <at> ristopher.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 17633 <at> debbugs.gnu.org
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
> 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;





This bug report was last modified 11 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.