From unknown Sun Jun 22 22:41:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5923 <5923@debbugs.gnu.org> To: bug#5923 <5923@debbugs.gnu.org> Subject: Status: 23.1.95; minibuffer-message discards input events Reply-To: bug#5923 <5923@debbugs.gnu.org> Date: Mon, 23 Jun 2025 05:41:23 +0000 retitle 5923 23.1.95; minibuffer-message discards input events reassign 5923 emacs submitter 5923 "Drew Adams" severity 5923 normal tag 5923 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 10 12:54:23 2010 Received: (at submit) by debbugs.gnu.org; 10 Apr 2010 16:54:23 +0000 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 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 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.0 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 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 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 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 Received: from abhmt001.oracle.com by acsmt353.oracle.com with ESMTP id 151022491270918331; Sat, 10 Apr 2010 09:52:11 -0700 Received: from dradamslap1 (/141.144.224.6) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 10 Apr 2010 09:52:11 -0700 From: "Drew Adams" To: Subject: 23.1.95; minibuffer-message discards input events Date: Sat, 10 Apr 2010 09:52:20 -0700 Message-ID: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) 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' From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 10 15:15:25 2010 Received: (at 5923) by debbugs.gnu.org; 10 Apr 2010 19:15:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0g9N-0003Zt-2z for submit@debbugs.gnu.org; Sat, 10 Apr 2010 15:15:25 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0g9L-0003Zo-OF for 5923@debbugs.gnu.org; Sat, 10 Apr 2010 15:15:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAItrwEtMCqWu/2dsb2JhbACbRXK5LYUMBItG X-IronPort-AV: E=Sophos;i="4.52,182,1270440000"; d="scan'208";a="60599782" Received: from 76-10-165-174.dsl.teksavvy.com (HELO pastel.home) ([76.10.165.174]) by ironport2-out.pppoe.ca with ESMTP; 10 Apr 2010 15:15:21 -0400 Received: by pastel.home (Postfix, from userid 20848) id B92387F1B; Sat, 10 Apr 2010 15:15:21 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events Message-ID: References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> Date: Sat, 10 Apr 2010 15:15:21 -0400 In-Reply-To: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> (Drew Adams's message of "Sat, 10 Apr 2010 09:52:20 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > 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 can't reproduce exactly your test case because I don't know what code is run by your C-u (and because I'm on GNU/Linux, ...), but at least when I start "emacs23 -Q" and do C-x C-f TAB TAB, the first tab outputs a minibuffer-message but the second TAB is executed immediately (interrupts the minibuffer-message). So I don't see that problematic behavior you're seeing. Can you check whether my test case works for you as well? Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 10 16:00:50 2010 Received: (at 5923) by debbugs.gnu.org; 10 Apr 2010 20:00:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0grK-000423-1q for submit@debbugs.gnu.org; Sat, 10 Apr 2010 16:00:50 -0400 Received: from acsinet12.oracle.com ([141.146.126.234]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0grH-00041y-Bt for 5923@debbugs.gnu.org; Sat, 10 Apr 2010 16:00:48 -0400 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3AK0h3C021882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 10 Apr 2010 20:00:44 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3AIrlaB001045; Sat, 10 Apr 2010 20:00:42 GMT Received: from abhmt017.oracle.com by acsmt354.oracle.com with ESMTP id 151124211270929579; Sat, 10 Apr 2010 12:59:39 -0700 Received: from dradamslap1 (/141.144.224.6) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 10 Apr 2010 12:59:39 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Sat, 10 Apr 2010 12:59:48 -0700 Message-ID: <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0049_01CAD8AD.B4247370" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrY4iw+Fucd0mIKSEOT+jf+V5mF7gAATd6g X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4BC0D8EA.01DB:SCFMA4539814,ss=1,fgs=0 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.7 (-----) This is a multi-part message in MIME format. ------=_NextPart_000_0049_01CAD8AD.B4247370 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > 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 can't reproduce exactly your test case because I don't know > what code is run by your C-u (and because I'm on GNU/Linux, > ...), but at least when I start "emacs23 -Q" and do C-x C-f > TAB TAB, the first tab outputs a minibuffer-message but the > second TAB is executed immediately (interrupts the > minibuffer-message). So I don't see that problematic > behavior you're seeing. > > Can you check whether my test case works for you as well? I confirm that your test case works for me also. The second tab has its effect - it is not lost. [However, the minibuffer message remains displayed for the full timeout period. That seems wrong - why not stop displaying the msg as soon as the tab event arrives? Unless `Complete but not unique' is perhaps redisplayed by another call or something? IOW, after the second tab, *Completions* is shown, indicating that the tab did take effect, and the message `Complete but not unique' is briefly removed - replaced by the message `Making completion list...'. But the `Complete but not unique' message then reappears for the duration of the `minibuffer-message' timeout. Is this the behavior you see also? Anyway, this is not the problematic behavior I get with my code, and which this bug report is about.] Attached is the code I use for `C-u' in the minibuffer. I hope it helps. I should have mentioned that the same problem occurs when I use `C-u' in the minibuffer at any time, not just in the scenario where I follow it by `C-RET'. IOW, it has nothing to do with the particular user event that follows. And as I said, in Emacs 22 and before there is no such problem: any user event immediately interrupts the message display and its timeout, and no such event is lost (so you don't need to hit the key multiple times). ------=_NextPart_000_0049_01CAD8AD.B4247370 Content-Type: application/octet-stream; name="bug-5923-emacs.el" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bug-5923-emacs.el" (defvar icicle-universal-argument-map=0A= (let ((map (make-sparse-keymap)))=0A= (define-key map [t] 'icicle-universal-argument-other-key)=0A= (define-key map (vector meta-prefix-char t) = 'icicle-universal-argument-other-key)=0A= (define-key map [switch-frame] nil)=0A= (define-key map [?\C-u] 'icicle-universal-argument-more)=0A= (define-key map [?-] 'icicle-universal-argument-minus)=0A= (define-key map [?0] 'icicle-digit-argument)=0A= (define-key map [?1] 'icicle-digit-argument)=0A= (define-key map [?2] 'icicle-digit-argument)=0A= (define-key map [?3] 'icicle-digit-argument)=0A= (define-key map [?4] 'icicle-digit-argument)=0A= (define-key map [?5] 'icicle-digit-argument)=0A= (define-key map [?6] 'icicle-digit-argument)=0A= (define-key map [?7] 'icicle-digit-argument)=0A= (define-key map [?8] 'icicle-digit-argument)=0A= (define-key map [?9] 'icicle-digit-argument)=0A= (define-key map [kp-0] 'icicle-digit-argument)=0A= (define-key map [kp-1] 'icicle-digit-argument)=0A= (define-key map [kp-2] 'icicle-digit-argument)=0A= (define-key map [kp-3] 'icicle-digit-argument)=0A= (define-key map [kp-4] 'icicle-digit-argument)=0A= (define-key map [kp-5] 'icicle-digit-argument)=0A= (define-key map [kp-6] 'icicle-digit-argument)=0A= (define-key map [kp-7] 'icicle-digit-argument)=0A= (define-key map [kp-8] 'icicle-digit-argument)=0A= (define-key map [kp-9] 'icicle-digit-argument)=0A= (define-key map [kp-subtract] 'icicle-universal-argument-minus)=0A= map)=0A= "Keymap used while processing `C-u' during Icicles completion.")=0A= =0A= (defun icicle-universal-argument () ; Bound to `C-u' in minibuffer.=0A= "`universal-argument', but also echo the prefix."=0A= (interactive)=0A= (setq prefix-arg (list 4)=0A= universal-argument-num-events (length (this-command-keys)))=0A= (icicle-ensure-overriding-map-is-bound)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= ;; Bound to `C-<0-9>', `M-<0-9>', `C-M-<0-9>' in minibuffer.=0A= (defun icicle-digit-argument (arg)=0A= "`digit-argument', but also echo the prefix."=0A= (interactive "P")=0A= (let* ((char (if (integerp last-command-char)=0A= last-command-char=0A= (get last-command-char 'ascii-character)))=0A= (digit (- (logand char ?\177) ?0)))=0A= (cond ((integerp arg)=0A= (setq prefix-arg (+ (* arg 10) (if (< arg 0) (- digit) = digit))))=0A= ((eq arg '-)=0A= ;; Treat -0 as just -, so that -01 will work.=0A= (setq prefix-arg (if (zerop digit) '- (- digit))))=0A= (t=0A= (setq prefix-arg digit))))=0A= (setq universal-argument-num-events (length (this-command-keys)))=0A= (icicle-ensure-overriding-map-is-bound)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-negative-argument (arg) ; Bound to `M--', `C-M--' in = minibuffer.=0A= "`negative-argument', but also echo the prefix."=0A= (interactive "P")=0A= (cond ((integerp arg) (setq prefix-arg (- arg)))=0A= ((eq arg '-) (setq prefix-arg nil))=0A= (t (setq prefix-arg '-)))=0A= (setq universal-argument-num-events (length (this-command-keys)))=0A= (icicle-ensure-overriding-map-is-bound)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-universal-argument-more (arg)=0A= "`universal-argument-more', but also echo the prefix."=0A= (interactive "P")=0A= (universal-argument-more arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-universal-argument-other-key (arg)=0A= "`universal-argument-other-key', but also echo the prefix."=0A= (interactive "P")=0A= (universal-argument-other-key arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-universal-argument-minus (arg)=0A= "`universal-argument-minus', but also echo the prefix."=0A= (interactive "P")=0A= (universal-argument-minus arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-ensure-overriding-map-is-bound ()=0A= "Set `overriding-terminal-local-map' to = `icicle-universal-argument-map'."=0A= (if (not (boundp 'overriding-map-is-bound)) ; Emacs 20, 21.=0A= (setq overriding-terminal-local-map icicle-universal-argument-map)=0A= (unless overriding-map-is-bound ; Emacs 22+.=0A= (setq saved-overriding-map overriding-terminal-local-map=0A= overriding-terminal-local-map icicle-universal-argument-map=0A= overriding-map-is-bound t))))=0A= =0A= (defun icicle-msg-maybe-in-minibuffer (format-string &rest args)=0A= "Display FORMAT-STRING as a message.=0A= If called with the minibuffer inactive, use `message'.=0A= Otherwise:=0A= If `icicle-minibuffer-message-ok-p', then use `minibuffer-message'.=0A= Else do nothing (no message display)."=0A= (if (active-minibuffer-window)=0A= (when icicle-minibuffer-message-ok-p=0A= (save-selected-window=0A= (select-window (minibuffer-window))=0A= (minibuffer-message (apply #'format (concat " [" = format-string "]") args))))=0A= (apply #'message format-string args)))=0A= ------=_NextPart_000_0049_01CAD8AD.B4247370-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 13 22:19:10 2010 Received: (at 5923) by debbugs.gnu.org; 14 Apr 2010 02:19:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1sC6-0002re-FO for submit@debbugs.gnu.org; Tue, 13 Apr 2010 22:19:10 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1sC5-0002rY-9r for 5923@debbugs.gnu.org; Tue, 13 Apr 2010 22:19:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHvCxEtMCpxH/2dsb2JhbACbUXK9MoUNBItR X-IronPort-AV: E=Sophos;i="4.52,201,1270440000"; d="scan'208";a="60819232" Received: from 76-10-156-71.dsl.teksavvy.com (HELO ceviche.home) ([76.10.156.71]) by ironport2-out.pppoe.ca with ESMTP; 13 Apr 2010 22:19:05 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 2171C660BF; Tue, 13 Apr 2010 22:19:05 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events Message-ID: References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> Date: Tue, 13 Apr 2010 22:19:05 -0400 In-Reply-To: <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> (Drew Adams's message of "Sat, 10 Apr 2010 12:59:48 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) > Attached is the code I use for `C-u' in the minibuffer. I hope it helps. It does. But to tell you the truth the handling of this-command-keys and universal-argument prefix is much too delicate for me to understand it, so I'm not surprised it doesn't work quite right if you mess with it in any non-trivial way. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 14 01:06:52 2010 Received: (at 5923) by debbugs.gnu.org; 14 Apr 2010 05:06:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1uoN-0003xC-TX for submit@debbugs.gnu.org; Wed, 14 Apr 2010 01:06:52 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1uoK-0003x5-Sy for 5923@debbugs.gnu.org; Wed, 14 Apr 2010 01:06:49 -0400 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 o3E56hvm019725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 14 Apr 2010 05:06:44 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3DNbqC7001578; Wed, 14 Apr 2010 05:06:42 GMT Received: from abhmt018.oracle.com by acsmt354.oracle.com with ESMTP id 158759281271221570; Tue, 13 Apr 2010 22:06:10 -0700 Received: from dradamslap1 (/141.144.233.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 Apr 2010 22:06:10 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Tue, 13 Apr 2010 22:06:10 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrbeN6P7ekC4+9VQH619MkvIjLwtAAFxw3w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4BC54D63.001C:SCFMA4539814,ss=1,fgs=0 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > Attached is the code I use for `C-u' in the minibuffer. I > > hope it helps. > > It does. > > But to tell you the truth the handling of this-command-keys and > universal-argument prefix is much too delicate for me to > understand it, so I'm not surprised it doesn't work quite right > if you mess with it in any non-trivial way. Compare Emacs 22 (and earlier), where there is no bug. The code was changed (C to Lisp, at least), and that introduced the regression. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 19 01:39:32 2010 Received: (at 5923) by debbugs.gnu.org; 19 Apr 2010 05:39:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3jhj-0002sU-QJ for submit@debbugs.gnu.org; Mon, 19 Apr 2010 01:39:31 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3jhi-0002sP-WB for 5923@debbugs.gnu.org; Mon, 19 Apr 2010 01:39:31 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3J5dOY0005073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Apr 2010 05:39:26 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3J5dL7P018507; Mon, 19 Apr 2010 05:39:21 GMT Received: from abhmt020.oracle.com by acsmt354.oracle.com with ESMTP id 169692061271655512; Sun, 18 Apr 2010 22:38:32 -0700 Received: from dradamslap1 (/10.175.221.180) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 18 Apr 2010 22:38:32 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Sun, 18 Apr 2010 22:38:51 -0700 Message-ID: <497D764814894831A571BD283D21B9DA@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrbeN6P7ekC4+9VQH619MkvIjLwtAAFxw3wAPw1QPA= In-Reply-To: X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090207.4BCBEC8E.017F:SCFMA922111,ss=1,fgs=0 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) > > > Attached is the code I use for `C-u' in the minibuffer. I > > > hope it helps. > > > > It does. > > > > But to tell you the truth the handling of this-command-keys and > > universal-argument prefix is much too delicate for me to > > understand it, so I'm not surprised it doesn't work quite right > > if you mess with it in any non-trivial way. > > Compare Emacs 22 (and earlier), where there is no bug. > > The code was changed (C to Lisp, at least), and that > introduced the regression. Also, the code I use is _identical_ to the original code in simple.el (Emacs 22 version), except that it also calls `minibuffer-message'. Is that really a "non-trivial" change? (And in Emacs 23, `last-command-event' is used instead of `last-command-char' - that is the only difference I can see from the Emacs 22 code.) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 19 02:10:50 2010 Received: (at 5923) by debbugs.gnu.org; 19 Apr 2010 06:10:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3kC1-00034p-1Z for submit@debbugs.gnu.org; Mon, 19 Apr 2010 02:10:49 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3kBz-00034j-L0 for 5923@debbugs.gnu.org; Mon, 19 Apr 2010 02:10:48 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3J6ASKX003633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Apr 2010 06:10:41 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3J5tn2D021981; Mon, 19 Apr 2010 06:10:27 GMT Received: from abhmt007.oracle.com by acsmt354.oracle.com with ESMTP id 169742081271657352; Sun, 18 Apr 2010 23:09:12 -0700 Received: from dradamslap1 (/10.175.221.180) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 18 Apr 2010 23:09:11 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Sun, 18 Apr 2010 23:09:31 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrbeN6P7ekC4+9VQH619MkvIjLwtAAFxw3wAPw1QPAAAXc+EA== In-Reply-To: <497D764814894831A571BD283D21B9DA@us.oracle.com> X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090206.4BCBF3E3.00B5:SCFMA922111,ss=1,fgs=0 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) > > > > Attached is the code I use for `C-u' in the minibuffer. I > > > > hope it helps. > > > > > > It does. > > > > > > But to tell you the truth the handling of this-command-keys and > > > universal-argument prefix is much too delicate for me to > > > understand it, so I'm not surprised it doesn't work quite right > > > if you mess with it in any non-trivial way. > > > > Compare Emacs 22 (and earlier), where there is no bug. > > > > The code was changed (C to Lisp, at least), and that > > introduced the regression. > > Also, the code I use is _identical_ to the original code in > simple.el (Emacs 22 > version), except that it also calls `minibuffer-message'. Is > that really a > "non-trivial" change? > > (And in Emacs 23, `last-command-event' is used instead of > `last-command-char' - that is the only difference I can see > from the Emacs 22 code.) And changing `last-command-char' in the code to `last-command-event', for Emacs 23, does not fix the problem. It seems that the problem was introduced in the translation from C to Lisp for the vanilla Emacs code for `minibuffer-message'. Here is enough of the rest of the code I use to let you execute it and reproduce the bug without doing anything extra: (defun icicle-remap (old new map &optional oldmap) (define-key map (vector 'remap old) new)) (icicle-remap 'universal-argument 'icicle-universal-argument ; `C-u' minibuffer-local-completion-map (current-global-map)) (icicle-remap 'negative-argument 'icicle-negative-argument ; `M--' minibuffer-local-completion-map (current-global-map)) (icicle-remap 'digit-argument 'icicle-digit-argument ; `C-9' minibuffer-local-completion-map (current-global-map)) (defvar icicle-minibuffer-message-ok-p t) Together with the code I sent before, this provides a full test case. It works in Emacs 22 and doesn't work in Emacs 23. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 12:18:44 2010 Received: (at 5923) by debbugs.gnu.org; 20 Apr 2010 16:18:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4G9s-0008E3-Bv for submit@debbugs.gnu.org; Tue, 20 Apr 2010 12:18:44 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4G9q-0008Dy-Uk for 5923@debbugs.gnu.org; Tue, 20 Apr 2010 12:18:43 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3KGIX1v032575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Apr 2010 16:18:35 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3KApG3j027526; Tue, 20 Apr 2010 16:18:32 GMT Received: from abhmt020.oracle.com by acsmt355.oracle.com with ESMTP id 174726751271780310; Tue, 20 Apr 2010 09:18:30 -0700 Received: from dradamslap1 (/141.144.112.155) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Apr 2010 09:18:29 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com><497D764814894831A571BD283D21B9DA@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Tue, 20 Apr 2010 09:18:28 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0066_01CAE06A.71A22F50" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrbeN6P7ekC4+9VQH619MkvIjLwtAAFxw3wAPw1QPAAAXc+EABGGmQw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090203.4BCDD3DC.0235:SCFMA922111,ss=1,fgs=0 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) This is a multi-part message in MIME format. ------=_NextPart_000_0066_01CAE06A.71A22F50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The problem appears to be with `sit-for', not with `minibuffer-message'. More specifically, the call to `input-pending-p' in `sit-for' does not act as it should. Dunno if `input-pending-p' is the problem generally, or just in this context. Attached is a small, simple, self-contained file that reproduces the problem. Just load it, then `M-x C-u sssss'. The `s' keystrokes are ignored while the `sit-for' delay is waited for. In all cases except `icicle-universal-argument', the original command is called, followed by a call to `message' and then `sit-for'. `icicle-universal-argument' is identical to `universal-argument' except: * It too calls `message' followed by `sit-for'. * It uses `icicle-ensure-overriding-map-is-bound', not `ensure-overriding-map-is-bound'. The difference is that the former sets `overriding-terminal-local-map' to `icicle-universal-argument-map', not `universal-argument-map'. The difference between those two maps is that the `icicle-*' commands are used in place of the originals (and each `icicle-*' command calls `message' followed by `sit-for'). So all of the changes from the vanilla Emacs code amount to the same trivial change: Add a call to `message' and `sit-for' after the vanilla command behavior is finished. There are no other changes. `sit-for' seems to be the problem, but there is no change in the code for `sit-for' from Emacs 22 and Emacs 23 (where the bug first appears). Perhaps there is a relevant change elsewhere that has to do with these keymaps or with input events? Debugging `sit-for' a bit indicates that `input-pending-p' does indeed return nil when it should return non-nil in this context (after user input). The final `cond' branch is taken in the `sit-for' code, instead of the `input-pending-p' branch. There is no change in the C source code for `input-pending-p' itself, between Emacs 22 and 23. But it tests several global vars in order to do its thing, so perhaps the bug was introduced by changing the value of one of those vars. The vars are `unread-command-events', `unread-command-char', `unread-post-input-method-events', and `unread-input-method-events'. That seems likely. Note this in the doc string of `input-pending-p': "Actually, the value is nil only if we can be ***sure*** that no input is available; if there is a doubt, the value is t." Obviously, we are by no means respecting that declared conservative behavior. It is returning nil (in this case) even when we should not be sure that no input is available - even when input is in fact available. I hope this bug will be fixed. Thx. ------=_NextPart_000_0066_01CAE06A.71A22F50 Content-Type: application/octet-stream; name="bug-5923-emacs-4.el" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bug-5923-emacs-4.el" (defvar icicle-universal-argument-map=0A= (let ((map (make-sparse-keymap)))=0A= (define-key map [t] 'icicle-universal-argument-other-key)=0A= (define-key map (vector meta-prefix-char t) = 'icicle-universal-argument-other-key)=0A= (define-key map [switch-frame] nil)=0A= (define-key map [?\C-u] 'icicle-universal-argument-more)=0A= (define-key map [?-] 'icicle-universal-argument-minus)=0A= (define-key map [?0] 'icicle-digit-argument)=0A= (define-key map [?1] 'icicle-digit-argument)=0A= (define-key map [?2] 'icicle-digit-argument)=0A= (define-key map [?3] 'icicle-digit-argument)=0A= (define-key map [?4] 'icicle-digit-argument)=0A= (define-key map [?5] 'icicle-digit-argument)=0A= (define-key map [?6] 'icicle-digit-argument)=0A= (define-key map [?7] 'icicle-digit-argument)=0A= (define-key map [?8] 'icicle-digit-argument)=0A= (define-key map [?9] 'icicle-digit-argument)=0A= (define-key map [kp-0] 'icicle-digit-argument)=0A= (define-key map [kp-1] 'icicle-digit-argument)=0A= (define-key map [kp-2] 'icicle-digit-argument)=0A= (define-key map [kp-3] 'icicle-digit-argument)=0A= (define-key map [kp-4] 'icicle-digit-argument)=0A= (define-key map [kp-5] 'icicle-digit-argument)=0A= (define-key map [kp-6] 'icicle-digit-argument)=0A= (define-key map [kp-7] 'icicle-digit-argument)=0A= (define-key map [kp-8] 'icicle-digit-argument)=0A= (define-key map [kp-9] 'icicle-digit-argument)=0A= (define-key map [kp-subtract] 'icicle-universal-argument-minus)=0A= map)=0A= "...")=0A= =0A= (defun icicle-universal-argument ()=0A= (interactive)=0A= (setq prefix-arg (list 4)=0A= universal-argument-num-events (length (this-command-keys)))=0A= (icicle-ensure-overriding-map-is-bound)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-digit-argument (arg)=0A= (interactive "P")=0A= (digit-argument)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-negative-argument (arg)=0A= (interactive "P")=0A= (negative-argument arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-universal-argument-more (arg)=0A= (interactive "P")=0A= (universal-argument-more arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-universal-argument-other-key (arg)=0A= (interactive "P")=0A= (universal-argument-other-key arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-universal-argument-minus (arg)=0A= (interactive "P")=0A= (universal-argument-minus arg)=0A= (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg))=0A= =0A= (defun icicle-ensure-overriding-map-is-bound ()=0A= (unless overriding-map-is-bound=0A= (setq saved-overriding-map overriding-terminal-local-map=0A= overriding-terminal-local-map icicle-universal-argument-map=0A= overriding-map-is-bound t)))=0A= =0A= (defun icicle-msg-maybe-in-minibuffer (format-string &rest args)=0A= (apply #'message format-string args)=0A= (sit-for 1))=0A= =0A= (define-key minibuffer-local-completion-map [remap universal-argument]=0A= 'icicle-universal-argument)=0A= (define-key minibuffer-local-completion-map [remap negative-argument]=0A= 'icicle-negative-argument)=0A= (define-key minibuffer-local-completion-map [remap digit-argument]=0A= 'icicle-digit-argument)=0A= =0A= ------=_NextPart_000_0066_01CAE06A.71A22F50-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 19:46:22 2010 Received: (at 5923) by debbugs.gnu.org; 20 Apr 2010 23:46:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4N93-00043u-Q5 for submit@debbugs.gnu.org; Tue, 20 Apr 2010 19:46:21 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4N91-00043p-Uk for 5923@debbugs.gnu.org; Tue, 20 Apr 2010 19:46:20 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3KNkB6g008178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Apr 2010 23:46:12 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3KLsmNE010964; Tue, 20 Apr 2010 23:46:11 GMT Received: from abhmt004.oracle.com by acsmt354.oracle.com with ESMTP id 176097851271807145; Tue, 20 Apr 2010 16:45:45 -0700 Received: from dradamslap1 (/10.175.219.144) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Apr 2010 16:45:44 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com><497D764814894831A571BD283D21B9DA@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Tue, 20 Apr 2010 16:45:45 -0700 Message-ID: <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrbeN6P7ekC4+9VQH619MkvIjLwtAAFxw3wAPw1QPAAAXc+EABGGmQwABBeiBA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Auth-Type: Internal IP X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-CT-RefId: str=0001.0A090205.4BCE3CC5.0150:SCFMA4539811,ss=1,fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > Debugging `sit-for' a bit indicates that `input-pending-p' > does indeed return nil when it should return non-nil in this > context (after user input). The final `cond' branch is taken > in the `sit-for' code, instead of the `input-pending-p' branch. Actually, the problem is here in `sit-for': (let ((read (read-event nil nil seconds))) (or (null read) (progn ;; If last command was a prefix arg, e.g. C-u, push this event onto ;; unread-command-events as (t . EVENT) so it will be added to ;; this-command-keys by read-key-sequence. (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. Since this needs to span several commands (digit-argument etc.), I can't just bind `overriding-terminal-local-map' instead of setting it. I guess my options are to either set it to my map and later unset it or just redefine `sit-for' so that it uses a test like this instead: (if (memq overriding-terminal-local-map '(universal-argument-map icicle-universal-argument-map)) (setq read (cons t read))) Or redefine `universal-argument-map' to use commands that act differently depending on the mode etc. Better suggestions are welcome. None that I've thought of so far are appealing. How about using a different kind of test in the vanilla code, one that would give users some flexibility here, instead of hard-coding an eq test against a specific keymap? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 20 20:05:48 2010 Received: (at 5923) by debbugs.gnu.org; 21 Apr 2010 00:05:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4NRs-0004Bq-JA for submit@debbugs.gnu.org; Tue, 20 Apr 2010 20:05:48 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4NRq-0004Bk-20 for 5923@debbugs.gnu.org; Tue, 20 Apr 2010 20:05:46 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3L05dpQ010326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 21 Apr 2010 00:05:41 GMT 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 o3KNEdmR024184; Wed, 21 Apr 2010 00:05:38 GMT Received: from abhmt004.oracle.com by acsmt354.oracle.com with ESMTP id 176137121271808324; Tue, 20 Apr 2010 17:05:24 -0700 Received: from dradamslap1 (/10.175.219.144) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Apr 2010 17:05:24 -0700 From: "Drew Adams" To: "'Drew Adams'" , "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com><497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Tue, 20 Apr 2010 17:05:26 -0700 Message-ID: <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> Thread-Index: AcrbeN6P7ekC4+9VQH619MkvIjLwtAAFxw3wAPw1QPAAAXc+EABGGmQwABBeiBAAAWU2UA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090206.4BCE4155.0143:SCFMA922111,ss=1,fgs=0 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 23 18:26:30 2010 Received: (at 5923) by debbugs.gnu.org; 23 Jul 2010 22:26:31 +0000 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 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 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 Received: by ceviche.home (Postfix, from userid 20848) id B935D660D2; Sat, 24 Jul 2010 00:26:19 +0200 (CEST) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events Message-ID: References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> Date: Sat, 24 Jul 2010 00:26:19 +0200 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) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3585=0 X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 28 11:24:34 2010 Received: (at 5923) by debbugs.gnu.org; 28 Jul 2010 15:24:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8Uk-0000gA-Ce for submit@debbugs.gnu.org; Wed, 28 Jul 2010 11:24:34 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8Uh-0000g5-Tr for 5923@debbugs.gnu.org; Wed, 28 Jul 2010 11:24:32 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o6SFOdcQ031126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Jul 2010 15:24:41 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o6RGs60F014956; Wed, 28 Jul 2010 15:24:36 GMT Received: from abhmt007.oracle.com by acsmt355.oracle.com with ESMTP id 444906821280330651; Wed, 28 Jul 2010 08:24:11 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 28 Jul 2010 08:24:10 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com><7C90907943E64115BA7CFABFB144BD24@us.oracle.com><497D764814894831A571BD283D21B9DA@us.oracle.com><45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com><0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events Date: Wed, 28 Jul 2010 08:24:09 -0700 Message-ID: <9BDDA08BF6BF42ABAD4551A3869CFE35@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acsqth0NwxEmvjl2TY+wj7Mr0CJBJADsWz4g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4C504BB6.0147:SCFMA4539814,ss=1,fgs=0 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) > >> 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. Bummer; I'm sorry to hear that, as I had hoped for a fix. Who wrote the code? Richard perhaps? Can't we get someone to understand it and DTRT? This is after all a regression from Emacs 22. Can't someone investigate to find out what change really introduced the regression? It doesn't seem right that development can break things and then just say that they can't be fixed because the code is too hard to understand. I understand that development of new features and fixing of bugs can sometimes introduce bugs, including regressions. But I was hoping this could be fixed (restored). C-u is a pretty basic part of Emacs. Seems like this should be fixed before we worry about adding more bells and whistles to Emacs. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 00:22:13 2014 Received: (at control) by debbugs.gnu.org; 10 Feb 2014 05:22:13 +0000 Received: from localhost ([127.0.0.1]:33591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCjJt-00018e-AG for submit@debbugs.gnu.org; Mon, 10 Feb 2014 00:22:13 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40268) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCjJs-00018S-17 for control@debbugs.gnu.org; Mon, 10 Feb 2014 00:22:12 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCjJd-0006f7-Rs for control@debbugs.gnu.org; Mon, 10 Feb 2014 06:21:58 +0100 Date: Sun, 09 Feb 2014 21:20:44 -0800 Message-Id: <871tzb8rwz.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5923 X-MailScanner-ID: 1WCjJd-0006f7-Rs X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392614518.98755@CK3CXPckbDM04ahWctCxbg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) merge 5923 3938 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 05 00:06:22 2016 Received: (at 5923) by debbugs.gnu.org; 5 Jul 2016 04:06:22 +0000 Received: from localhost ([127.0.0.1]:37588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKHcs-0007cC-3q for submit@debbugs.gnu.org; Tue, 05 Jul 2016 00:06:22 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:36487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKHco-0007bv-OL; Tue, 05 Jul 2016 00:06:20 -0400 Received: by mail-it0-f43.google.com with SMTP id g4so32558012ith.1; Mon, 04 Jul 2016 21:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VKKuXaCaXLutcCgeKb3FoglbWHhlNApO0g2PUQnewKY=; b=lYFloqjKVUiQnVqL87HAubIaIXBHbG8ALWaUgkjzzwAHIvRpZlMPj/wzs1Q/gtMf1q dqyqpKyhc/yHBgyDONPreMIbsnftYi5WDCe4Sehovcu7U1EkNWXfqxEe8vbE7/sT6vNV Lfn2hbkCJmKkzW5oDtJ9bkLML6vzxNcErDdNbXMLaiMBjiQj4zD2V322QSn6PtP0xgdN 5voPGfOXw1Kp28XSMYf6S16YNjs3wjZL7vusvIkbL0Bo05ZGiVTZErEGYBQIZfU8r5Os cZbHoy0QZfI6/2NR8O4/pg5h6C7dVAOQu9PDNwe5+g9xyyj75O/d2IfkVLpcAoUM9WEV +4eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=VKKuXaCaXLutcCgeKb3FoglbWHhlNApO0g2PUQnewKY=; b=O46082xS+4orzb8NX026I9mh8oB6PTesGF07MHZ6kuZ1TJ5Vbs/1O5atToaSyUwlYn Ho+9YVVgGZ8zgdgi/G6AD9FO+Dod4sfj68k159hUZdELXoO1YrAMmaNrzhxwvoPdoPFg ZCmTfxSrP8C7ZTbv9BNiAwpOcKKJgKLO9DmIAqJfwFronLj9ho17Oj4yUWuJOpqAl9nG LM/cGFxcuoNdc6RRp6lJcP34y2xkOkL7lFnzPmquVP56edcgHGIjDrbyT3Y13+IIno8u 2yMOOHPy+lyBH2EtqBxLdg7k92soL8Ip9RC1+AD0N22GhS9/Xnq5zs/+JLyBePQBM+Bc xR0w== X-Gm-Message-State: ALyK8tKM5+hfIgy6faF7L5yj/tkz5gJnL+UiOTpYrGLnEtkVCVtjz1bA7AOWx/dZUpIHDA== X-Received: by 10.36.82.8 with SMTP id d8mr3905378itb.61.1467691573000; Mon, 04 Jul 2016 21:06:13 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id g98sm741107ioj.11.2016.07.04.21.06.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 21:06:12 -0700 (PDT) From: npostavs@users.sourceforge.net To: "Drew Adams" Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> Date: Tue, 05 Jul 2016 00:06:20 -0400 In-Reply-To: <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> (Drew Adams's message of "Tue, 20 Apr 2010 17:05:26 -0700") Message-ID: <87shvod8zn.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org, 'Stefan Monnier' , 3938@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "Drew Adams" writes: >> 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. Is this bug fixed? The special casing of this in `sit-for' has been removed meanwhile, but also the overriding-map-is-bound and universal-argument-other-key have been removed, so it's hard to run the code examples in current (version 25) Emacs. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 05 10:19:41 2016 Received: (at 5923) by debbugs.gnu.org; 5 Jul 2016 14:19:41 +0000 Received: from localhost ([127.0.0.1]:38348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKRCP-0003Zf-CM for submit@debbugs.gnu.org; Tue, 05 Jul 2016 10:19:41 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:44284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKRCN-0003ZO-Aq; Tue, 05 Jul 2016 10:19:39 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u65EJVfe019116 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Jul 2016 14:19:32 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u65EJUkm020445 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Jul 2016 14:19:31 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u65EJTKv023519; Tue, 5 Jul 2016 14:19:29 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 5 Jul 2016 14:19:28 +0000 (UTC) From: Drew Adams To: npostavs@users.sourceforge.net Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> In-Reply-To: <87shvod8zn.fsf@users.sourceforge.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org, 3938@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.6 (---) > >> Actually, the problem is here in `sit-for': > >> > >> (let ((read (read-event nil nil seconds))) > >> (or (null read) > >> =09 (progn > >> =09 (if (eq overriding-terminal-local-map > >> universal-argument-map) > >> =09=09(setq read (cons t read))) > >> =09 (push read unread-command-events) > >> =09 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. >=20 > Is this bug fixed? The special casing of this in `sit-for' has been > removed meanwhile, but also the overriding-map-is-bound and > universal-argument-other-key have been removed, so it's hard to run the > code examples in current (version 25) Emacs. I don't know if it is fixed, and I don't have the time to dig into this again. (What you quoted was by no means the last part of this bug thread, BTW.) I would _not_ assume that this bug has been fixed. I think someone would need to dig into this, to debug it. I provided a self-contained repro recipe based on the code at the time, but it is no longer sufficient because variable `overriding-map-is-bound' no longer exists, and the underlying code has changed. You can close the bug, but I'm not confident it has been fixed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 09:12:05 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 13:12:06 +0000 Received: from localhost ([127.0.0.1]:38937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKmcX-00073R-NF for submit@debbugs.gnu.org; Wed, 06 Jul 2016 09:12:05 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:36863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKmcW-00072x-2A for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 09:12:04 -0400 Received: by mail-oi0-f46.google.com with SMTP id f189so269804264oig.3 for <5923@debbugs.gnu.org>; Wed, 06 Jul 2016 06:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Y0jOCiPVXLWNstdceLeC4o38TmHt3yhFLdvimfMdIGY=; b=CqwH+wbbbaoEskWHW8BEmJ/lrb4J1Ci1VWam0s7ZAfFrhbkq1s9NAtpkq4Dcb/F9Ee /EhRYocJHn+fx31vnNbMtof1HVKy94PoQboEjodlE/Jmy3kgCH4KkWX+BJpxFEJRzTNh f8i8Cug/CUEBsmCNfZp/K/0cBbDIknZzEOfgcy8VRkkAsuCRgXbI36Fd+rJpuSWVh34d R+EmM8wbzEMEOr5460Qye9Y/Wp+WZxNiff6UAEQAyYKklo7PxvA+pR5RXDg7+W45mfVr bGoOSlztMPAtrn/TEbo/ppPHHNLvn48/0PJjY0RmDsd5qXWk80qd74R27NUaNxKas+oI zDgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Y0jOCiPVXLWNstdceLeC4o38TmHt3yhFLdvimfMdIGY=; b=feYaeNaHrhD+FqXZb/7SWCJjJb7+FbsdT8fFox4vxM4MRPvLYLHT1F4L/6nZzdSRrI CIc48qnFCMLYK1krqI5w4vDgN6z1sNvw4qx+WJgwLALLhgni/sddpE4MvKny6YrRfHzM WzQ2nrvST+YSss45xPQyvpcK5BR1tXHQMk7jO/KTaupXhmRgMwZCxb/j3d7wDWboaR/H mPP/HXCIJFOZJt9WiMFzst83v3gwkxVQsHsgLGOf+o+HiQldIsx9iGakVJOOsL41YDO4 taYnaIv34DH2XQFFhUE/nI959qGFvWjyMzkBEmhKPy3XkDef4NPvwYfz3yxrjmSkHmRM 9/hg== X-Gm-Message-State: ALyK8tKE1vvcsfh+KXTjZJj7whlCYgDKu2Umb8NPnbY0krP2wLmHzqXv1O48c0xooogGBF3y3V6iba7AnwwGDA== X-Received: by 10.157.38.246 with SMTP id i51mr4313180otd.112.1467810718462; Wed, 06 Jul 2016 06:11:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Wed, 6 Jul 2016 06:11:57 -0700 (PDT) In-Reply-To: References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> From: Noam Postavsky Date: Wed, 6 Jul 2016 09:11:57 -0400 X-Google-Sender-Auth: 0ZdNIKV_ID-2QpmWLltzZ1-KVbY Message-ID: Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events To: Drew Adams Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, Jul 5, 2016 at 10:19 AM, Drew Adams wrote: > I don't know if it is fixed, and I don't have the time to dig into > this again. (What you quoted was by no means the last part of this > bug thread, BTW.) I would _not_ assume that this bug has been fixed. > I think someone would need to dig into this, to debug it. > > I provided a self-contained repro recipe based on the code at > the time, but it is no longer sufficient because variable > `overriding-map-is-bound' no longer exists, and the underlying > code has changed. It looks like the examples are reductions from icicles code. Do you still have problems with this in icicles? A repro recipe along the lines of "load icicles-foo.el and icicles-bar.el then M-x C-u ..." would be useful. Otherwise I would propose to close the bug as unreproducible. PS Removing bug #3938 from cc list, as it seems to cause duplicated emails (I hadn't noticed that I had sent my previous message to both merged bugs, seems to be a misfeature of gnus' ephemeral bug groups) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 09:59:12 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 13:59:12 +0000 Received: from localhost ([127.0.0.1]:39603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnM8-0008Hy-1M for submit@debbugs.gnu.org; Wed, 06 Jul 2016 09:59:12 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:25814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnM6-0008Hl-0F for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 09:59:10 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u66Dx20Y014450 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Jul 2016 13:59:03 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u66Dx2wR027659 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Jul 2016 13:59:02 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u66Dx1DU012365; Wed, 6 Jul 2016 13:59:01 GMT MIME-Version: 1.0 Message-ID: <01658348-eada-4c40-974b-362da4a71a34@default> Date: Wed, 6 Jul 2016 13:59:00 +0000 (UTC) From: Drew Adams To: Noam Postavsky Subject: RE: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.6 (---) > > I don't know if it is fixed, and I don't have the time to dig into > > this again. (What you quoted was by no means the last part of this > > bug thread, BTW.) I would _not_ assume that this bug has been fixed. > > I think someone would need to dig into this, to debug it. > > > > I provided a self-contained repro recipe based on the code at > > the time, but it is no longer sufficient because variable > > `overriding-map-is-bound' no longer exists, and the underlying > > code has changed. >=20 > It looks like the examples are reductions from icicles code. Do you > still have problems with this in icicles? A repro recipe along the > lines of "load icicles-foo.el and icicles-bar.el then M-x C-u etc>..." would be useful. Otherwise I would propose to close the bug > as unreproducible. The repro example I gave was self-contained. It had nothing to do with Icicles, in spite of some of the function names. And as I said: > > I don't know if it is fixed, and I don't have the time to dig > > into this again. As I said: > > I would _not_ assume that this bug has been fixed. I think > > someone would need to dig into this, to debug it. > > You can close the bug, but I'm not confident it has been fixed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 10:25:53 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 14:25:53 +0000 Received: from localhost ([127.0.0.1]:39617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnlt-0000Sz-Oq for submit@debbugs.gnu.org; Wed, 06 Jul 2016 10:25:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnlo-0000Sb-Tq for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 10:25:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKnlg-0001L8-MB for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 10:25:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKnlU-0001Et-B1; Wed, 06 Jul 2016 10:25:24 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4359 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKnlO-0006n0-34; Wed, 06 Jul 2016 10:25:19 -0400 Date: Wed, 06 Jul 2016 17:25:03 +0300 Message-Id: <838txeoncw.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Tue, 5 Jul 2016 14:19:28 +0000 (UTC)) Subject: Re: bug#3938: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5923 Cc: 3938@debbugs.gnu.org, 5923@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) --=-=-= Content-Type: text/plain > Date: Tue, 5 Jul 2016 14:19:28 +0000 (UTC) > From: Drew Adams > Cc: 5923@debbugs.gnu.org, 3938@debbugs.gnu.org > > > >> 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. > > > > Is this bug fixed? The special casing of this in `sit-for' has been > > removed meanwhile, but also the overriding-map-is-bound and > > universal-argument-other-key have been removed, so it's hard to run the > > code examples in current (version 25) Emacs. > > I don't know if it is fixed, and I don't have the time to dig into > this again. (What you quoted was by no means the last part of this > bug thread, BTW.) I would _not_ assume that this bug has been fixed. > I think someone would need to dig into this, to debug it. One could hope for a more cooperative response, I think. It took me all of 5 minutes, without knowing anything about icicles and very little about the new implementation of universal-argument, to convert your test file to the current sources (see the attached). With it, I convinced myself that the bug is indeed fixed: typing the first 's' interrupts the wait immediately, and displays "ssss" in the echo area. Please verify that my changes to the test file are valid and the bug is indeed fixed. Thanks. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=bug-5923-emacs-25.el Content-Transfer-Encoding: quoted-printable (defvar icicle-universal-argument-map (let ((map (make-sparse-keymap)) (universal-argument-minus ;; For backward compatibility, minus with no modifiers is an ordin= ary ;; command if digits have already been entered. `(menu-item "" negative-argument :filter ,(lambda (cmd) (if (integerp prefix-arg) nil cmd))))) (define-key map [switch-frame] (lambda (e) (interactive "e") (handle-switch-frame e) (icicle-universal-argument--mode))) (define-key map [?\C-u] 'icicle-universal-argument-more) (define-key map [?-] universal-argument-minus) (define-key map [?0] 'icicle-digit-argument) (define-key map [?1] 'icicle-digit-argument) (define-key map [?2] 'icicle-digit-argument) (define-key map [?3] 'icicle-digit-argument) (define-key map [?4] 'icicle-digit-argument) (define-key map [?5] 'icicle-digit-argument) (define-key map [?6] 'icicle-digit-argument) (define-key map [?7] 'icicle-digit-argument) (define-key map [?8] 'icicle-digit-argument) (define-key map [?9] 'icicle-digit-argument) (define-key map [kp-0] 'icicle-digit-argument) (define-key map [kp-1] 'icicle-digit-argument) (define-key map [kp-2] 'icicle-digit-argument) (define-key map [kp-3] 'icicle-digit-argument) (define-key map [kp-4] 'icicle-digit-argument) (define-key map [kp-5] 'icicle-digit-argument) (define-key map [kp-6] 'icicle-digit-argument) (define-key map [kp-7] 'icicle-digit-argument) (define-key map [kp-8] 'icicle-digit-argument) (define-key map [kp-9] 'icicle-digit-argument) (define-key map [kp-subtract] universal-argument-minus) map) "...") (defun icicle-universal-argument--mode () (prefix-command-update) (set-transient-map icicle-universal-argument-map nil)) (defun icicle-universal-argument () (interactive) (prefix-command-preserve-state) (setq prefix-arg (list 4)) (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg) (icicle-universal-argument--mode)) (defun icicle-digit-argument (arg) (interactive "P") (digit-argument) (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg)) (defun icicle-negative-argument (arg) (interactive "P") (negative-argument arg) (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg)) (defun icicle-universal-argument-more (arg) (interactive "P") (universal-argument-more arg) (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg)) (defun icicle-universal-argument-minus (arg) (interactive "P") (universal-argument-minus arg) (icicle-msg-maybe-in-minibuffer "prefix %S" prefix-arg)) (defun icicle-msg-maybe-in-minibuffer (format-string &rest args) (apply #'message format-string args) (sit-for 1)) (define-key minibuffer-local-completion-map [remap universal-argument] 'icicle-universal-argument) (define-key minibuffer-local-completion-map [remap negative-argument] 'icicle-negative-argument) (define-key minibuffer-local-completion-map [remap digit-argument] 'icicle-digit-argument) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 10:55:47 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 14:55:47 +0000 Received: from localhost ([127.0.0.1]:39637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoEt-0001Bd-0F for submit@debbugs.gnu.org; Wed, 06 Jul 2016 10:55:47 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:33015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoEr-0001BG-5I for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 10:55:45 -0400 Received: by mail-oi0-f43.google.com with SMTP id u201so273412348oie.0 for <5923@debbugs.gnu.org>; Wed, 06 Jul 2016 07:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=g/ZhB5DbHx5cNnGPE4IuBXtlYcmzyMQCM5IaTT1HH9o=; b=TZoxZhK7KSOziM9KNLuXKrP3bAjsV5SzN/SUhiC3C2qvrBOIZKQ4v4+ENhq7qwBRgY i8UieKgFXx0RHCCdTz8Un6L1UHjt5bE2Hq3gkTTuDFYyS48S3EOLtqIqPdgSPrJI1ZET 5nl7S/TUCi96O7s2bvgSOigRyJO9xPiwPvLVtpTqlyBt84riV/oXrWe+0JgmiDRGri9r XHLRxwvcmTp0xHIgHh+3uF/mQI+UEUsoILXbesDjKH4YugPKOluDbLTyB5A/JBuD0zRv FTbaRy8GuJVV6jYRPs4WISLFR4ruBi4/dNOi21FMMhUj+18j3vf+4lUSwxooNoHjnxyc uNyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=g/ZhB5DbHx5cNnGPE4IuBXtlYcmzyMQCM5IaTT1HH9o=; b=CJNPrODb+ewF5DEOiQylLGAMcyOplLRf1mJUgfaZjEz5wPptNPCSbjxLIbBe9gwngp ZUJOb9cQG2HCuNyd6KHfIWiRFVOxfJKZc+bc+zILatazdqEK5I6saoTRKfkypufoXTNx efswTY/82JqB7Kr/8s18AjPUXzGIfrcC4QD30VhSkI4WBAscspReNCmkcjM1qnkeeZMf PC97m64KNgIhnAffaL5BUgDbUJOvX9CWIcO+CeHAN7K5pRZX7GED0E16EBwiZLmjOGIp q1yre/tQO8LJWisLENXj3CMx/lwle5vZeBf7fFyRZBDXWRUHmDABvYeVOJozRGo9sBMF R04w== X-Gm-Message-State: ALyK8tJ1wwmz4kAHXYRl5U0No5bGuMrHWlG1L6lHq4DjU2XWFj8W5+23gPieoYWzFHm/wc8B8vdGjbRpbgJ+lw== X-Received: by 10.202.85.9 with SMTP id j9mr12328807oib.202.1467816939439; Wed, 06 Jul 2016 07:55:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Wed, 6 Jul 2016 07:55:38 -0700 (PDT) In-Reply-To: <01658348-eada-4c40-974b-362da4a71a34@default> References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <01658348-eada-4c40-974b-362da4a71a34@default> From: Noam Postavsky Date: Wed, 6 Jul 2016 10:55:38 -0400 X-Google-Sender-Auth: _kPPSdb9no4jX2lONrCAqBm_V30 Message-ID: Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events To: Drew Adams Content-Type: multipart/mixed; boundary=001a113d374a456c030536f8c3f4 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113d374a456c030536f8c3f4 Content-Type: text/plain; charset=UTF-8 tag 5923 + confirmed found 5923 25.0.95 quit On Wed, Jul 6, 2016 at 9:59 AM, Drew Adams wrote: > > The repro example I gave was self-contained. It had nothing to > do with Icicles, in spite of some of the function names. Ok, had another look, it's actually not so hard to update it for newer Emacs. Seems the bug is still existing. emacs -Q -l bug-5923-emacs-25.el M-x C-u C-f See that "prefix (4)" is displayed for 2 seconds until `describe-function' finally gets executed. --001a113d374a456c030536f8c3f4 Content-Type: text/x-emacs-lisp; charset=US-ASCII; name="bug-5923-emacs-25.el" Content-Disposition: attachment; filename="bug-5923-emacs-25.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iqb04dfv0 KGRlZnZhciBpY2ljbGUtdW5pdmVyc2FsLWFyZ3VtZW50LW1hcAogIChsZXQgKChtYXAgIChtYWtl LXNwYXJzZS1rZXltYXApKSkKICAgICh3aGVuIChmYm91bmRwICd1bml2ZXJzYWwtYXJndW1lbnQt b3RoZXIta2V5KSA7IHVwIHRvIDI0LjMKICAgICAgKGRlZmluZS1rZXkgbWFwIFt0XSAnaWNpY2xl LXVuaXZlcnNhbC1hcmd1bWVudC1vdGhlci1rZXkpCiAgICAgIChkZWZpbmUta2V5IG1hcCAodmVj dG9yIG1ldGEtcHJlZml4LWNoYXIgdCkgJ2ljaWNsZS11bml2ZXJzYWwtYXJndW1lbnQtb3RoZXIt a2V5KSkKICAgIChkZWZpbmUta2V5IG1hcCBbc3dpdGNoLWZyYW1lXSBuaWwpCiAgICAoZGVmaW5l LWtleSBtYXAgWz9cQy11XSAnaWNpY2xlLXVuaXZlcnNhbC1hcmd1bWVudC1tb3JlKQogICAgKGRl ZmluZS1rZXkgbWFwIFs/LV0gJ2ljaWNsZS11bml2ZXJzYWwtYXJndW1lbnQtbWludXMpCiAgICAo ZGVmaW5lLWtleSBtYXAgWz8wXSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1r ZXkgbWFwIFs/MV0gJ2ljaWNsZS1kaWdpdC1hcmd1bWVudCkKICAgIChkZWZpbmUta2V5IG1hcCBb PzJdICdpY2ljbGUtZGlnaXQtYXJndW1lbnQpCiAgICAoZGVmaW5lLWtleSBtYXAgWz8zXSAnaWNp Y2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFs/NF0gJ2ljaWNsZS1kaWdp dC1hcmd1bWVudCkKICAgIChkZWZpbmUta2V5IG1hcCBbPzVdICdpY2ljbGUtZGlnaXQtYXJndW1l bnQpCiAgICAoZGVmaW5lLWtleSBtYXAgWz82XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAg KGRlZmluZS1rZXkgbWFwIFs/N10gJ2ljaWNsZS1kaWdpdC1hcmd1bWVudCkKICAgIChkZWZpbmUt a2V5IG1hcCBbPzhdICdpY2ljbGUtZGlnaXQtYXJndW1lbnQpCiAgICAoZGVmaW5lLWtleSBtYXAg Wz85XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC0wXSAn aWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC0xXSAnaWNpY2xl LWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC0yXSAnaWNpY2xlLWRpZ2l0 LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC0zXSAnaWNpY2xlLWRpZ2l0LWFyZ3Vt ZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC00XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQog ICAgKGRlZmluZS1rZXkgbWFwIFtrcC01XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRl ZmluZS1rZXkgbWFwIFtrcC02XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1r ZXkgbWFwIFtrcC03XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFw IFtrcC04XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC05 XSAnaWNpY2xlLWRpZ2l0LWFyZ3VtZW50KQogICAgKGRlZmluZS1rZXkgbWFwIFtrcC1zdWJ0cmFj dF0gJ2ljaWNsZS11bml2ZXJzYWwtYXJndW1lbnQtbWludXMpCiAgICBtYXApCiAgIi4uLiIpCgoo ZGVmdW4gaWNpY2xlLXVuaXZlcnNhbC1hcmd1bWVudCAoKQogIChpbnRlcmFjdGl2ZSkKICAoc2V0 cSBwcmVmaXgtYXJnICAgICAgICAgICAgICAgICAgICAgKGxpc3QgNCkKICAgICAgICB1bml2ZXJz YWwtYXJndW1lbnQtbnVtLWV2ZW50cyAgKGxlbmd0aCAodGhpcy1jb21tYW5kLWtleXMpKSkKICAo aWNpY2xlLWVuc3VyZS1vdmVycmlkaW5nLW1hcC1pcy1ib3VuZCkKICAoaWNpY2xlLW1zZy1tYXli ZS1pbi1taW5pYnVmZmVyICJwcmVmaXggJVMiIHByZWZpeC1hcmcpKQoKKGRlZnVuIGljaWNsZS1k aWdpdC1hcmd1bWVudCAoYXJnKQogIChpbnRlcmFjdGl2ZSAiUCIpCiAgKGRpZ2l0LWFyZ3VtZW50 KQogIChpY2ljbGUtbXNnLW1heWJlLWluLW1pbmlidWZmZXIgInByZWZpeCAlUyIgcHJlZml4LWFy ZykpCgooZGVmdW4gaWNpY2xlLW5lZ2F0aXZlLWFyZ3VtZW50IChhcmcpCiAgKGludGVyYWN0aXZl ICJQIikKICAobmVnYXRpdmUtYXJndW1lbnQgYXJnKQogIChpY2ljbGUtbXNnLW1heWJlLWluLW1p bmlidWZmZXIgInByZWZpeCAlUyIgcHJlZml4LWFyZykpCgooZGVmdW4gaWNpY2xlLXVuaXZlcnNh bC1hcmd1bWVudC1tb3JlIChhcmcpCiAgKGludGVyYWN0aXZlICJQIikKICAodW5pdmVyc2FsLWFy Z3VtZW50LW1vcmUgYXJnKQogIChpY2ljbGUtbXNnLW1heWJlLWluLW1pbmlidWZmZXIgInByZWZp eCAlUyIgcHJlZml4LWFyZykpCgooZGVmdW4gaWNpY2xlLXVuaXZlcnNhbC1hcmd1bWVudC1vdGhl ci1rZXkgKGFyZykKICAoaW50ZXJhY3RpdmUgIlAiKQogICh1bml2ZXJzYWwtYXJndW1lbnQtb3Ro ZXIta2V5IGFyZykKICAoaWNpY2xlLW1zZy1tYXliZS1pbi1taW5pYnVmZmVyICJwcmVmaXggJVMi IHByZWZpeC1hcmcpKQoKKGRlZnVuIGljaWNsZS11bml2ZXJzYWwtYXJndW1lbnQtbWludXMgKGFy ZykKICAoaW50ZXJhY3RpdmUgIlAiKQogICh1bml2ZXJzYWwtYXJndW1lbnQtbWludXMgYXJnKQog IChpY2ljbGUtbXNnLW1heWJlLWluLW1pbmlidWZmZXIgInByZWZpeCAlUyIgcHJlZml4LWFyZykp Cgo7OyAoZGVmdW4gaWNpY2xlLWVuc3VyZS1vdmVycmlkaW5nLW1hcC1pcy1ib3VuZCAoKQo7OyAg ICh1bmxlc3Mgb3ZlcnJpZGluZy1tYXAtaXMtYm91bmQKOzsgICAgIChzZXRxIHNhdmVkLW92ZXJy aWRpbmctbWFwICAgICAgICAgICBvdmVycmlkaW5nLXRlcm1pbmFsLWxvY2FsLW1hcAo7OyAgICAg ICAgICAgb3ZlcnJpZGluZy10ZXJtaW5hbC1sb2NhbC1tYXAgIGljaWNsZS11bml2ZXJzYWwtYXJn dW1lbnQtbWFwCjs7ICAgICAgICAgICBvdmVycmlkaW5nLW1hcC1pcy1ib3VuZCAgICAgICAgdCkp KQoKKGRlZnVuIGljaWNsZS1lbnN1cmUtb3ZlcnJpZGluZy1tYXAtaXMtYm91bmQgKCkKICAiU2V0 IGBvdmVycmlkaW5nLXRlcm1pbmFsLWxvY2FsLW1hcCcgdG8gYGljaWNsZS11bml2ZXJzYWwtYXJn dW1lbnQtbWFwJy4iCiAgKGNvbmQKICAgKChib3VuZHAgJ3VuaXZlcnNhbC1hcmd1bWVudC1tYXAp IDsgRW1hY3MgMjQrCiAgICAoc2V0LXRyYW5zaWVudC1tYXAgaWNpY2xlLXVuaXZlcnNhbC1hcmd1 bWVudC1tYXAgbmlsCiAgICAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAoKSAoaWNpY2xlLW1z Zy1tYXliZS1pbi1taW5pYnVmZmVyICJwcmVmaXggJVMiIHByZWZpeC1hcmcpKSkpCiAgICgobm90 IChib3VuZHAgJ292ZXJyaWRpbmctbWFwLWlzLWJvdW5kKSkgOyBFbWFjcyAyMCwgMjEuCiAgICAo c2V0cSBvdmVycmlkaW5nLXRlcm1pbmFsLWxvY2FsLW1hcCAgaWNpY2xlLXVuaXZlcnNhbC1hcmd1 bWVudC1tYXApKQogICAoKG5vdCBvdmVycmlkaW5nLXRlcm1pbmFsLWxvY2FsLW1hcCkgOyBFbWFj cyAyMisuCiAgICAoc2V0cSBzYXZlZC1vdmVycmlkaW5nLW1hcCAgICAgICAgICAgb3ZlcnJpZGlu Zy10ZXJtaW5hbC1sb2NhbC1tYXAKICAgICAgICAgIG92ZXJyaWRpbmctdGVybWluYWwtbG9jYWwt bWFwICBpY2ljbGUtdW5pdmVyc2FsLWFyZ3VtZW50LW1hcAogICAgICAgICAgb3ZlcnJpZGluZy1t YXAtaXMtYm91bmQgICAgICAgIHQpKSkpCgooZGVmdW4gaWNpY2xlLW1zZy1tYXliZS1pbi1taW5p YnVmZmVyIChmb3JtYXQtc3RyaW5nICZyZXN0IGFyZ3MpCiAgKGFwcGx5ICMnbWVzc2FnZSBmb3Jt YXQtc3RyaW5nIGFyZ3MpCiAgKHNpdC1mb3IgMSkpCgooZGVmaW5lLWtleSBtaW5pYnVmZmVyLWxv Y2FsLWNvbXBsZXRpb24tbWFwIFtyZW1hcCB1bml2ZXJzYWwtYXJndW1lbnRdCiAgJ2ljaWNsZS11 bml2ZXJzYWwtYXJndW1lbnQpCihkZWZpbmUta2V5IG1pbmlidWZmZXItbG9jYWwtY29tcGxldGlv bi1tYXAgW3JlbWFwIG5lZ2F0aXZlLWFyZ3VtZW50XQogICdpY2ljbGUtbmVnYXRpdmUtYXJndW1l bnQpCihkZWZpbmUta2V5IG1pbmlidWZmZXItbG9jYWwtY29tcGxldGlvbi1tYXAgW3JlbWFwIGRp Z2l0LWFyZ3VtZW50XQogICdpY2ljbGUtZGlnaXQtYXJndW1lbnQpCgooZGVmdW4gdGVzdDIgKCkg KGludGVyYWN0aXZlKSAoZGVzY3JpYmUtZnVuY3Rpb24gJyspKQogCihkZWZpbmUta2V5IG1pbmli dWZmZXItbG9jYWwtY29tcGxldGlvbi1tYXAgIlxDLWYiICd0ZXN0MikK --001a113d374a456c030536f8c3f4-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:05:41 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 15:05:41 +0000 Received: from localhost ([127.0.0.1]:39660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoOS-000343-V8 for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:05:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoOR-00033q-7J for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:05:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKoOG-0004vi-8w for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:05:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKoOG-0004vF-63; Wed, 06 Jul 2016 11:05:28 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4429 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKoOC-0005aw-MH; Wed, 06 Jul 2016 11:05:25 -0400 Date: Wed, 06 Jul 2016 18:05:10 +0300 Message-Id: <83lh1en6xl.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: (message from Noam Postavsky on Wed, 6 Jul 2016 10:55:38 -0400) Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <01658348-eada-4c40-974b-362da4a71a34@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Noam Postavsky > Date: Wed, 6 Jul 2016 10:55:38 -0400 > Cc: 5923@debbugs.gnu.org > > Ok, had another look, it's actually not so hard to update it for newer > Emacs. Seems the bug is still existing. > > emacs -Q -l bug-5923-emacs-25.el > M-x C-u C-f > See that "prefix (4)" is displayed for 2 seconds until > `describe-function' finally gets executed. And I arrived at the exactly opposite conclusion, see my other message. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:10:55 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 15:10:55 +0000 Received: from localhost ([127.0.0.1]:39672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoTU-0003Bv-3L for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:10:55 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:40800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoTP-0003Ba-2B; Wed, 06 Jul 2016 11:10:50 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u66FAc2e007798 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Jul 2016 15:10:39 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u66FAcOE029984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Jul 2016 15:10:38 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u66FAZID017563; Wed, 6 Jul 2016 15:10:36 GMT MIME-Version: 1.0 Message-ID: <26bd13ba-aa2d-4efd-bc1f-9bf7860db032@default> Date: Wed, 6 Jul 2016 15:10:35 +0000 (UTC) From: Drew Adams To: Eli Zaretskii Subject: RE: bug#3938: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <838txeoncw.fsf@gnu.org> In-Reply-To: <838txeoncw.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 5923 Cc: 3938@debbugs.gnu.org, 5923@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.6 (---) > > > Is this bug fixed? The special casing of this in `sit-for' has been > > > removed meanwhile, but also the overriding-map-is-bound and > > > universal-argument-other-key have been removed, so it's hard to run t= he > > > code examples in current (version 25) Emacs. > > > > I don't know if it is fixed, and I don't have the time to dig into > > this again. (What you quoted was by no means the last part of this > > bug thread, BTW.) I would _not_ assume that this bug has been fixed. > > I think someone would need to dig into this, to debug it. >=20 > One could hope for a more cooperative response, I think.=20 Ditto. Time passes... > It took me all of 5 minutes, without knowing anything about icicles and v= ery > little about the new implementation of universal-argument, to convert > your test file to the current sources (see the attached). With it, I > convinced myself that the bug is indeed fixed: typing the first 's' > interrupts the wait immediately, and displays "ssss" in the echo area. I had already done similarly, FWIW. To me it does not constitute a proof that the bug is fixed. If it convinces you, fine; close the bug, as I said= . > Please verify that my changes to the test file are valid and the bug > is indeed fixed. Sorry, I don't have the time to do that. And as I said, IMO this alone doesn't convince me that the bug is fixed. It might be fixed; I don't know. I hope it is. If you can convince yourself in 5 minutes that it is fixed, great. The bug (#3938) was filed almost exactly 7 years ago, with a very short recipe to reproduce, starting from `emacs -Q'. Likewise, for the merged bug (#5923) - 6 years ago, with other emacs -Q recipes (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5923#23, http://debbugs.gnu= .org/cgi/bugreport.cgi?bug=3D5923#26). Responses from Stefan at the time: But to tell you the truth the handling of this-command-keys and universal-argument prefix is much too delicate for me to understand it... 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. That was it. It died on the vine in 2010. If it somehow got fixed accidentally in the interim, great. "One could _hope_ for a more cooperative response, I think." But all's well that ends well. (Assuming it is ended, and well.) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:30:33 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 15:30:33 +0000 Received: from localhost ([127.0.0.1]:39693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKomS-0003gI-Lw for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:30:33 -0400 Received: from mail-oi0-f41.google.com ([209.85.218.41]:34011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKomM-0003fy-Sq for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:30:27 -0400 Received: by mail-oi0-f41.google.com with SMTP id s66so275110746oif.1 for <5923@debbugs.gnu.org>; Wed, 06 Jul 2016 08:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zQsHl4ph4mDacbM1TFKuXSwB0yexAzQjOxV3dWnbWg0=; b=akMKko3W5mGRwd0TEmT+4VQdbhZUgJeMoZL67oEXk+/XmdAUwD8sMsRE+P0V4WswUu yH6/WA8I2wWIQuR3nD+Hly2k0BO0l+miDrb1uHyySZgk1slVFhG6kJIo36SOEi1PFzcF MYGgT3EqmE1FDrJIBt6n1OUd06L6VMv7efK8PYrSPH64mou698zZrzW0y88n0zJt/DHd 0a1eMUC89eUe8gLeV1+b2WS8U+De0W2wTmci1FjuVdRpp7ZIkpUPY4vmyJV6N9UFLlrp grWhgjb+MTqeo1worqTJeir+bnRHWGU04n5F+K3vJodsO6esVs/dGhzFd8ZPnfrmKRDM as6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zQsHl4ph4mDacbM1TFKuXSwB0yexAzQjOxV3dWnbWg0=; b=Ql0KjiDNxxhNupcg2yuY4+3d8+kAZhCRty0LMkkaLZnE27PsuslgcrYGw5krvNaOb/ 5Gvc08zYdNIJZPD6ut/bdlxHOjm8BaFPbgmYJteVqM6KcsRXprG86OK9IaWi1Ydnl9xa 7bFT1Dju4lu+IIawVXNJciAhR7IZgiy/YFUcrky4NkXbJUQloFaQcyBpvPrdCMICAns5 c9c6+rcYzugvwvv/TB7mW+X1+vlakZ0YmxbBKMTEN7h+njm15AnCmIjIjMbJNAYyMzvz PPa4osK4fkcfjIscGtXlCwDP4INn2dwoeIheRQecQgRvzfsVU/AMHonqbiNSbk6JOfKu Zong== X-Gm-Message-State: ALyK8tJ8EbpiMVSWpzaZgvqRpwo59Nn+46PDKVrpJf9B+EDnZBddConrpHApVgJ/F6ycidogtAWUJx4r1KOemg== X-Received: by 10.157.38.246 with SMTP id i51mr4751028otd.112.1467819017211; Wed, 06 Jul 2016 08:30:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Wed, 6 Jul 2016 08:30:16 -0700 (PDT) In-Reply-To: <83lh1en6xl.fsf@gnu.org> References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <01658348-eada-4c40-974b-362da4a71a34@default> <83lh1en6xl.fsf@gnu.org> From: Noam Postavsky Date: Wed, 6 Jul 2016 11:30:16 -0400 X-Google-Sender-Auth: cmSsmDViNXKcY6W0yaTKD_94jRc Message-ID: Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tag 5923 - confirmed notfound 5932 25.0.95 fixed 5932 quit On Wed, Jul 6, 2016 at 11:05 AM, Eli Zaretskii wrote: >> From: Noam Postavsky >> Date: Wed, 6 Jul 2016 10:55:38 -0400 >> Cc: 5923@debbugs.gnu.org >> >> Ok, had another look, it's actually not so hard to update it for newer >> Emacs. Seems the bug is still existing. >> >> emacs -Q -l bug-5923-emacs-25.el >> M-x C-u C-f >> See that "prefix (4)" is displayed for 2 seconds until >> `describe-function' finally gets executed. > > And I arrived at the exactly opposite conclusion, see my other > message. Yes, your version works. Probably I made a mistake in my updates, tentatively marking bug as fixed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:31:11 2016 Received: (at control) by debbugs.gnu.org; 6 Jul 2016 15:31:12 +0000 Received: from localhost ([127.0.0.1]:39697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKon6-0003hZ-3a for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:31:11 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:34598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKon1-0003gs-2H for control@debbugs.gnu.org; Wed, 06 Jul 2016 11:31:06 -0400 Received: by mail-oi0-f43.google.com with SMTP id s66so275140074oif.1 for ; Wed, 06 Jul 2016 08:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=wWYSu73XD3jr1S4tpa9Y8yT3FBo8M7IYvxvocKlfPQ8=; b=bZbxuX5bVIID+cooqsusoYOF95mc2ZhdFaMC4cSjuACNU1djFoSAhSQSHVZy9wGs2w ww5b2dg5bhpi5X3RGx7V2//VurR7wqKAyTiHhAqmjgP3MD2p7asZN9qkMqIoc9sAJQ/b SDA2WV0hhOUF0/UjbCtSxC4grK5R62vZH1gXjLKOBAlxCOH32J1qDrDwd7Vgbz2YyNPI HCWbsXzNSyvviWX/h5mUIYt0WTqb5xXzfWWoKFYHgUpPN2CK8kqB/Iv7ZmbMEKX83Zj2 PqSAyvtRzhQcutRmdCFSb/o2ybT05s6ZzmheqR6jdn6ouU8sC0dFEiHG+t4CYovOtZg3 U+zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=wWYSu73XD3jr1S4tpa9Y8yT3FBo8M7IYvxvocKlfPQ8=; b=Ubu8aS9nSsG0/4i1rYEQBvrmGP3D07ckFpTBugSfGH/FNyvXr3+Bx2Svurwm6FYERW p8rpb7M1GWikpbx2ZOWVWV9I/10l9iqEcdesxglcerQ4iUEjTeC4CVzMYwYVjUhU0vba xl09F0LqXWoex4mq5r1QW1ooRP3ZpuGp+rYUaztX8nAOpe7p/OTFiiZ/vx/Ki31TKIlZ TNed0tGlILt0BaaHmyUz77xwRiKarQyxNizXuDdMK5pBiXDAUk4Nzl1vxC3jvqrngHt2 dQ+dMO94PDqJfyhRmilyH6hdXHvpKHBbnZFcED1gDSAvgWxLGuXhdr5NaHO6JjBPfIGC iYzg== X-Gm-Message-State: ALyK8tKS4g+3Xk5dnhizqMmGeuUdi8bq9S+AzBoNTLuGYdOp/1t5O2G973MSe5alG8qNGGI8Z2CwRXMv7GONvA== X-Received: by 10.202.5.193 with SMTP id 184mr11812795oif.143.1467819057462; Wed, 06 Jul 2016 08:30:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Wed, 6 Jul 2016 08:30:56 -0700 (PDT) In-Reply-To: References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <01658348-eada-4c40-974b-362da4a71a34@default> <83lh1en6xl.fsf@gnu.org> From: Noam Postavsky Date: Wed, 6 Jul 2016 11:30:56 -0400 X-Google-Sender-Auth: pFTNm2l6uZEM2QqlJ6l8z6cB9bg Message-ID: Subject: Fwd: bug#5923: 23.1.95; minibuffer-message discards input events To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tag 5923 - confirmed notfound 5932 25.0.95 fixed 5932 quit ---------- Forwarded message ---------- From: Noam Postavsky Date: Wed, Jul 6, 2016 at 11:30 AM Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events To: Eli Zaretskii Cc: Drew Adams , 5923@debbugs.gnu.org On Wed, Jul 6, 2016 at 11:05 AM, Eli Zaretskii wrote: >> From: Noam Postavsky >> Date: Wed, 6 Jul 2016 10:55:38 -0400 >> Cc: 5923@debbugs.gnu.org >> >> Ok, had another look, it's actually not so hard to update it for newer >> Emacs. Seems the bug is still existing. >> >> emacs -Q -l bug-5923-emacs-25.el >> M-x C-u C-f >> See that "prefix (4)" is displayed for 2 seconds until >> `describe-function' finally gets executed. > > And I arrived at the exactly opposite conclusion, see my other > message. Yes, your version works. Probably I made a mistake in my updates, tentatively marking bug as fixed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:32:35 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 15:32:36 +0000 Received: from localhost ([127.0.0.1]:39702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKooS-0003jq-2p for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:32:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKooN-0003jb-Qy for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:32:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKooF-0003Vb-Ny for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:32:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKooF-0003UW-Kt; Wed, 06 Jul 2016 11:32:19 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4456 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKooD-0002MB-GC; Wed, 06 Jul 2016 11:32:18 -0400 Date: Wed, 06 Jul 2016 18:32:03 +0300 Message-Id: <83h9c2n5os.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <26bd13ba-aa2d-4efd-bc1f-9bf7860db032@default> (message from Drew Adams on Wed, 6 Jul 2016 15:10:35 +0000 (UTC)) Subject: Re: bug#3938: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <838txeoncw.fsf@gnu.org> <26bd13ba-aa2d-4efd-bc1f-9bf7860db032@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Date: Wed, 6 Jul 2016 15:10:35 +0000 (UTC) > From: Drew Adams > Cc: npostavs@users.sourceforge.net, 5923@debbugs.gnu.org, 3938@debbugs.gnu.org > > > It took me all of 5 minutes, without knowing anything about icicles and very > > little about the new implementation of universal-argument, to convert > > your test file to the current sources (see the attached). With it, I > > convinced myself that the bug is indeed fixed: typing the first 's' > > interrupts the wait immediately, and displays "ssss" in the echo area. > > I had already done similarly, FWIW. To me it does not constitute a proof > that the bug is fixed. ??? Are you saying that the recipe doesn't exhibit the bug? If it does, and now the recipe behaves correctly, what else could be there that prevents us from concluding the bug is fixed? > If you can convince yourself in 5 minutes that it is fixed, great. The behavior which was incorrect when you reported it, is correct now. What else do we need to examine? I will close the bug, unless Noam convinces me that my testing is incorrect, while his is. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:36:12 2016 Received: (at control) by debbugs.gnu.org; 6 Jul 2016 15:36:12 +0000 Received: from localhost ([127.0.0.1]:39714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKorv-0003pk-Oz for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:36:12 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:34719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKorp-0003ox-3z; Wed, 06 Jul 2016 11:36:05 -0400 Received: by mail-oi0-f42.google.com with SMTP id s66so275348204oif.1; Wed, 06 Jul 2016 08:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=14nOp1c9hxRoaEQpH+7KRuY+6kep3mGl96kt8ulWpi0=; b=SHSOA3Ngm+Gp7AisCBfzfXLSn1V+du6YquyjbwP9ytSK68Ehn68X1Fy0hJbd2j/BRu fBpsvHHuHFgE+7K5oVw3njYT4cusdSrEaFUpjFw7uOzoqMtdzDrgWBtG2rKUjkv1ai/+ MugwNVxVLXhRuIV/3Vln18TFZmXQcaeFnitH+TTDkZHmVRVoX6WQnEgmeD0qLDQ5sJfx Zlgw1txb1eoT5LZWuVbvtMm9m4Q9dLQ7NzNUIkff31Ity8PlYDrImp9ceU2RTmxic7rc xQfrgLs8Jeus/ITlmhGhRrGkIikzuxCx5lk4t2XY+TgITNpXL4K7OZU0YLgAp4xJFG0P nGQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=14nOp1c9hxRoaEQpH+7KRuY+6kep3mGl96kt8ulWpi0=; b=mrBVkrtPW0fGYHiLdPR+fFq1XyaMzT3zn7XUprbtOBWi5q410Lr285DS3C2TsJzKT4 kZ7/0vtawPzlU9lezgtpUoVqYre5JUxXBiTgT5X2tuxkhNOVBuobInc7L7+mdEA/z8UW TukO9qh1yHhO8JXwW5/fHK5wYM1L6zPFeEgi1sqO8caVz+vPq1Qblb3jcbwJwDUN/5FU /SXf1JcDr+3dH+ZtdLzgcuoFN//9Z/MfFZ86QhBa3dOJKTMAmUV6c+gPjnGxhj/VTVBY +0Ir6Nw7yXNZPGy+wdbGwdSgJounhkRxdnXuNluj5a44T2+V+VWnmrqxU+2hOCwZew/D YyUw== X-Gm-Message-State: ALyK8tKtHnzS07a32nfCiGfn6v75dbJHWz+WIxQAnNjF83eyYPLBbkh+Em6b9wFuCE8+CS6o6+dnBkEJAK6AiA== X-Received: by 10.157.1.103 with SMTP id 94mr10544973otu.17.1467819354291; Wed, 06 Jul 2016 08:35:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Wed, 6 Jul 2016 08:35:53 -0700 (PDT) In-Reply-To: References: From: Noam Postavsky Date: Wed, 6 Jul 2016 11:35:53 -0400 X-Google-Sender-Auth: vBFTTQYmF1KNuWLxqDDL3U2V9yo Message-ID: Subject: Re: Processed (with 1 errors): Fwd: bug#5923: 23.1.95; minibuffer-message discards input events To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control Cc: tracker@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) # typos, thinkos, retrying... tag 5923 + fixed notfound 5923 25.0.95 quit On Wed, Jul 6, 2016 at 11:32 AM, GNU bug tracker automated control server wrote: > Processing commands for control@debbugs.gnu.org: > >> tag 5923 - confirmed > Bug #5923 [emacs] 23.1.95; minibuffer-message discards input events > Bug #3938 [emacs] 23.0.96; regression: minibuffer-message interferes with C-u > Removed tag(s) confirmed. > Removed tag(s) confirmed. >> notfound 5932 25.0.95 > Bug #5932 [emacs,cc-mode] feature request - C# as a formally supported language > Ignoring request to alter found versions of bug #5932 to the same values previously set >> fixed 5932 > Unknown command or malformed arguments to command. > >> quit > Stopping processing here. > > Please contact help-debbugs@gnu.org if you need assistance. > > GNU bugs database, http://debbugs.gnu.org/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:38:46 2016 Received: (at 5923) by debbugs.gnu.org; 6 Jul 2016 15:38:46 +0000 Received: from localhost ([127.0.0.1]:39723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKouQ-0003uI-B7 for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:38:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKouL-0003u3-J5 for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:38:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKouC-0004z4-Bu for 5923@debbugs.gnu.org; Wed, 06 Jul 2016 11:38:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKouC-0004z0-8b; Wed, 06 Jul 2016 11:38:28 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4466 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKouA-0006j3-62; Wed, 06 Jul 2016 11:38:26 -0400 Date: Wed, 06 Jul 2016 18:38:12 +0300 Message-Id: <83d1mqn5ej.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: (message from Noam Postavsky on Wed, 6 Jul 2016 11:30:16 -0400) Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <01658348-eada-4c40-974b-362da4a71a34@default> <83lh1en6xl.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5923 Cc: 5923@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Noam Postavsky > Date: Wed, 6 Jul 2016 11:30:16 -0400 > Cc: Drew Adams , 5923@debbugs.gnu.org > > >> emacs -Q -l bug-5923-emacs-25.el > >> M-x C-u C-f > >> See that "prefix (4)" is displayed for 2 seconds until > >> `describe-function' finally gets executed. > > > > And I arrived at the exactly opposite conclusion, see my other > > message. > > Yes, your version works. Probably I made a mistake in my updates, > tentatively marking bug as fixed. Thanks. I think, given Drew's response, we can close this bug. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 21:23:50 2016 Received: (at control) by debbugs.gnu.org; 5 Aug 2016 01:23:50 +0000 Received: from localhost ([127.0.0.1]:55976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVTra-0001SR-EI for submit@debbugs.gnu.org; Thu, 04 Aug 2016 21:23:50 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:35585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVTrX-0001SC-9f for control@debbugs.gnu.org; Thu, 04 Aug 2016 21:23:48 -0400 Received: by mail-it0-f44.google.com with SMTP id u186so10651803ita.0 for ; Thu, 04 Aug 2016 18:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gI0Asmht3knaVOocU7VDWjHEgN8JpAlpLfE2HY+RRqc=; b=MbJkFY0DI0kj9lQpdCMfDuV9ssasrZW3vpm7EAzwO9H0uLGihb4madCgA4iexpl0TU OuXfw86PdL/TFQ9UPgZ6vBt5pxB3+i0cO1WaKxLQT9E4NBmOXLZRAYZI4xPe+8JnO/Nf f4uYkoL8IL4T7blF/jaOD68kpz9SNoNvOR/uJeCn4JtnSFnPH0nDFNp3Gc5dodZ9tWPD fARxG0omG+a4crTHVCUBt6TS71bfqPwM3E7jhtz7LwBtC6AXFZunELav3QGWPoFmfA/t 457FlAthCDdw42AAIKv9IIDt3wIKUwm3RaIoPKHIDpHOv60nrgLmUSFbsdqw3cP1hKIl 9rZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=gI0Asmht3knaVOocU7VDWjHEgN8JpAlpLfE2HY+RRqc=; b=IW0RSbnBXaFcRane4rwMknm2knNBbvuX53dWcAOkhuHk6sbDHKPmrPsaAVRtvGzopq h/UNEh0JS07KRbbti+NucdNeDlutaNVtHTtrSPXT3DQDsDcQX7czeI5uQ667nW6K4Mot gte847vDxGItI/EMiqAieJOgIIvPfJHAHmPaFAi4ebZudX4HYWGrru7DAr2k2RIiuKeU 8CfPoTSQu9mct7nRptM1j93tGZFEJed+9WwypJj40aSh57RaCVAsHgxroYK/MBTKhKqn YqsjGKdAUuiVypB44YCIIryIcM3ECzL1a2PMtUFfX2dYMVqGX0Q3i8lUXRzUIaslubb9 7Z2w== X-Gm-Message-State: AEkoouvCNk4Bady4/ZpxGA+2zkO9p092fF0iWmfV86MdxY53M5geQ37sAxAVjVLQVLGMoA== X-Received: by 10.36.111.65 with SMTP id x62mr1188511itb.32.1470360221652; Thu, 04 Aug 2016 18:23:41 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id q193sm7075869iod.0.2016.08.04.18.23.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 18:23:40 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#5923: 23.1.95; minibuffer-message discards input events References: <6ED90800C89F408BB0C3F86660BB4C10@us.oracle.com> <7C90907943E64115BA7CFABFB144BD24@us.oracle.com> <497D764814894831A571BD283D21B9DA@us.oracle.com> <45AB7455D0FD4FCC9ED735A11D8CCEF0@us.oracle.com> <0CFCF01B9DFA4AEF9648A708DF097A91@us.oracle.com> <87shvod8zn.fsf@users.sourceforge.net> <01658348-eada-4c40-974b-362da4a71a34@default> <83lh1en6xl.fsf@gnu.org> <83d1mqn5ej.fsf@gnu.org> Date: Thu, 04 Aug 2016 21:23:48 -0400 In-Reply-To: <83d1mqn5ej.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 18:38:12 +0300") Message-ID: <87y44c80uz.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 5923 quit Eli Zaretskii writes: >> From: Noam Postavsky >> Date: Wed, 6 Jul 2016 11:30:16 -0400 >> Cc: Drew Adams , 5923@debbugs.gnu.org >> >> >> emacs -Q -l bug-5923-emacs-25.el >> >> M-x C-u C-f >> >> See that "prefix (4)" is displayed for 2 seconds until >> >> `describe-function' finally gets executed. >> > >> > And I arrived at the exactly opposite conclusion, see my other >> > message. >> >> Yes, your version works. Probably I made a mistake in my updates, >> tentatively marking bug as fixed. > > Thanks. I think, given Drew's response, we can close this bug. From unknown Sun Jun 22 22:41:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 02 Sep 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator