unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17887: Regression: mouse-1 click on link does mouse-2 instead
@ 2014-06-30 22:13 Barry OReilly
  2014-06-30 22:34 ` Michael Heerdegen
  2014-07-01  1:24 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Barry OReilly @ 2014-06-30 22:13 UTC (permalink / raw)
  To: 17887

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

To reproduce on latest emacs-24 branch:

  mkdir /tmp/foo.d
  emacs -Q /tmp

Dired mode creates links out of the directory names, such as foo.d.
C-h k then mouse-1 (ie left) click on a link. See:

  <mouse-2> (translated from <down-mouse-2> <mouse-2>) at that spot runs
  the command mouse-yank-primary, which is an interactive compiled Lisp

But if you C-h k then mouse-1 click where there is no link, see:

  <down-mouse-1> (translated from <down-mouse-1> <down-mouse-1>) at that
  spot runs the command mouse-drag-region, which is an interactive

Though this doesn't create an issue in Dired, it is causing another
Emacs package I use (unreleased) to paste text instead of doing what
it used to do in Emacs 24.3, which is to show its own context menu.

Why would C-h k mouse-1 say anything about mouse-2?

In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2014-06-27 on REDACTED
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:    Ubuntu 12.04.4 LTS

[-- Attachment #2: Type: text/html, Size: 1192 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-08-21  1:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30 22:13 bug#17887: Regression: mouse-1 click on link does mouse-2 instead Barry OReilly
2014-06-30 22:34 ` Michael Heerdegen
2014-06-30 23:27   ` Barry OReilly
2014-06-30 23:42     ` Michael Heerdegen
2014-06-30 23:54       ` Barry OReilly
2014-07-01  1:24 ` Stefan Monnier
2014-08-21  1:45   ` Barry OReilly

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).