From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dan@telent.net Newsgroups: gmane.emacs.bugs Subject: y-or-n-p, emacs -l, wristwatch cursor Date: 16 Apr 2003 17:15:10 +0000 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87d6jmfjoh.fsf@oralce.telent.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050513355 1207 80.91.224.249 (16 Apr 2003 17:15:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 17:15:55 +0000 (UTC) Cc: dan@telent.net Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 19:15:52 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 195qVk-0000J3-00 for ; Wed, 16 Apr 2003 19:15:52 +0200 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 195qVl-0001YK-05 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 13:15:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195qVQ-0000kt-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 13:15:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195qVE-0008LD-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 13:15:23 -0400 Original-Received: from pc2-oxfd3-6-cust118.oxfd.cable.ntl.com ([81.103.195.118] helo=oralce.telent.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195qV8-0007v7-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 13:15:14 -0400 Original-Received: from dan by oralce.telent.net with local (Exim 3.36 #1 (Debian)) id 195qV4-00051P-00; Wed, 16 Apr 2003 17:15:10 +0000 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 76 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:4816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4816 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. 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: nil 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: I have a file foo.el, containing the single line (y-or-n-p "hello") I start emacs and load this file with the command emacs --no-site-file -q -l foo.el and am prompted in the echo area/minibuffer with "hello(y or n) ". After pressing one of 'y' or 'n', the text cursor starts flashing and then the mouse pointer changes into the wristwatch-shaped 'wait' cursor, and stays like that until I press C-g. While the wait pointer is active, the menus and toolbars do nothing when clicked on. I do not see this behaviour if I replace the contents of foo.el with (let ((last-nonmenu-event nil)) (y-or-n-p "foo")) and repeat, but that involves popup dialog boxes, which I wish to avoid for other reasons. Any ideas? Recent input: M-x e m a c s - v C-a C-k C-k C-a C-x C-s C-h i C-x 1 u u SPC SPC SPC C-x 5 2 M-x r e p o r t - e m a c s - b u g Recent messages: Wrote /home/dan/src/circle/circle/upstream/circle/circle.el .emacs changed on disk; really edit the buffer? (y, n, r or C-h) byte-code: File reverted: /home/dan/.emacs Mark set Wrote /home/dan/.emacs Wrote /home/dan/src/circle/circle/upstream/circle/circle.el [2 times] Making completion list... GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-22 on raven, modified by Debian Wrote /home/dan/src/circle/circle/upstream/circle/circle.el Loading emacsbug...done