From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: D. Goel Newsgroups: gmane.emacs.bugs Subject: unread-command-events always nil? Date: 28 Sep 2002 02:18:25 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87y99meixa.fsf@computer.localdomain> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033193944 27459 127.0.0.1 (28 Sep 2002 06:19:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 28 Sep 2002 06:19:04 +0000 (UTC) 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 17vAwR-00078i-00 for ; Sat, 28 Sep 2002 08:19:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17vAwd-0007lU-00; Sat, 28 Sep 2002 02:19:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17vAvz-0007gA-00 for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2002 02:18:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17vAvq-0007eS-00 for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2002 02:18:35 -0400 Original-Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by monty-python.gnu.org with esmtp (Exim 4.10) id 17vAvq-0007eO-00 for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2002 02:18:26 -0400 Original-Received: from deego by computer with local (Exim 3.35 #1 (Debian)) id 17vAvp-0001WH-00 for ; Sat, 28 Sep 2002 02:18:25 -0400 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 63 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3599 unread-command-events always seems to be nil[1], both in emacs21.2 as well as in CVS. [1] Or am I confused using a wrong variable for trying to access the pending events? If so, what is the right one to use? As an example, please look at this code below (in emacs -q -no-site-file), Go to end, press C-x C-e, and then press some keystrokes (rapidly). Wait 6 seconds, for emacs to output the 2 lines unread-command-events. Both of them have their first field as nil (though there were clearly inputs pending when they were outputted..). (progn (discard-input) (sleep-for 3) (insert (format "%S,%S,%S" unread-command-events last-input-event (input-pending-p))) (sleep-for 3) (insert (format "\n%s,%S,%S" unread-command-events last-input-event (input-pending-p)))) In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-22 on raven, modified by Debian configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Recent input: M-x g n u s M-x r e p o r t - e m a c s - b u g Recent messages: Opening nnfolder server on DEEGO... No new newsgroups Checking new news... Opening nnfolder server on archive... Opening nndraft server... Checking new news...done Loading emacsbug...done