GNU bug report logs -
#49682
27.2.50; accept-process-output within accept-process-output hangs emacs
Previous Next
Full log
Message #83 received at 49682 <at> debbugs.gnu.org (full text, mbox):
>>>>> In <83a5rq3hna.fsf <at> gnu.org>
>>>>> Eli Zaretskii <eliz <at> gnu.org> wrote:
ldb> The shr library uses url-queue to asynchronously download images
ldb> and Wanderlust also use `accept-process-output' call to handle
ldb> IMAP.
ldb>
ldb> For this particular case I used a dirty hack
ldb>
ldb> (define-advice accept-process-output
ldb> (:before (&rest _) sync-queue)
ldb> (when (fboundp 'url-queue-check-progress)
ldb> (funcall #'url-queue-check-progress)))
ldb>
ldb> However, could we make `accept-process-output' atomic so the
ldb> timer won't interrupt it? Or there is no reliable method yet to
ldb> make any atomic operations in Emacs yet?
Eli> If a Lisp program wants to avoid timers during the call to
Eli> accept-process-output, could perhaps temporarily bind timer-list
Eli> to nil or something?
Thank you, let Wanderlust maintainers know and figure out
changes needed to fix the problem.
---
ldbeth
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.