Timeline for How to get keystrokes displayed in the echo area immediately?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 12, 2023 at 6:42 | comment | added | Ev Dolzhenko | On 28.2 (setq echo-keystrokes 0.01) works for me (-1 didn't) | |
| Apr 26, 2019 at 3:08 | vote | accept | jimmy | ||
| Dec 10, 2016 at 18:13 | comment | added | JeanPierre | @lawlist Oh, you're right I've been sloppy, it does not work for me on GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.1) of 2016-10-24, modified by Debian but does with GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-08 on binet, modified by Debian. | |
| Dec 10, 2016 at 18:08 | comment | added | lawlist | @JeanPierre -- (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 of 0 -- 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);} | |
| Dec 10, 2016 at 14:33 | comment | added | Dan | @JeanPierre : Neat! I didn't realize that! Seems like it should be in the documentation. | |
| Dec 10, 2016 at 14:24 | comment | added | JeanPierre | It turns out you can also set it to a negative value for immediate display (setq echo-keystrokes -1). | |
| Dec 10, 2016 at 13:28 | history | answered | Dan | CC BY-SA 3.0 |