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

From: Stefan Monnier <[email-masked]>
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;