emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15332: closed (Keystrokes's immediate echo only wo


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15332: closed (Keystrokes's immediate echo only works every other time)
Date: Wed, 11 Sep 2013 02:42:02 +0000

Your message dated Tue, 10 Sep 2013 22:41:37 -0400
with message-id <address@hidden>
and subject line Re: bug#15332: Keystrokes's immediate echo only works every 
other time
has caused the debbugs.gnu.org bug report #15332,
regarding Keystrokes's immediate echo only works every other time
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15332: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15332
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Keystrokes's immediate echo only works every other time Date: Tue, 10 Sep 2013 22:26:33 -0400
Package: Emacs
Version: 24.3.50


If you do:

   C-u <wait> 5 5 5 5 ...

You'll see keystrokes echo as follows:

   C-u-          (correct)
   C-u 5         (instead of "C-u 5-")
   C-u 5 5-      (only appears after you wait echo-keystrokes seconds)
   C-u 5 5 5     (instead of "C-u 5 5 5-")
   C-u 5 5 5 5-  (only appears after you wait echo-keystrokes seconds)
   ...

This worked correctly in 22.3 but is broken at least since 23.4.
   

        Stefan



--- End Message ---
--- Begin Message --- Subject: Re: bug#15332: Keystrokes's immediate echo only works every other time Date: Tue, 10 Sep 2013 22:41:37 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> You'll see keystrokes echo as follows:

>    C-u-          (correct)
>    C-u 5         (instead of "C-u 5-")
>    C-u 5 5-      (only appears after you wait echo-keystrokes seconds)
>    C-u 5 5 5     (instead of "C-u 5 5 5-")
>    C-u 5 5 5 5-  (only appears after you wait echo-keystrokes seconds)
>    ...

> This worked correctly in 22.3 but is broken at least since 23.4.
   
The patch below appears to fix it.


        Stefan


=== modified file 'src/keyboard.c'
--- src/keyboard.c      2013-09-09 12:15:45 +0000
+++ src/keyboard.c      2013-09-11 02:27:54 +0000
@@ -2596,9 +2596,7 @@
 
   if (/* There currently is something in the echo area.  */
       !NILP (echo_area_buffer[0])
-      && (/* And it's either not from echoing.  */
-         !EQ (echo_area_buffer[0], echo_message_buffer)
-         /* Or it's an echo from a different kboard.  */
+      && (/* It's an echo from a different kboard.  */
          || echo_kboard != current_kboard
          /* Or we explicitly allow overwriting whatever there is.  */
          || ok_to_echo_at_next_pause == NULL))



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]