[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: *Buffer List* column headers don't sort unless selec
From: |
Richard Stallman |
Subject: |
Re: address@hidden: *Buffer List* column headers don't sort unless select buffer first] |
Date: |
Fri, 29 Oct 2004 00:32:54 -0400 |
A key sequence that starts with a mouse event is read using the keymaps
of the buffer in the window that the mouse was in, not the current
buffer. This does not imply that clicking in a window selects that
window or its buffer---that is entirely under the control of the command
binding of the key sequence.
Many others don't work right. For example when you hover over a previous
comint input, it says that mouse-2 will copy it down. But when you do, the
key binding comes from the active window, with normally the result of
pasting
into the middle of the old input instead.
Please try this patch:
*** comint.el 17 Oct 2004 10:12:46 -0400 1.303
--- comint.el 28 Oct 2004 07:08:57 -0400
***************
*** 788,794 ****
(defun comint-insert-input (&optional event)
"In a Comint buffer, set the current input to the previous input at point."
! (interactive "@")
(if event (mouse-set-point event))
(let ((pos (point)))
(if (not (eq (get-char-property pos 'field) 'input))
--- 788,794 ----
(defun comint-insert-input (&optional event)
"In a Comint buffer, set the current input to the previous input at point."
! (interactive "e")
(if event (mouse-set-point event))
(let ((pos (point)))
(if (not (eq (get-char-property pos 'field) 'input))