From 95d8c8bde5303dd209fc8e130b3a79e83e2fb300 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Wed, 12 Jun 2024 22:39:03 +0000 Subject: Add preamble to echo-keystrokes assignment --- emacs/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 6ea5fc5..52e06f9 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -567,8 +567,8 @@ and when JID is not in `jabber-activity-banned'." ;; Tooltips are little popups next to the mouse cursor. I think this information is helpful, but i like it to appear in a more consistent position, because i find it frustrating when popups cover parts of the ui that i wanted to see. By disabling tooltip-mode, the contents that would be in a popup is instead shown in the echo area. (setopt tooltip-mode nil) -(setopt - echo-keystrokes 0.1) ;; show chord progress (almost) immediately +;; I see no reason not to immediately show which chords in a key sequence i have already pressed. Emacs does, however, and instead of letting me set the value of echo-keystrokes to zero to wait zero seconds to show that information, it repurposes zero as a method of disabling the functionality altogether, and provides no special functionality for setting it to nil that would explain why that's not an acceptable method of disabling a feature. Instead, i have to deal with setting it to nearly zero, and luckily i can't tell the difference. +(setopt echo-keystrokes 0.1) ;; A useful feature when programming is to show matching parentheses. Show-paren-mode is a global mode. By default it runs in all buffers except those inheriting from special mode. (setopt -- cgit 1.4.1-2-gfad0