From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: mouse-1-click-follows-link: doc, Options menu, customize groups Date: Fri, 6 May 2005 19:27:36 -0500 (CDT) Message-ID: <200505070027.j470RaS20875@raven.dms.auburn.edu> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115425382 17527 80.91.229.2 (7 May 2005 00:23:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 May 2005 00:23:02 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 07 02:22:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DUD5c-0000w8-P4 for ged-emacs-devel@m.gmane.org; Sat, 07 May 2005 02:22:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DUDDR-0007KY-Cw for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 20:30:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DUDCJ-0006a6-Qw for emacs-devel@gnu.org; Fri, 06 May 2005 20:29:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DUDCC-0006U2-GC for emacs-devel@gnu.org; Fri, 06 May 2005 20:29:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DUDCC-0006Rl-1L for emacs-devel@gnu.org; Fri, 06 May 2005 20:29:28 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DUDG7-0004rQ-KI; Fri, 06 May 2005 20:33:31 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j470Rvog001157; Fri, 6 May 2005 19:27:57 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j470RaS20875; Fri, 6 May 2005 19:27:36 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Fri, 06 May 2005 03:13:56 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36785 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 ============================================================