GNU bug report logs - #45117
28.0.50; process-send-string mysteriously exiting non-locally when called from timer

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Tue, 8 Dec 2020 11:45:02 UTC

Severity: normal

Found in version 28.0.50

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #68 received at 45117 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: monnier <at> iro.umontreal.ca, 45117 <at> debbugs.gnu.org
Subject: Re: 28.0.50; process-send-string mysteriously exiting non-locally
 when called from timer
Date: Thu, 10 Dec 2020 21:55:06 +0200
> From: João Távora <joaotavora <at> gmail.com>
> Date: Thu, 10 Dec 2020 19:47:08 +0000
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 45117 <at> debbugs.gnu.org
> 
> > The reason, quite obviously, is to prevent user's C-g from aborting
> > the timer function.
> 
> I agree, but playing devil's advocate, can you expand on the
> rationale for that?  Why shouldn't timer functions be abortable?

I think that's the wrong question.  The right question is how probable
is it that the user presses C-g to abort a timer function that just
happens to run at this very moment.  I think the answer is "extremely
improbable".  It is much more probable that C-g was meant for
something else, some activity that is much more evident to the user.
Like getting out of the minibuffer after deciding that the command
does not need to be invoked after all, for example.




This bug report was last modified 4 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.