How do I get keystrokes displayed in the echo area immediately?
For example: when I enter the key sequence C-u j
, it will not display in the echo area immediately, but then I press key k
, and I discover that I was making a typo beforehand. So, I think it will helpful for a newbie like me when I hit some keys to call a command for the echo area to show them immediately.
(setq echo-keystrokes -1)
. – JeanPierre Dec 10 '16 at 14:24(setq echo-keystrokes -1)
does not have the effect that you described in Emacs 25 built--with-ns
. Instead, it has the same effect as a value of0
-- i.e., don't echo at all. [This is GNU Emacs 25.1.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2016-09-17.] I also tested a build of the master-branch from earlier this year and had the same results.echo_keystrokes_p (void) {return (FLOATP (Vecho_keystrokes) ? XFLOAT_DATA (Vecho_keystrokes) > 0.0 : INTEGERP (Vecho_keystrokes) ? XINT (Vecho_keystrokes) > 0 : false);}
– lawlist Dec 10 '16 at 18:08GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.1) of 2016-10-24, modified by Debian
but does withGNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-08 on binet, modified by Debian
. – JeanPierre Dec 10 '16 at 18:13