emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/etc/NEWS


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/etc/NEWS
Date: Fri, 17 Dec 2004 10:27:00 -0500

Index: emacs/etc/NEWS
diff -c emacs/etc/NEWS:1.1086 emacs/etc/NEWS:1.1087
*** emacs/etc/NEWS:1.1086       Wed Dec 15 10:14:05 2004
--- emacs/etc/NEWS      Fri Dec 17 15:15:57 2004
***************
*** 98,103 ****
--- 98,132 ----
  
  * Changes in Emacs 21.4
  
+ ** You can now follow links by clicking mouse-1 on the link.
+ 
+ Traditionally, Emacs uses a mouse-1 click to set point and a mouse-2
+ 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.  With release 21.4, the behaviour of a mouse-1 click
+ has been changed to match this context-sentitive dual behaviour.
+ 
+ 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 behaviour is only
+ activated for modes which explicitly mark a clickable text as a "link"
+ (see the new function `mouse-on-link-p' for details).  The lisp
+ packages that are included in release 21.4 have been adapted to do
+ this, but external packages may not yet support this.  However, there
+ is no risk in using such packages, as the worst thing that could
+ happen is that you get the original mouse-1 behaviour when you click
+ on a link, which typically means that you set point where you click.
+ 
+ If you want to get the original mouse-1 action also inside a link, you
+ just need to press the mouse-1 button a little longer than a normal
+ click (i.e. press and hold the mouse-1 button for half a second before
+ you release it).
+ 
+ Dragging the mouse-1 inside a link still performs the original
+ drag-mouse-1 action, typically copy the text.
+ 
+ You can customize the new mouse-1 behaviour via the new user option
+ `mouse-1-click-follows-link'.
+ 
  ** line-move-ignore-invisible now defaults to t.
  
  ** In Outline mode, hide-body no longer hides lines at the top
***************
*** 2372,2377 ****
--- 2401,2410 ----
  
  * Lisp Changes in Emacs 21.4
  
+ ** Lisp code can now test if a given buffer position is inside a
+ clickable link with the new function `mouse-on-link-p'.  This is the
+ function used by the new `mouse-1-click-follows-link' functionality.
+ 
  ** (while-no-input BODY...) runs BODY, but only so long as no input
  arrives.  If the user types or clicks anything, BODY stops as if a
  quit had occurred.  while-no-input returns the value of BODY, if BODY




reply via email to

[Prev in Thread] Current Thread [Next in Thread]