all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: <374@emacsbugs.donarmstrong.com>
Subject: bug#374: Info header line does not respect mouse-1-click-follows-link
Date: Sat, 14 Jun 2008 13:18:24 -0400	[thread overview]
Message-ID: <jwvzlpoc59z.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <00bc01c8ce3c$f3079860$0200a8c0@us.oracle.com> (Drew Adams's message of "Sat, 14 Jun 2008 09:37:34 -0700")

>> > Whatever mouse-1 does on non-links, which is also whatever mouse-1
>> > does elsewhere (e.g. non-header lines) when the variable is nil. In
>> > most cases, it is what `mouse-set-point' does.
>> But mouse-set-point makes no sense on the header-line: there's no
>> associated buffer position.

> Wrong.  You can click a non-link in the header-line or mode-line to
> set focus: select its window/buffer.  That is a primary use of the
> normal mouse-1 binding.

In normal use, there are plenty of other places on the screen where you
can click to do that.  `mouse-1-click-follows-link' was introduced to
resolve conflicts where "clicking elsewhere" is not an option,
i.e. because you might either want to follow the link or want to place
point within the link's text.

> When mouse-1 follows links, you have to be careful where you click, to
> do that.  The bug is that for these screen areas, mouse-1 follows
> links regardless of the option value.

That's pretty much "always" been the case: you cannot blindly click (with
mouse-1 or something else) on "active" areas on the screen in general.
With mouse-1-click-follows-link deactivated, this is less often the
case, but it is still the case.

> Both 0 and nil should turn off link following by mouse-1 -
> *everywhere*. There is no reason not to provide users with this
> pre-Emacs 22 behavior as an option.  Anything less is a regression.

Try Emacs-21 and take a look at its mode-line.  You'll see it has
mouse-1 on the buffer name active as well.  Emacs-22 might be "worse"
in this respect but I don't think it's a good idea to force such mouse-1
bindings to be redundant (so they can be disabled with
mouse-1-click-follows-link).


        Stefan






  parent reply	other threads:[~2008-06-14 17:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07  0:07 bug#374: Info header line does not respect mouse-1-click-follows-link Drew Adams
2008-06-14  2:03 ` Stefan Monnier
2008-06-14  8:08   ` Drew Adams
2008-06-14 15:16     ` Stefan Monnier
2008-06-14 16:37       ` Drew Adams
2008-06-14 17:02         ` Lennart Borgman (gmail)
2008-06-14 17:09           ` Drew Adams
2008-06-14 17:14             ` Lennart Borgman (gmail)
2008-06-14 17:34               ` Drew Adams
2008-06-14 17:44                 ` Lennart Borgman (gmail)
2008-06-14 18:18                   ` Drew Adams
2008-06-14 18:39                     ` Lennart Borgman (gmail)
2008-06-14 20:03                       ` Drew Adams
2008-06-14 20:34                         ` Lennart Borgman (gmail)
2008-06-14 17:18         ` Stefan Monnier [this message]
2008-06-14 18:21           ` bug#374: Info header line does not respectmouse-1-click-follows-link Drew Adams
2012-07-08  8:28 ` bug#374: Info header line does not respect mouse-1-click-follows-link Chong Yidong

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=jwvzlpoc59z.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=374@emacsbugs.donarmstrong.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 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.