From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: C-u fails. Date: Thu, 6 Mar 2003 21:28:11 +0000 (GMT) Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1046988750 18848 80.91.224.249 (6 Mar 2003 22:12:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2003 22:12:30 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 06 23:12:28 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18r3bI-0004to-00 for ; Thu, 06 Mar 2003 23:12:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18r3Ym-00023P-06 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 06 Mar 2003 17:09:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18r3YO-0001qI-00 for bug-gnu-emacs@gnu.org; Thu, 06 Mar 2003 17:09:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18r3Vq-00010P-00 for bug-gnu-emacs@gnu.org; Thu, 06 Mar 2003 17:06:50 -0500 Original-Received: from acm.muc.de ([193.149.49.134] helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18r3SZ-000731-00 for bug-gnu-emacs@gnu.org; Thu, 06 Mar 2003 17:03:28 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id VAA00438 for ; Thu, 6 Mar 2003 21:28:12 GMT X-Sender: root@acm.acm Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4577 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4577 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