bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50775: ispell help message times out before most people can read it


From: Juri Linkov
Subject: bug#50775: ispell help message times out before most people can read it
Date: Fri, 24 Sep 2021 18:39:03 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> EZ> For me, it times out in 5 sec, not one.
>>
>> In fact you're right!
>>
>> But it is way to short for many of us.
>
> It's a simple matter of increasing the timeout, since when the user
> touches any key, the help goes away.

I have another problem with ispell timeouts: oftentimes text contains
characters that mismatch the charsets used by ispell.  Then ispell
waits 5 sec for every such character to display a useless error message.
I used such change to minimize the time spent looking at these messages:

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index b650ab3871..f940dad460 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2723,7 +2723,7 @@ ispell-parse-output
    ((equal 0 (string-match "[\ra-zA-Z]" output))
     (ding)                             ; error message from ispell!
     (message "Ispell error: %s" output)
-    (sit-for 5)
+    (sit-for 1)
     nil)
    (t                                  ; need to process &, ?, and #'s
     (let ((type (aref output 0))       ; &, ?, or #
-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]