unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: Nick Roberts <nickrob@snap.net.nz>, emacs-devel@gnu.org
Subject: Re: follow-link in grep buffer
Date: Mon, 21 Feb 2005 23:46:31 +0100	[thread overview]
Message-ID: <m3zmxxbkfs.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <x5d5ut8u3n.fsf@lola.goethe.zz> (David Kastrup's message of "Mon, 21 Feb 2005 22:46:04 +0100")

David Kastrup <dak@gnu.org> writes:

> Press the button for longer.  That avoids following the link.  How to
> teach this best is a different question.

View at it like this:  

	Press the mouse button "harder" (i.e. longer)
	to make it stick where you click.


Here's the relevant doc string:

mouse-1-click-follows-link's value is 300

Non-nil means that clicking Mouse-1 on a link follows the link.

With the default setting, an ordinary Mouse-1 click on a link
performs the same action as Mouse-2 on that link, while a longer
Mouse-1 click (hold down the Mouse-1 button for more than 350
milliseconds) performs the original Mouse-1 binding (which
typically sets point where you click the mouse).

If value is an integer, the time elapsed between pressing and
releasing the mouse button determines whether to follow the link
or perform the normal Mouse-1 action (typically set point).
The absolute numeric value specifices the maximum duration of a
"short click" in milliseconds.  A positive value means that a
short click follows the link, and a longer click performs the
normal action.  A negative value gives the opposite behaviour.

If value is `double', a double click follows the link.

Otherwise, a single Mouse-1 click unconditionally follows the link.

Note that dragging the mouse never follows the link.

This feature only works in modes that specifically identify
clickable text as links, so it may not work with some external
packages.  See `mouse-on-link-p' for details.


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-02-21 22:46 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 21:08 follow-link in grep buffer Nick Roberts
2005-02-21 21:19 ` Stefan Monnier
2005-02-21 22:48   ` Nick Roberts
2005-02-22  0:08     ` Drew Adams
2005-02-22  9:48       ` Kim F. Storm
2005-02-22 13:41         ` Stefan Monnier
2005-02-22 14:24           ` Kim F. Storm
2005-02-22 14:25           ` Kim F. Storm
2005-02-22 17:33         ` Drew Adams
2005-02-22  0:48     ` Jason Rumney
2005-02-21 21:45 ` Drew Adams
2005-02-21 22:20   ` Luc Teirlinck
2005-02-21 22:36     ` Nick Roberts
2005-02-21 22:46     ` David Kastrup
2005-02-21 23:00       ` Luc Teirlinck
2005-02-21 23:05       ` Luc Teirlinck
2005-02-21 23:42         ` David Kastrup
2005-02-22  0:00           ` Drew Adams
2005-02-21 23:07       ` Luc Teirlinck
2005-02-22  0:44       ` Jason Rumney
2005-02-22  1:26         ` David Kastrup
2005-02-21 23:06     ` Drew Adams
2005-02-21 21:45 ` Lennart Borgman
2005-02-21 21:46 ` David Kastrup
2005-02-21 22:46   ` Kim F. Storm [this message]
2005-02-21 23:22     ` Luc Teirlinck
2005-02-22 18:11 ` Richard Stallman
2005-02-25  6:51   ` Nick Roberts
2005-02-25  9:46     ` David Kastrup
2005-02-25 11:12       ` Kim F. Storm
2005-02-25 12:55         ` Stefan Monnier
2005-02-25 13:25           ` Lennart Borgman
2005-02-25 13:40             ` Kim F. Storm
2005-02-25 14:20             ` Andreas Schwab
2005-02-25 13:37           ` Kim F. Storm
2005-02-25 14:10             ` David Kastrup
2005-02-26 13:53               ` Reiner Steib
2005-02-27  0:32               ` Richard Stallman
2005-02-25 16:33             ` Stefan Monnier
2005-02-25 16:47               ` David Kastrup
2005-02-25 16:59                 ` Stefan Monnier
2005-02-25 23:05                 ` Lennart Borgman
2005-02-25 16:37             ` Drew Adams
2005-02-25 18:09               ` David Kastrup
2005-02-25 19:44                 ` Drew Adams
2005-02-25 20:07                   ` Stefan Monnier
2005-02-25 20:32                     ` David Kastrup
2005-02-25 20:53                     ` Drew Adams
2005-02-25 20:27                   ` David Kastrup
2005-02-25 21:24                     ` Robert J. Chassell
2005-02-25 23:34                     ` Drew Adams
2005-02-26  0:44                       ` David Kastrup
2005-02-26  1:18                         ` Drew Adams
2005-02-25 23:35         ` Kim F. Storm
2005-02-26  2:28           ` Stefan Monnier
2005-02-26  2:50             ` David Kastrup
2005-02-26  3:32               ` Stefan Monnier
2005-02-26 22:24             ` Kim F. Storm
2005-02-27  2:00               ` Stefan Monnier
2005-02-27  8:26                 ` Lennart Borgman
2005-02-27 21:46                   ` Stefan Monnier
2005-02-27 22:09                     ` Kim F. Storm
2005-02-28  1:03                     ` Nick Roberts
2005-02-25 22:53       ` Richard Stallman
2005-02-26  0:16         ` David Kastrup
2005-02-26 22:44           ` Kim F. Storm
2005-02-25 22:52     ` Richard Stallman

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=m3zmxxbkfs.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /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).