From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [acm@muc.de: C-u fails.] Date: Mon, 10 Mar 2003 15:01:38 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047326534 7464 80.91.224.249 (10 Mar 2003 20:02:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2003 20:02:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 10 21:02:09 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18sTTN-0001vw-00 for ; Mon, 10 Mar 2003 21:02:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18sTpm-0006TP-00 for ; Mon, 10 Mar 2003 21:25:18 +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 18sTTJ-0008Pj-09 for emacs-devel@quimby.gnus.org; Mon, 10 Mar 2003 15:02:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18sTSy-0008M0-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 15:01:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18sTSu-0008I0-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 15:01:42 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sTSu-0008HZ-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 15:01:40 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18sTSs-0007Bw-00; Mon, 10 Mar 2003 15:01:38 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12247 Could someone please tackle this problem? ------- Start of forwarded message ------- Date: Thu, 6 Mar 2003 21:28:11 +0000 (GMT) From: Alan Mackenzie X-Sender: root@acm.acm To: bug-gnu-emacs@gnu.org Subject: C-u 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 -------