all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@gmail.com>
To: 17887@debbugs.gnu.org
Subject: bug#17887: Regression: mouse-1 click on link does mouse-2 instead
Date: Mon, 30 Jun 2014 15:13:45 -0700	[thread overview]
Message-ID: <CAFM41H3V4JCq3ZPmgCtoLmgSBTtP-N7boWNAx+NxnwCAQEQhhw@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-06-30 22:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 22:13 Barry OReilly [this message]
2014-06-30 22:34 ` bug#17887: Regression: mouse-1 click on link does mouse-2 instead 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFM41H3V4JCq3ZPmgCtoLmgSBTtP-N7boWNAx+NxnwCAQEQhhw@mail.gmail.com \
    --to=gundaetiapo@gmail.com \
    --cc=17887@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.