all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 52@debbugs.gnu.org
Subject: bug#52: FW: [mouse-1 in Customize should respect mouse-1-click-follows-link]
Date: Wed, 06 Jul 2011 16:09:50 -0400	[thread overview]
Message-ID: <jwvbox7xjj7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3mxgr2uh8.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 06 Jul 2011 19:24:03 +0200")

>>> Click mouse-1 on a link in a Customize buffer that is a link to
>>> another option name or similar. That is, on text between `' that is
>>> highlighted with mouseover (`mouse-face').  The link is followed.

Yes, Custom has always used mouse-1 clicks for that purpose, AFAIK.

> The actual key binding in these buffers for the mouse is:

> <down-mouse-1>	widget-button-click
> <down-mouse-2>	widget-button-click

> How is `mouse-1-click-follows-link' generally supposed to work?  Is

This is supposed to let mouse-1 clicks follow links otherwise only
accessible via mouse-2 clicks (i.e. when there's no binding for mouse-1
on this button/link).

It relies on the `follow-link' text-property and/or key binding to
specifies when this fallback is applicable.

That was introduced in reaction to people complaining about the
non-standard Emacs convention of using mouse-2 to follow links.
But actually some part of Emacs already used mouse-1 to follow links,
such as Customize, so these aren't affected by
mouse-1-click-follows-link.

I think in this present case, Custom should better follow Emacs
conventions and hence only bind mouse-2 and then rely on the follow-link
feature to make mouse-1 also work for those users who like it.


        Stefan





  parent reply	other threads:[~2011-07-06 20:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001a01c883a2$b94cae10$0600a8c0@us.oracle.com>
2011-07-06 17:24 ` bug#52: FW: [mouse-1 in Customize should respect mouse-1-click-follows-link] Lars Magne Ingebrigtsen
2011-07-06 17:32   ` Drew Adams
2011-07-06 20:09   ` Stefan Monnier [this message]
2011-07-07 16:19     ` Lars Magne Ingebrigtsen
2011-07-07 19:03     ` Chong Yidong
2011-10-27 21:16       ` Drew Adams
2011-10-27 21:28         ` bug#52: FW: [mouse-1 in Customize should respectmouse-1-click-follows-link] Drew Adams
2011-10-29  4:46           ` Chong Yidong
2011-10-29 15:04             ` Drew Adams
2011-10-30  3:25               ` Chong Yidong
2011-10-30 14:46                 ` Drew Adams
2012-09-17  0:26                   ` bug#52: FW: [mouse-1 in Customize shouldrespectmouse-1-click-follows-link] Drew Adams
2011-10-27 21:13 ` bug#52: FW: bug#52: FW: [mouse-1 in Customize should respect mouse-1-click-follows-link] Drew Adams

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=jwvbox7xjj7.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=52@debbugs.gnu.org \
    --cc=larsi@gnus.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.