GNU bug report logs -
#15332
Keystrokes's immediate echo only works every other time
Previous Next
Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>
Date: Wed, 11 Sep 2013 02:28:02 UTC
Severity: normal
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15332 in the body.
You can then email your comments to 15332 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15332
; Package
emacs
.
(Wed, 11 Sep 2013 02:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 11 Sep 2013 02:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
(Wed, 11 Sep 2013 02:42:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
bug acknowledged by developer.
(Wed, 11 Sep 2013 02:42:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 15332-done <at> debbugs.gnu.org (full text, mbox):
> 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))
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Oct 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 352 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.