From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5923: 23.1.95; minibuffer-message discards input events Date: Sat, 24 Jul 2010 00:26:19 +0200 Message-ID: References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279924663 15830 80.91.229.12 (23 Jul 2010 22:37:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 22:37:43 +0000 (UTC) Cc: 5923@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 24 00:37:42 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 1OcQs8-0002e7-Bp for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 00:37:41 +0200 Original-Received: from localhost ([127.0.0.1]:41624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcQs4-0003pM-DY for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jul 2010 18:37:36 -0400 Original-Received: from [140.186.70.92] (port=52550 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcQrw-0003o9-33 for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 18:37:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcQru-0002Jx-3x for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 18:37:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45513) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQru-0002Js-2L for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 18:37:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcQhp-0007uq-Jx; Fri, 23 Jul 2010 18:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2010 22:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5923 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5923-submit@debbugs.gnu.org id=B5923.127992399130417 (code B ref 5923); Fri, 23 Jul 2010 22:27:01 +0000 Original-Received: (at 5923) by debbugs.gnu.org; 23 Jul 2010 22:26:31 +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 1OcQhK-0007uY-OS for submit@debbugs.gnu.org; Fri, 23 Jul 2010 18:26:30 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQhI-0007uT-HD for 5923@debbugs.gnu.org; Fri, 23 Jul 2010 18:26:29 -0400 Original-Received: from ceviche.home (vpn-132-204-232-95.acd.umontreal.ca [132.204.232.95]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o6NMQO8n027943; Fri, 23 Jul 2010 18:26:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B935D660D2; Sat, 24 Jul 2010 00:26:19 +0200 (CEST) In-Reply-To: <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> (Drew Adams's message of "Tue, 20 Apr 2010 17:05:26 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3585=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 23 Jul 2010 18:27:01 -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:38852 Archived-At: >> Actually, the problem is here in `sit-for': >> >> (let ((read (read-event nil nil seconds))) >> (or (null read) >> (progn >> (if (eq overriding-terminal-local-map >> universal-argument-map) >> (setq read (cons t read))) >> (push read unread-command-events) >> nil)))))) >> >> Since the value of `overriding-terminal-local-map' is not >> `universal-argument-map' in my case, it fails to treat any >> input received properly. > However, something else must be going on also, because the sit-for code is > identical for Emacs 22, and I don't see the bug in Emacs 22. Thank you for your efforts digging into this bug. I must say I know even less than you do about those parts of the code. It's clearly too intricate for its own good, but I don't know how to streamline it. Stefan