|
From: | Juri Linkov |
Subject: | bug#17272: bug#19064: bug#17272: bug#19064: 25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it |
Date: | Thu, 21 Nov 2019 23:54:13 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>>> The first case is when doing completion, the message >>> "Making completion list..." is displayed in the minibuffer >>> for 2 seconds. I don't understand why this message is needed at all, >>> but at least this patch restores its previous behavior >>> that displays that message in the echo area and doesn't wait. >> >> Perhaps some completion functions can take a lot of time, so we message >> preemptively? We do a lot of the "just in case" messaging in Emacs, >> unfortunately. >> >> (There's a wishlist bug report in the bug tracker to add something like >> >> (with-delayed-message (0.5 "This sure is taking long...") >> (here-is-some-code)) >> >> that would only do the message if the body of the form takes longer than >> the timeout.) > > I see, it's in bug#22922 and bug#19776. But should the function itself report its own progress using progress-reporter-update?
[Prev in Thread] | Current Thread | [Next in Thread] |