GNU bug report logs - #49682
27.2.50; accept-process-output within accept-process-output hangs emacs

Previous Next

Package: emacs;

Reported by: Rajeev N <rajeev.jnk <at> sivalik.com>

Date: Wed, 21 Jul 2021 14:59:01 UTC

Severity: normal

Found in version 27.2.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: rajeev.jnk <at> sivalik.com, 49682 <at> debbugs.gnu.org
Subject: Re: bug#49682: 27.2.50; accept-process-output within
 accept-process-output hangs emacs
Date: Thu, 22 Jul 2021 08:47:28 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Rajeev N <rajeev.jnk <at> sivalik.com>,  49682 <at> debbugs.gnu.org
> Date: Wed, 21 Jul 2021 23:32:16 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> (let () (run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/"
> >> #'ignore) (diary-mail-entries))
> >
> > Don't do that, because it will hurt.  Mixing timers with subprocesses
> > is asking for trouble.
> 
> That's not my experience, really -- url-queue.el is based around firing
> off `url-retrieve' from timers, and I've never seen any problems.

Sheer luck, IMO.

I don't really understand the need to run subprocesses from timers,
since subprocess support already includes async operation and built-in
time-outs.




This bug report was last modified 1 year and 222 days ago.

Previous Next


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