unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: mouse-1-click-follows-link: doc, Options menu, customize groups
Date: Fri, 6 May 2005 19:27:36 -0500 (CDT)	[thread overview]
Message-ID: <200505070027.j470RaS20875@raven.dms.auburn.edu> (raw)
In-Reply-To: <E1DTx24-0006un-DZ@fencepost.gnu.org> (message from Richard Stallman on Fri, 06 May 2005 03:13:56 -0400)

Richard Stallman wrote:

	- Shouldn't this option be described in the Emacs manual?

   It is.

But in a not very clear way.  It says: "The variable
@code{mouse-1-click-follows-link} controls whether @kbd{Mouse-1} has
this behavior." after talking about all kinds of details, short clicks
vs long clicks, dragging and such.  Thus, it is not at all clear _which_
behavior is meant with "this behavior".  The NEWS is equally unclear.

It is also good to mention (in the Emacs manual) that mouse-2 is the
pre-22 behavior, for people who have to use more than one Emacs version.

What about the following patches to man/frames.texi and the NEWS,
which I can install if desired.

===File ~/man-frames.texi-diff==============================
*** frames.texi	25 Apr 2005 19:43:56 -0500	1.81
--- frames.texi	06 May 2005 18:18:07 -0500	
***************
*** 319,334 ****
  @kbd{Mouse-2} on a completion in the @samp{*Completions*} buffer, you
  choose that completion.
  
- @vindex mouse-1-click-follows-link
    However, most applications use @kbd{Mouse-1} to do this sort of
  thing, so Emacs implements this too.  If you click @kbd{Mouse-1}
  quickly on a reference or button, it follows or activates.  If you
  click slowly, it moves point as usual.  Dragging, meaning moving the
  mouse while it is held down, also has its usual behavior of setting
! the region.  The variable @code{mouse-1-click-follows-link} controls
! whether @kbd{Mouse-1} has this behavior.
  
! @vindex mouse-1-click-follows-link
    Normally, the @kbd{Mouse-1} click behavior is performed on links in
  any window.  The variable @code{mouse-1-click-in-non-selected-windows}
  controls whether @kbd{Mouse-1} has this behavior even in non-selected
--- 319,332 ----
  @kbd{Mouse-2} on a completion in the @samp{*Completions*} buffer, you
  choose that completion.
  
    However, most applications use @kbd{Mouse-1} to do this sort of
  thing, so Emacs implements this too.  If you click @kbd{Mouse-1}
  quickly on a reference or button, it follows or activates.  If you
  click slowly, it moves point as usual.  Dragging, meaning moving the
  mouse while it is held down, also has its usual behavior of setting
! the region.
  
! @vindex mouse-1-click-in-non-selected-windows
    Normally, the @kbd{Mouse-1} click behavior is performed on links in
  any window.  The variable @code{mouse-1-click-in-non-selected-windows}
  controls whether @kbd{Mouse-1} has this behavior even in non-selected
***************
*** 342,347 ****
--- 340,353 ----
  where the mouse already is), never, or only immediately after you move
  the mouse.
  
+ @vindex mouse-1-click-follows-link
+   In Emacs versions before 22, only @kbd{Mouse-2} follows links and
+ @kbd{Mouse-1} always sets points.  If you prefer this behavior, set
+ the variable @code{mouse-1-click-follows-link} to @code{nil}.  This
+ variable also lets you choose various other alternatives for following
+ links with the mouse.  Type @kbd{C-h v mouse-1-click-follows-link @key{RET}}
+ for more details.
+ 
  @node Menu Mouse Clicks
  @section Mouse Clicks for Menus
  
============================================================

===File ~/NEWS-diff=========================================
*** NEWS	05 May 2005 15:30:28 -0500	1.1179
--- NEWS	06 May 2005 18:34:56 -0500	
***************
*** 719,725 ****
  click to follow a link, whereas most other applications use a Mouse-1
  click for both purposes, depending on whether you click outside or
  inside a link.  Now the behavior of a Mouse-1 click has been changed
! to match this context-sentitive dual behavior.
  
  Depending on the current mode, a Mouse-2 click in Emacs may do much
  more than just follow a link, so the new Mouse-1 behavior is only
--- 719,726 ----
  click to follow a link, whereas most other applications use a Mouse-1
  click for both purposes, depending on whether you click outside or
  inside a link.  Now the behavior of a Mouse-1 click has been changed
! to match this context-sentitive dual behavior.  (If you prefer the old
! behavior, set the user option `mouse-1-click-follows-link' to nil.)
  
  Depending on the current mode, a Mouse-2 click in Emacs may do much
  more than just follow a link, so the new Mouse-1 behavior is only
============================================================

  reply	other threads:[~2005-05-07  0:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 20:16 mouse-1-click-follows-link: doc, Options menu, customize groups Drew Adams
2005-05-06  7:13 ` Richard Stallman
2005-05-07  0:27   ` Luc Teirlinck [this message]
2005-05-07 18:36     ` Richard Stallman
2005-05-06 17:11 ` Kevin Rodgers

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=200505070027.j470RaS20875@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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 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).