* C-u <scroll-bar-event> fails.
@ 2003-03-06 21:28 Alan Mackenzie
0 siblings, 0 replies; only message in thread
From: Alan Mackenzie @ 2003-03-06 21:28 UTC (permalink / raw)
Emacs "21.1" under X (KDE or Ratpoison window managers)
Emacs 21.2 under Microsoft Windows 2000
Enable the vertical scroll-bar with M-x scroll-bar-mode
Enter C-u (or any other prefix-arg thingy) followed by a mouse-click in
the scroll-bar (in, say, the above-handle area). I would expect the
prefix arg to be ignored and the window to be scrolled (almost) a
screenful.
Instead, Emacs bleeps, displaying (under X) "vertical-scroll-bar mouse-1"
very briefly in the echo-area. The window DOESN'T get scrolled.
CONJECTURE: In the function universal-argument-other-key (in simple.el),
the key-sequence is pushed onto unread-command-events unchanged.
In an analogous situation in isearch-other-meta-char (in isearch.el),
pseudo keypresses such as 'vertical-scroll-bar are removed from the
key-sequence when the latter is pushed back onto unread-command-events.
This works, in that clicking in the scroll bar both exits the search and
scrolls.
It could well be that universal-argument-other-key ought to discard the
likes of 'vertical-scroll-bar too. (I have tried amending this function
along these lines, but failed to get it to work.)
--
Alan Mackenzie (Munich, Germany)
acm@muc.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-06 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-06 21:28 C-u <scroll-bar-event> fails Alan Mackenzie
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).