From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#5923: 23.1.95; minibuffer-message discards input events Date: Sat, 10 Apr 2010 09:52:20 -0700 Message-ID: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270918748 7525 80.91.229.12 (10 Apr 2010 16:59:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 16:59:08 +0000 (UTC) To: 5923@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 10 18:59:07 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O0e1S-0002yf-D6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Apr 2010 18:59:06 +0200 Original-Received: from localhost ([127.0.0.1]:57780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0e1R-0004fD-Sz for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Apr 2010 12:59:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0e1A-0004Ri-O6 for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:58:48 -0400 Original-Received: from [140.186.70.92] (port=37744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0e19-0004QK-E9 for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:58:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0e17-0003sq-Pk for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:58:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34727) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0e17-0003sl-HY for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:58:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O0dxW-0002c9-2r; Sat, 10 Apr 2010 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2010 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5923 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.127091846310038 (code B ref -1); Sat, 10 Apr 2010 16:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2010 16:54:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0dwt-0002br-0B for submit@debbugs.gnu.org; Sat, 10 Apr 2010 12:54:23 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0dwr-0002bm-CW for submit@debbugs.gnu.org; Sat, 10 Apr 2010 12:54:22 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:46315) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O0dwo-0003SG-K7 for submit@debbugs.gnu.org; Sat, 10 Apr 2010 12:54:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0dwn-0002gc-TL for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:54:17 -0400 Original-Received: from [140.186.70.92] (port=50182 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0dwk-0002gT-7e for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:54:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0dwi-0003HN-Se for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:54:14 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:38492) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0dwi-0003Gn-Lh for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 12:54:12 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3AGs8nt025784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 10 Apr 2010 16:54:09 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3AG1Ntf006757 for ; Sat, 10 Apr 2010 16:54:07 GMT Original-Received: from abhmt001.oracle.com by acsmt353.oracle.com with ESMTP id 151022491270918331; Sat, 10 Apr 2010 09:52:11 -0700 Original-Received: from dradamslap1 (/141.144.224.6) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 10 Apr 2010 09:52:11 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrYzi98Igto81j6TV6qAdWmt3EQoA== X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4BC0AD30.001F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 10 Apr 2010 12:55:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36162 Archived-At: Sorry, I don't have the time to try to track this down further. Suffice it to say that starting with Emacs 23 `minibuffer-message' discards input events during its `sit-for', that is while it displays its message. Dunno if this is a general `sit-for' bug or a `minibuffer-message' bug. In effect, the `sit-for' is not interrupted by an input event - it acts like `sleep-for'. Starting with Emacs 23, `minibuffer-message' is coded differently (in Lisp, not C); dunno about `sit-for'. In my application, I have a key, `C-RET', bound in the minibuffer completion maps. It performs an action, and the behavior of that action can change if you give it a prefix arg: `C-u C-RET'. When you give a prefix arg in this context, I call `minibuffer-message' to echo `[prefix (4)]' (or whatever current-prefix-arg is). Prior to Emacs 23, a user can hit `C-RET' after `C-u' and while `[prefix (4)]' is displayed, and the `sit-for' is interrupted and the action is executed immediately. Starting with Emacs 23, the `C-RET' is ignored. A `C-RET' doesn't take effect until the `sit-for' timeout is finished (as if it were `sleep-for'). I hope this is enough info for you to find and fix the bug. I don't have time to try to track this down further. In GNU Emacs 23.1.95.1 (i386-mingw-nt5.1.2600) of 2010-04-03 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/imagesupport/include'