unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: 17887@debbugs.gnu.org
Subject: bug#17887: Regression: mouse-1 click on link does mouse-2 instead
Date: Mon, 30 Jun 2014 21:24:35 -0400	[thread overview]
Message-ID: <jwvtx716fks.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAFM41H3V4JCq3ZPmgCtoLmgSBTtP-N7boWNAx+NxnwCAQEQhhw@mail.gmail.com> (Barry OReilly's message of "Mon, 30 Jun 2014 15:13:45 -0700")

> 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.

The translation from mouse-1 to mouse-2 (controlled on the user-side by
mouse-1-click-follows-link) depends on the presence of a follow-link
property or binding (see Elisp manual for details).

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

Because the place where the mouse-1 click happened has a `follow-link'
property or binding which tells Emacs that this is a place where mouse-1
could be turned into a mouse-2 (depending on
mouse-1-click-follows-link).

So you should try and figure out why there is such a `follow-link'
property or binding at a place where you don't want the
mouse-1-to-mouse-2 translation to take place.

And yes, the implementation of the feature was changed, so your problem
was apparently masked in previous versions of Emacs and is now exposed.


        Stefan





  parent reply	other threads:[~2014-07-01  1:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvtx716fks.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=17887@debbugs.gnu.org \
    --cc=gundaetiapo@gmail.com \
    /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 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).