unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [acm@muc.de: C-u <scroll-bar-event> fails.]
@ 2003-03-10 20:01 Richard Stallman
  0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2003-03-10 20:01 UTC (permalink / raw)


Could someone please tackle this problem?

------- Start of forwarded message -------
Date: Thu, 6 Mar 2003 21:28:11 +0000 (GMT)
From: Alan Mackenzie <acm@muc.de>
X-Sender: root@acm.acm
To: bug-gnu-emacs@gnu.org
Subject: C-u <scroll-bar-event> fails.
Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org

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




_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-10 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 20:01 [acm@muc.de: C-u <scroll-bar-event> fails.] Richard Stallman

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).