GNU bug report logs - #43834
27.1; [PATCH] Sentinels under X and command line

Previous Next

Package: emacs;

Reported by: dick <dick.r.chiang <at> gmail.com>

Date: Tue, 6 Oct 2020 18:27:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: dick.r.chiang <at> gmail.com
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43834 <at> debbugs.gnu.org
Subject: Re: bug#43834: 27.1; [PATCH] Sentinels under X and command line
Date: Wed, 07 Oct 2020 08:33:17 -0400
It is related insofar as any read descriptor waiting to be flushed will
prevent status_notify() from running (this is why global-auto-revert-mode is a
bad idea as it introduces multiple inotify descriptors which, in your words,
can bring emacs "to its knees [and become] extremely unresponsive."

>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: dick.r.chiang <at> gmail.com
>> Cc: 43834 <at> debbugs.gnu.org
>> Date: Wed, 07 Oct 2020 07:32:39 -0400
>> 
>> xsmfns.c adds a "keyboard" read descriptor for /tmp/.ICE-unix which process.c
>> won't see when it calls compute_non_keyboard_wait_mask() in
>> wait_reading_process_output().  So make that read descriptor "non keyboard",
>> and it will no longer block status_notify() from running.

> Thank you.

> Can you explain how the descriptor for /tmp/.ICE-unix is related to running
> arbitrary subprocesses at startup?




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

Previous Next


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