emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: mouse-yank-at-point in Comint modes]


From: Johan Bockgård
Subject: Re: address@hidden: Re: mouse-yank-at-point in Comint modes]
Date: Mon, 29 Jan 2007 15:48:49 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux)

Chong Yidong <address@hidden> writes:

> I've checked in a fix into CVS.

Good, but is this the correct thing to do when
mouse-yank-at-point is nil?:

   +  ;; Fall back to the global definition if (i) the selected
   +  ;; buffer is not a comint buffer (which can happen if a
   +  ;; non-comint window was selected and we clicked in a comint
   +  ;; window) [...]

Shouldn't the binding be looked up where you click in this case?



Btw, the manual's description of what effect mouse-yank-at-point
is supposed to have is confused:


(info "(emacs)Secondary Selection")

   If `mouse-yank-at-point' is non-`nil', `M-Mouse-2' yanks at point.
   Then it does not matter precisely where you click; ALL THAT MATTERS
   IS WHICH WINDOW YOU CLICK ON.


(info "(emacs)Mouse Commands")

   if `mouse-yank-at-point' is non-`nil', `Mouse-2' yanks at point.
   Then it does not matter where you click, OR EVEN WHICH OF THE
   FRAME'S WINDOWS YOU CLICK ON. The default value is `nil'. This
   variable also affects yanking the secondary selection.

-- 
Johan Bockgård





reply via email to

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