From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 38035@debbugs.gnu.org, rms@gnu.org
Subject: bug#38035: 27.0.50; Trivial errors in process filters can render Emacs unusable
Date: Fri, 08 Nov 2019 21:42:35 +0100 [thread overview]
Message-ID: <87eeyi5cck.fsf@gnus.org> (raw)
In-Reply-To: <83d0e8j3it.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Nov 2019 19:03:38 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> Bu I do wonder about the need for the sleep when signalling errors from
>> a process filter in particular. For instance
>>
>> (run-at-time 1 1 (lambda () (error)))
>>
>> doesn't pause Emacs at all, but just displays the error as normal, which
>> seems, well, more normal to me. What's so special about filter errors
>> that you have to pause Emacs?
>
> I guess the idea was to make sure the message is seen, not obscured
> right away.
But we don't do this with errors that happen in other circumstances --
just the filter errors, I think?
(And some errors are so annoying to deal with that we disabled them
immediately if they happen. For instance, if a function in
post-command-hook happens, we just remove the function immediately.)
So I think the sleep in the filter handling should be removed. (This is
in addition to disabling the filter upon some threshold or other.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-11-08 20:42 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-02 17:53 bug#38035: 27.0.50; Trivial errors in process filters can render Emacs unusable Lars Ingebrigtsen
2019-11-02 18:36 ` Eli Zaretskii
2019-11-02 18:38 ` Lars Ingebrigtsen
2019-11-02 18:40 ` Eli Zaretskii
2019-11-03 13:21 ` Richard Stallman
2019-11-03 14:52 ` Lars Ingebrigtsen
2019-11-03 15:51 ` Eli Zaretskii
2019-11-03 16:39 ` Lars Ingebrigtsen
2019-11-03 17:03 ` Eli Zaretskii
2019-11-08 20:42 ` Lars Ingebrigtsen [this message]
2019-11-08 20:50 ` Eli Zaretskii
2019-11-08 20:54 ` Lars Ingebrigtsen
2019-11-09 6:24 ` Eli Zaretskii
2019-11-09 20:34 ` Lars Ingebrigtsen
2019-11-14 8:58 ` Eli Zaretskii
2019-11-14 9:56 ` Lars Ingebrigtsen
2019-11-14 14:13 ` Eli Zaretskii
2019-11-15 7:53 ` Lars Ingebrigtsen
2019-11-04 3:55 ` Richard Stallman
2021-12-02 11:55 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eeyi5cck.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=38035@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).