From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick.r.chiang@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Date: Wed, 07 Oct 2020 08:33:17 -0400 Message-ID: <87lfgiw702.fsf@dick> References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21929"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 43834@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 07 14:34:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQ8e1-0005bf-Sm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 14:34:09 +0200 Original-Received: from localhost ([::1]:59472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ8e0-0000Bu-RP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 08:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQ8du-0000Bo-4l for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 08:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQ8dt-0006nv-RZ for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 08:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQ8dt-00083a-Ne for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 08:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dick.r.chiang@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43834 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160207400930926 (code B ref 43834); Wed, 07 Oct 2020 12:34:01 +0000 Original-Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 12:33:29 +0000 Original-Received: from localhost ([127.0.0.1]:55514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ8dM-00082k-NM for submit@debbugs.gnu.org; Wed, 07 Oct 2020 08:33:28 -0400 Original-Received: from mail-qv1-f65.google.com ([209.85.219.65]:35933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ8dH-00082U-Se for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 08:33:27 -0400 Original-Received: by mail-qv1-f65.google.com with SMTP id ev17so1007674qvb.3 for <43834@debbugs.gnu.org>; Wed, 07 Oct 2020 05:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=i9nEJHKGdpEgdiw6THMIA0UZYtCJJVpAoAP0GqZEpYY=; b=BbddtxkgvLx1TW/oS9K2Mm5tCzi/XR//h3yUz4sP6vmfiehgxlMU2Omhz/hugcp6Tc YNmqk+YNMC4UiGTc4uUIL4xqbyzlgck5yTxKFy5VlWIcJdPrcJR0/T+mQWv5SsD1T5Az QYdD+i5bxjYG+QQlqZGmTJdaeyQ7xXbjURmpeQjfJQtXxiL1nc5rQ419lNfFTaOkgKy+ Ddn59NBFVnjZRbY82DFq75E1AtterSLSUBf+UGRy861P5fktBn0/k4MQIELTmADKejZc 6tCUe7jzqSI8YiV1BFkr8NrDEMRL/ei01y31abOzNQ4cpNUOKsZNJ8Me9eF31fEoJHZp p98Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=i9nEJHKGdpEgdiw6THMIA0UZYtCJJVpAoAP0GqZEpYY=; b=DB7BsXUrbxlutNrCmRDjuXLXmp9EEKjmA7k4PiesesYsg7GG5EFHojQFO1AWLcNxPb ZqqDFH/1lI2j/ipwJjg9gKawDcl4VcTCkjWZQUkUgdECGbUghBzSk2mIQBA1gapFmxEZ UhGp3+z+2rx1JpTTJwKzMd/7tf4co6YFpCoKJUHNcXYZVcgYWRU6iC7cmVcafzj1DLz/ RtIb3rUrKM6meyK/jXJETMtDBV37UoDribh49xbm9QETBvo3a5X8kCvgdxV28O64x54k 63kXM8FJnqWx8kTeF4VqTlGpEvhEDgnyss69ALy2J+Cd+1KbVryCb92QpuDwA0mu2Nbc ZhYw== X-Gm-Message-State: AOAM5303a/MLYCdRbTbzhGULWy8bklvuFp2gwa0jQBTQU4Nyigdq2ygW jGwoPKqI0slGm8/pAAPgc1eFQXl0eVk= X-Google-Smtp-Source: ABdhPJwunp2VJy6i6e2aDyZx5rP3Hs2xkh9JKaPXBRPpeq5OOisJ8VarwRGlQQbCv2PDBwsF9Wp7Gg== X-Received: by 2002:a0c:f8cd:: with SMTP id h13mr2853859qvo.10.1602073998308; Wed, 07 Oct 2020 05:33:18 -0700 (PDT) Original-Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id f127sm1259780qke.133.2020.10.07.05.33.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Oct 2020 05:33:17 -0700 (PDT) In-Reply-To: <83y2ki8c0o.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Oct 2020 15:18:47 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190020 Archived-At: 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 writes: >> From: dick.r.chiang@gmail.com >> Cc: 43834@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?