[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug with key echo.
From: |
David Kastrup |
Subject: |
Re: Bug with key echo. |
Date: |
Tue, 01 Feb 2005 16:45:52 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> Execute the following two commands.
>
> (define-key ctl-x-map "\C-p" nil)
> (define-key ctl-x-map "\C-p\C-p" (lambda nil (interactive) (y-or-n-p
> "Woozle ")))
>
> Now type C-x C-p and wait until the key echo appears. Then type C-p
> again.
>
> Does this fix it?
>
> *** xdisp.c 29 Jan 2005 11:51:48 -0500 1.974
> --- xdisp.c 01 Feb 2005 05:44:57 -0500
> ***************
> *** 8085,8090 ****
> --- 8085,8091 ----
>
> /* Last displayed message is now the current message. */
> echo_area_buffer[1] = echo_area_buffer[0];
> + echo_message_buffer = Qnil;
>
> /* Prevent redisplay optimization in redisplay_internal by resetting
> this_line_start_pos. This is done because the mini-buffer now
It appears to do so for the real-world case from which I distilled the
above bug recipe. I have not tested thoroughly for side effects,
though.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum