From: Alan Mackenzie <acm@muc.de>
Subject: C-u <scroll-bar-event> fails.
Date: Thu, 6 Mar 2003 21:28:11 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.3.96.1030306210331.178A-100000@acm.acm> (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
reply other threads:[~2003-03-06 21:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.96.1030306210331.178A-100000@acm.acm \
--to=acm@muc.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).