From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: dick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2020 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43834 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 43834@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160200876416116 (code B ref -1); Tue, 06 Oct 2020 18:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2020 18:26:04 +0000 Received: from localhost ([127.0.0.1]:54112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPrf1-0004Br-Pt for submit@debbugs.gnu.org; Tue, 06 Oct 2020 14:26:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:52236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPrey-0004BR-ET for submit@debbugs.gnu.org; Tue, 06 Oct 2020 14:26:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPrex-00028U-HD for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 14:25:59 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:43495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPret-0005bH-4U for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 14:25:58 -0400 Received: by mail-qk1-x730.google.com with SMTP id c2so17742765qkf.10 for ; Tue, 06 Oct 2020 11:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=A+NvPqs+EZ7Yrax36KDZZpnA90cA2xFXprcBJo1FWCE=; b=do87UhzEIVUII7n6BBSKdp2RjR+txkUyquhopnlBlGr845DKl2qFov9Hqr/Mevc2n1 CpNVlwwsxc3Sd6ckdqrBOxROF3VN+gmX4Qz7Z5niPKmQQzvASKMWtB1NenAlQAGfHoD2 6DbzJBnzYwYWUJ/2/+xKbyanbwPijTfRz5V2Vu7X7S58v2SLCoFO3a3N28yKhVFMLydG JRkka5wsMWCA8i+k4FpOJXd2nPmA3IVCUHoHUkCFIG7GP+dHwIBxZqvINkjBBjTQWQU1 2OUC0wK7EIPF2UGuQiIJVW43QH1UIv04fFz7dbOqdmDbdYCWjU4Ipu8iLg5OLLVQBPw4 ZatA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=A+NvPqs+EZ7Yrax36KDZZpnA90cA2xFXprcBJo1FWCE=; b=cLa6i0dyIiQvM2ul4aGcBeDWkEd1uZHi9L7OKjK1GNTndf+wzD7uNr4IBEK/N4g4ll Q2YvA8fQlTr/YOb3/KUSL1M9iuDpSSOodBfvUXZJ+K7xVBz90qzzgUNC6okfqZdc1USC 97rCw999xA+YzkcQnO1PUptm1KMt6F0nPeIftUDNGKCn9qGQIxw7dpIbai7PM+ju35d7 1xricCkDyvZQ6DzIKmeEZa4xq3Gj7GpPPTzz1UgKqSJ7kz7g7naTzHdFPu9rZlWvVPK/ GVt/qao0/ni3rxcGjjJU7I5i2intG6JZDLpKOYUY3Srl5oDeC9lOIq2KfgTK2qyboVo5 v+3Q== X-Gm-Message-State: AOAM531Q0zTimDJrhqH57hZeQ1DA94+YTipLYqpcNnhApYpzMFc08hGF 6pHhqH7F19+L3AmbxkmiRWeov6Dpd50= X-Google-Smtp-Source: ABdhPJwnu8W6SzHovlHFBAvgJKLLSoRuUnu2gkb/NH8oUvHIAxANK8nTxkVhKOnanps7c8rsrdk64A== X-Received: by 2002:a37:508:: with SMTP id 8mr2362077qkf.207.1602008752594; Tue, 06 Oct 2020 11:25:52 -0700 (PDT) Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id i26sm2989379qte.90.2020.10.06.11.25.51 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Oct 2020 11:25:51 -0700 (PDT) From: dick Date: Tue, 06 Oct 2020 14:25:50 -0400 Message-ID: <87y2kjgqj5.fsf@dick> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=dick.r.chiang@gmail.com; helo=mail-qk1-x730.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain emacs -Q -l cl-lib \ --eval "(let* (flag \ (proc (apply (function start-process) \"test\" nil \"sleep\" (list \"3\")))) \ (set-process-sentinel proc (lambda (&rest _args) (setq flag t))) \ (cl-assert (cl-loop repeat 10 \ until flag \ do (accept-process-output nil 0.5) \ finally return flag)) \ (message \"good!\"))" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Process-sentinels-need-to-work-under-X-and-commandli.patch >From cd25ae2e9f8cf1d155084c125dae4058fccb6544 Mon Sep 17 00:00:00 2001 From: dickmao Date: Tue, 6 Oct 2020 14:21:03 -0400 Subject: [PATCH] Process sentinels need to work under X and commandline This is also noted in https://emacs.stackexchange.com/questions/60408/\ process-sentinels-dont-run-during-init-in-gui-emacs * src/process.c (add_non_keyboard_read_fd): Make this a public function. (add_process_read_fd): Fold old, static add_non_keyboard_read_fd guts into here. * src/xsmfns.c (ice_conn_watch_CB): Call add_non_keyboard_read_fd. --- src/process.c | 15 ++++++++------- src/process.h | 1 + src/xsmfns.c | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/process.c b/src/process.c index 50c425077a..c7056e49da 100644 --- a/src/process.c +++ b/src/process.c @@ -469,8 +469,15 @@ add_read_fd (int fd, fd_callback func, void *data) fd_callback_info[fd].data = data; } +void +add_non_keyboard_read_fd (int fd, fd_callback func, void *data) +{ + add_read_fd(fd, func, data); + fd_callback_info[fd].flags &= ~KEYBOARD_FD; +} + static void -add_non_keyboard_read_fd (int fd) +add_process_read_fd (int fd) { eassert (fd >= 0 && fd < FD_SETSIZE); eassert (fd_callback_info[fd].func == NULL); @@ -479,12 +486,6 @@ add_non_keyboard_read_fd (int fd) fd_callback_info[fd].flags |= FOR_READ; if (fd > max_desc) max_desc = fd; -} - -static void -add_process_read_fd (int fd) -{ - add_non_keyboard_read_fd (fd); fd_callback_info[fd].flags |= PROCESS_FD; } diff --git a/src/process.h b/src/process.h index a783a31cb8..5660270e8f 100644 --- a/src/process.h +++ b/src/process.h @@ -284,6 +284,7 @@ pset_gnutls_cred_type (struct Lisp_Process *p, Lisp_Object val) typedef void (*fd_callback) (int fd, void *data); extern void add_read_fd (int fd, fd_callback func, void *data); +extern void add_non_keyboard_read_fd (int fd, fd_callback func, void *data); extern void delete_read_fd (int fd); extern void add_write_fd (int fd, fd_callback func, void *data); extern void delete_write_fd (int fd); diff --git a/src/xsmfns.c b/src/xsmfns.c index 203085e24f..2fd1177625 100644 --- a/src/xsmfns.c +++ b/src/xsmfns.c @@ -357,7 +357,7 @@ ice_conn_watch_CB (IceConn iceConn, IcePointer clientData, } ice_fd = IceConnectionNumber (iceConn); - add_read_fd (ice_fd, x_session_check_input, NULL); + add_non_keyboard_read_fd (ice_fd, x_session_check_input, NULL); } /* Create the client leader window. */ -- 2.26.2 --=-=-= Content-Type: text/plain In GNU Emacs 27.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2020-09-20 built on dick Repository revision: dff02e85245dfbbeea7d57dc1a753a9ba24616d5 Repository branch: gnus-dev-27 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.4 LTS Recent messages: # Mark set [2 times] Mark saved where search started Quit Mark set [2 times] previous-line: Beginning of buffer [7 times] Saving file /home/dick/emacs/.git/COMMIT_EDITMSG... Wrote /home/dick/emacs/.git/COMMIT_EDITMSG Git finished Configured using: 'configure --prefix=/home/dick/.local --with-rsvg=yes --with-xml2=yes PKG_CONFIG_PATH=/home/dick/.local/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: beacon-mode: t pyvenv-mode: t show-paren-mode: t global-magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t flx-ido-mode: t projectile-mode: t ido-everywhere: t override-global-mode: t shell-dirtrack-mode: t global-hl-line-mode: t winner-mode: t cl-old-struct-compat-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/dick/ESS/lisp/obsolete/ess-swv hides /home/dick/ESS/lisp/ess-swv /home/dick/ESS/lisp/obsolete/ess-rutils hides /home/dick/ESS/lisp/ess-rutils /home/dick/ESS/lisp/obsolete/ess-noweb hides /home/dick/ESS/lisp/ess-noweb /home/dick/ESS/lisp/obsolete/mouseme hides /home/dick/ESS/lisp/mouseme /home/dick/ESS/lisp/obsolete/ess-mouse hides /home/dick/ESS/lisp/ess-mouse /home/dick/ESS/lisp/obsolete/ess-noweb-mode hides /home/dick/ESS/lisp/ess-noweb-mode /home/dick/ESS/lisp/obsolete/make-regexp hides /home/dick/ESS/lisp/make-regexp /home/dick/ESS/lisp/obsolete/ess-r-a hides /home/dick/ESS/lisp/ess-r-a /home/dick/ESS/lisp/obsolete/ess-noweb-font-lock-mode hides /home/dick/ESS/lisp/ess-noweb-font-lock-mode /home/dick/gomacro-mode/gomacro-mode hides /home/dick/.emacs.d/elpa/gomacro-mode-20200326.1103/gomacro-mode /home/dick/ESS/lisp/julia-mode-latexsubs hides /home/dick/.emacs.d/elpa/julia-mode-20200717.1915/julia-mode-latexsubs /home/dick/ESS/lisp/julia-mode hides /home/dick/.emacs.d/elpa/julia-mode-20200717.1915/julia-mode /home/dick/.emacs.d/elpa/hydra-20170924.2259/lv hides /home/dick/.emacs.d/elpa/lv-20191106.1238/lv /home/dick/melpa-stats/melpa-stats hides /home/dick/.emacs.d/elpa/melpa-stats-20190720.1833/melpa-stats /home/dick/.emacs.d/elpa/async-20200113.1745/async-autoloads hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async-autoloads /home/dick/.emacs.d/elpa/async-20200113.1745/async-bytecomp hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async-bytecomp /home/dick/.emacs.d/elpa/async-20200113.1745/smtpmail-async hides /home/dick/.local/share/emacs/site-lisp/emacs-async/smtpmail-async /home/dick/.emacs.d/elpa/async-20200113.1745/dired-async hides /home/dick/.local/share/emacs/site-lisp/emacs-async/dired-async /home/dick/.emacs.d/elpa/async-20200113.1745/async hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async /home/dick/.emacs.d/elpa/async-20200113.1745/async-pkg hides /home/dick/.local/share/emacs/site-lisp/emacs-async/async-pkg /home/dick/.emacs.d/lisp/json hides /home/dick/.local/share/emacs/27.1/lisp/json /home/dick/.emacs.d/elpa/map-2.1/map hides /home/dick/.local/share/emacs/27.1/lisp/emacs-lisp/map Features: (shadow sort flyspell ispell footnote mail-extr emacsbug whitespace term disp-table ehelp debbugs-gnu debbugs soap-client rng-xsd xsd-regexp ivy delsel colir ivy-overlay dumb-jump f google-c-style package-x magit-gitignore magit-subtree mode-local nntwitter benchmark gnus-bcklg finder tar-mode arc-mode archive-mode pkg-info epl sh-script executable nntwitter-api shr-color eww deuglify gnus-async gnus-cite gnus-cus gnus-demon gnus-diary nndiary gnus-draft gnus-agent nnvirtual nntp gnus-cache nndraft nnmh gnus-dup gnus-fun gnus-html url-queue mm-url gnus-kill gnus-logic gnus-mh mh-comp mh-scan mh-gnus mh-e mh-compat mh-buffers mh-loaddefs gnus-registry registry gnus-salt gnus-score score-mode gnus-srvr gnus-topic gnus-uu yenc gnus-vm gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig sendmail nnir gnus-sum shr svg gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc gnus-spec gnus-int gnus-range gnus-win nnoo windmove vc vc-dispatcher make-mode rect apropos edebug webjump define-word rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode dom nxml-util nxml-enc xmltok jsonnet-mode pulse novice poly-rst rst ag vc-svn find-dired tabify beacon autoload lisp-mnt mm-archive network-stream url-cache magit-extras mule-util flycheck jka-compr let-alist go-eldoc gomacro-mode cl-print debug backtrace misearch multi-isearch company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-cmake company-xcode company-eclim company-css company-nxml company-bbdb company-go go-mode find-file ffap company-template company-c-headers es-mode yasnippet-snippets yasnippet company-capf elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django s elpy-refactor ein-markdown-mode timezone url-http url-auth url-gw nsm js ein-ipynb-mode ein-process ein-jupyter exec-path-from-shell ein-dev ein-notebook python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 ls-lisp ein-gat ein-python-send ein-traceback ein-shared-output ein-pytools ein-pager view ein-completer ein-notification ein-scratchsheet ein-worksheet poly-ein display-line-numbers polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat polymode-methods polymode-core polymode-classes eieio-custom eieio-base color ein-kill-ring ein-cell ein-output-area ein-kernelinfo ein-kernel ein-ipdb ein-events ein-websocket websocket bindat ein-file ein-node ewoc ein-notebooklist eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree ein-contents-api ein-query ein-log ein-classes ein-core request ein-utils deferred cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ein bug-reference face-remap paredit-ext paredit dired-x inf-ruby ruby-mode smie melpa-stats ht dash-functional anaphora a pp sx key-combo company haskell-interactive-mode haskell-presentation-mode haskell-process haskell-session haskell-compile haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme rx haskell-align-imports haskell-complete-module haskell-ghc-support etags fileloop generator dabbrev haskell-customize hydra lv use-package-ensure paren magit-patch-changelog magit-patch magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode git-commit transient magit-git magit-section magit-utils crm log-edit message rmc dired dired-loaddefs rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async pcase server dash flx-ido flx solarized-theme solarized-definitions projectile ibuf-ext ibuffer ibuffer-loaddefs grep gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr google-translate-default-ui google-translate-core-ui ido google-translate-core google-translate-tk google-translate-backend use-package-bind-key bind-key auto-complete popup cus-edit cus-start cus-load wid-edit ess-r-mode ess-r-flymake flymake-proc flymake warnings thingatpt ess-r-xref xref ess-trns ess-r-package shell pcomplete ess-r-completion ess-roxy ess-r-syntax ess-rd noutline outline easy-mmode hideshow ess-s-lang ess-help ess-mode ess-inf project format-spec ess-tracebug ess ess-utils ess-custom compile comint ansi-color emms-player-mplayer emms-player-simple emms emms-compat twittering-mode epa derived epg epg-config tls gnutls puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap advice xml cl fzf cl-extra help-mode use-package-core hl-line winner ring finder-inf howdoyou-autoloads json-reformat-autoloads json-snatcher-autoloads edmacro kmacro sml-mode-autoloads tornado-template-mode-autoloads info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2880413 334546) (symbols 48 65209 1) (strings 32 391673 78473) (string-bytes 1 10934304) (vectors 16 194278) (vector-slots 8 4212639 383542) (floats 8 1323 4153) (intervals 56 303446 16134) (buffers 1000 269)) --=-=-=-- From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2020 18:58:02 +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 To: dick Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160201067327224 (code B ref 43834); Tue, 06 Oct 2020 18:58:02 +0000 Received: (at 43834) by debbugs.gnu.org; 6 Oct 2020 18:57:53 +0000 Received: from localhost ([127.0.0.1]:54172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPs9p-000752-Cb for submit@debbugs.gnu.org; Tue, 06 Oct 2020 14:57:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPs9n-00074p-Qp for 43834@debbugs.gnu.org; Tue, 06 Oct 2020 14:57:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57504) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPs9i-0001DT-GL; Tue, 06 Oct 2020 14:57:46 -0400 Received: from [176.228.60.248] (port=1612 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kPs9h-00082M-Bq; Tue, 06 Oct 2020 14:57:46 -0400 Date: Tue, 06 Oct 2020 21:57:49 +0300 Message-Id: <83mu0z9o7m.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87y2kjgqj5.fsf@dick> (message from dick on Tue, 06 Oct 2020 14:25:50 -0400) References: <87y2kjgqj5.fsf@dick> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: dick > Date: Tue, 06 Oct 2020 14:25:50 -0400 > > emacs -Q -l cl-lib \ > --eval "(let* (flag \ > (proc (apply (function start-process) \"test\" nil \"sleep\" (list \"3\")))) \ > (set-process-sentinel proc (lambda (&rest _args) (setq flag t))) \ > (cl-assert (cl-loop repeat 10 \ > until flag \ > do (accept-process-output nil 0.5) \ > finally return flag)) \ > (message \"good!\"))" > > >From cd25ae2e9f8cf1d155084c125dae4058fccb6544 Mon Sep 17 00:00:00 2001 > From: dickmao > Date: Tue, 6 Oct 2020 14:21:03 -0400 > Subject: [PATCH] Process sentinels need to work under X and commandline > > This is also noted in > https://emacs.stackexchange.com/questions/60408/\ > process-sentinels-dont-run-during-init-in-gui-emacs > > * src/process.c (add_non_keyboard_read_fd): Make this a public function. > (add_process_read_fd): Fold old, static add_non_keyboard_read_fd guts > into here. > * src/xsmfns.c (ice_conn_watch_CB): Call add_non_keyboard_read_fd. I'm probably missing something, because I don't understand the rationale for your changes. Can you please elaborate on the rationale? Also, are your changes supposed to fix the problem reported at stackexchange, and if so, please also elaborate on that. Thanks. P.S. I'd prefer not to change the add_*_fd unless strictly necessary. It's okay to make a static function be extern, but can we please avoid other reshuffling? If necessary (but I'd like to understand why), I'd even prefer introducing a new function, rather than changing the existing ones. Specifically, I'd like to avoid the change of the semantics of add_non_keyboard_read_fd. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: dick.r.chiang@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2020 19:17: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 To: Eli Zaretskii Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160201178228944 (code B ref 43834); Tue, 06 Oct 2020 19:17:01 +0000 Received: (at 43834) by debbugs.gnu.org; 6 Oct 2020 19:16:22 +0000 Received: from localhost ([127.0.0.1]:54187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPsRi-0007Wl-IL for submit@debbugs.gnu.org; Tue, 06 Oct 2020 15:16:22 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:32898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPsRg-0007WU-5L for 43834@debbugs.gnu.org; Tue, 06 Oct 2020 15:16:22 -0400 Received: by mail-qt1-f181.google.com with SMTP id c23so6854884qtp.0 for <43834@debbugs.gnu.org>; Tue, 06 Oct 2020 12:16:20 -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=dVPvwhcM2VaRhZHUJjG0z+vmx4pLapuN8qByDvkNUls=; b=beTUhSCl3Ob2QlmhS8yXXYb8GlFiBVhXHM6L6oNPfbqYVx/hMvISo26HxKaHa6ZuYp sy3/bfHoI97ragvlhmM7457VO1v9CerxeuOJar+9Io6eHh7chSQtCQvNKAYh+9w2neJ1 dV1JuX7cFZhVpyaOY+Jw2TbE9gUz4rEWmJhAeKylxitG2ZP+XZczjPJ5IxeC+RmG4hmY mHcNFbLXLbVqPS0vANDvZh2bFNasw9Ksm55P18KO/H1C4dRGYmHt8aw/HfeZIASWPCpP F6Lk95oMlhV7vBXUGygJyHxwe6lK6Ze03TCkqiA544d0bcC3KBe8PieuCJCoiSjf08+h JkzA== 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=dVPvwhcM2VaRhZHUJjG0z+vmx4pLapuN8qByDvkNUls=; b=FKCkfNGXrTKeDgU2fU4NSDOQuHbsRncUtlobzGHQtsvqqKUByRw/BLFFhlEKMHqkeV aD+PZ66FkQOAUrVJnk3zz/nC7Q4S/q8kA5UaeaNS5Bwo5x5/mbBfyquNKjouwgpTCbFv BYnhHenvmNlCD4sdhGj+kU0Xn30JYGrX4h+t4Sjn7pGk1Tr5XqCwZSXwCgX1FUjpN4CY Ai+/PPYE+d9zjvprTZokMbZR5xhe2yLdKNSPrSlbU4VRJQj0LdoDVz0aPUHgUE91BtHp g56LR1E+wsj2uFVrNWQT60Sh4LjQ1fhFBmAuhcTgFK0gQnEocjuo3cFcZbZyWvCuKnoF NENw== X-Gm-Message-State: AOAM533ExzN4id4SXQP3XFr1cNlyWsxFlsl9H6cboa32tilpU9ed2/QX ykh+ybXLqXBhsjGJtm0IhGE= X-Google-Smtp-Source: ABdhPJyqhaXJ+I5riOTiBSYJ5KrkDivy8Tauk8BhKsYsoTVdxAdrdVUBx4A3orFmlXSLZ75RtysW1A== X-Received: by 2002:ac8:22da:: with SMTP id g26mr6616481qta.218.1602011774535; Tue, 06 Oct 2020 12:16:14 -0700 (PDT) Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id i70sm3286217qke.11.2020.10.06.12.16.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Oct 2020 12:16:13 -0700 (PDT) From: dick.r.chiang@gmail.com References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> Date: Tue, 06 Oct 2020 15:16:13 -0400 In-Reply-To: <83mu0z9o7m.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Oct 2020 21:57:49 +0300") Message-ID: <87y2kjyxky.fsf@dick> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Maintainer(s), The `emacs -Q` invocation demonstrates the process sentinel never fires upon the completion of the sleep `start-process`. Note this failure only occurs under X and when evaluating from the command line via `--eval` or `--funcall`. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 06:40:02 +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 To: dick.r.chiang@gmail.com Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160205277212658 (code B ref 43834); Wed, 07 Oct 2020 06:40:02 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 06:39:32 +0000 Received: from localhost ([127.0.0.1]:54882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ36q-0003I6-5d for submit@debbugs.gnu.org; Wed, 07 Oct 2020 02:39:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ36n-0003Ho-OF for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 02:39:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40653) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ36h-0004fg-Eo; Wed, 07 Oct 2020 02:39:24 -0400 Received: from [176.228.60.248] (port=4739 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQ36g-0006AB-Rr; Wed, 07 Oct 2020 02:39:23 -0400 Date: Wed, 07 Oct 2020 09:39:28 +0300 Message-Id: <83k0w2a6an.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87y2kjyxky.fsf@dick> (dick.r.chiang@gmail.com) References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: dick.r.chiang@gmail.com > Cc: 43834@debbugs.gnu.org > Date: Tue, 06 Oct 2020 15:16:13 -0400 > > Maintainer(s), > > The `emacs -Q` invocation demonstrates the process sentinel never fires upon > the completion of the sleep `start-process`. Note this failure only occurs > under X and when evaluating from the command line via `--eval` or `--funcall`. Thanks, I figured out that much. What I was asking for was a more detailed explanation why you propose to make the specific changes in your patches to fix that problem. IOW, how is the change in xsmfns.c supposed to remedy the problem you describe above? TIA From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: dick.r.chiang@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 11:33: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 To: Eli Zaretskii Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160207037025103 (code B ref 43834); Wed, 07 Oct 2020 11:33:01 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 11:32:50 +0000 Received: from localhost ([127.0.0.1]:55455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ7gf-0006Wo-Tw for submit@debbugs.gnu.org; Wed, 07 Oct 2020 07:32:50 -0400 Received: from mail-qv1-f46.google.com ([209.85.219.46]:39119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ7gc-0006SZ-Vp for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 07:32:48 -0400 Received: by mail-qv1-f46.google.com with SMTP id b19so905447qvm.6 for <43834@debbugs.gnu.org>; Wed, 07 Oct 2020 04:32:46 -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=bh8R1b8lPv2bYqe4bzzykXSPF12fjuCbMEr+js2dgN8=; b=sATeUjthOUSutwXP46G6XEQM62QdBT6iiufB70UKpaCbBFnFWFQ7WfsmXSjEUiuHn5 MxkWNolncJQXMNAi5P88873nET38v8Kx8RHZg8QC7UjfHZIy6iPyDtXD115bXhjIzcXS qwza2a2jMo3Mmbxn+mp+muv87X901DAWJPmhQecL+/aXlIGKL2LWq7AcUsRwO1eQgNc/ LFCni13otVSAL4AM8tYQsMCgLSqRonUzh9X2z/fXs9Il2dq14dILmCSufenQOBYZn5AI X/SPHKwmJu0w794QHqM+LclEmlFC4A9wR74ekvE7fMp+v1MxYA0z2X/tDVxtsgeas7Wp gsTw== 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=bh8R1b8lPv2bYqe4bzzykXSPF12fjuCbMEr+js2dgN8=; b=jB0Lia7sLlcVzzcXsBu+RwaQvzc5D5zqFowDMFb7DGm3kxsqGg5GL+4L6OvYAd5UCi AOVUfqiOh+FQSTuEKmatNcIQmzOHh0nX7uLZgfc01eFW5peoY2vpSvBB2hBiPtrsrJ63 Qktq9nGXNNqUBImc3cNYXNlCbp0tklaYCrHTCRrHTBk2D5W2Ml67bDLY3jj+R7d95922 4pT3kNiXPYPuPm8AUPx93DGZp3ZMDl6m/4x3ft0qOKaRTG0Xbs8Mp0c2kShUifLD4tGC Lo+hBHE1o11eqXyEg0lxjXbqa0g7r/risRvPJiRzibpj/N/rHd6C/EZ6ZUdN3qX24oTA 4XYw== X-Gm-Message-State: AOAM531iKiwpfwDc0+mGDjtJ0OStZqwYdcax6EgbFqczPjF8HOtI0+2w VJy3NGzOwHeHxszrUabD5uE= X-Google-Smtp-Source: ABdhPJx9Aogm3yOPjUN9E51SNdQ53bH2qAV7PWqoxUkxL+Vmj2vBRubvs4Xf60rPGv11BOukhuID1Q== X-Received: by 2002:a0c:a601:: with SMTP id s1mr2514961qva.57.1602070361328; Wed, 07 Oct 2020 04:32:41 -0700 (PDT) Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id t10sm1145843qkt.55.2020.10.07.04.32.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Oct 2020 04:32:40 -0700 (PDT) From: dick.r.chiang@gmail.com References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> Date: Wed, 07 Oct 2020 07:32:39 -0400 In-Reply-To: <83k0w2a6an.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Oct 2020 09:39:28 +0300") Message-ID: <87pn5uw9t4.fsf@dick> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 12:19: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 To: dick.r.chiang@gmail.com Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160207312829519 (code B ref 43834); Wed, 07 Oct 2020 12:19:01 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 12:18:48 +0000 Received: from localhost ([127.0.0.1]:55509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ8PA-0007g3-DJ for submit@debbugs.gnu.org; Wed, 07 Oct 2020 08:18:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ8P8-0007fo-Uz for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 08:18:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43870) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ8P3-000458-Eo; Wed, 07 Oct 2020 08:18:41 -0400 Received: from [176.228.60.248] (port=1669 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQ8P2-0003Ov-LF; Wed, 07 Oct 2020 08:18:41 -0400 Date: Wed, 07 Oct 2020 15:18:47 +0300 Message-Id: <83y2ki8c0o.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87pn5uw9t4.fsf@dick> (dick.r.chiang@gmail.com) References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line 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 To: Eli Zaretskii Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160207400930926 (code B ref 43834); Wed, 07 Oct 2020 12:34:01 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 12:33:29 +0000 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 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 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) 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) From: dick.r.chiang@gmail.com References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> Date: Wed, 07 Oct 2020 08:33:17 -0400 In-Reply-To: <83y2ki8c0o.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Oct 2020 15:18:47 +0300") Message-ID: <87lfgiw702.fsf@dick> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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? From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 13:20:02 +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 To: dick.r.chiang@gmail.com Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.16020767742726 (code B ref 43834); Wed, 07 Oct 2020 13:20:02 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 13:19:34 +0000 Received: from localhost ([127.0.0.1]:55587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ9Lx-0000hu-Qy for submit@debbugs.gnu.org; Wed, 07 Oct 2020 09:19:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ9Lu-0000hg-N7 for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 09:19:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44729) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ9Lp-0003hf-EZ; Wed, 07 Oct 2020 09:19:25 -0400 Received: from [176.228.60.248] (port=1516 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQ9Lo-0002eA-Rq; Wed, 07 Oct 2020 09:19:25 -0400 Date: Wed, 07 Oct 2020 16:19:30 +0300 Message-Id: <83tuv6897h.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87lfgiw702.fsf@dick> (dick.r.chiang@gmail.com) References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> <87lfgiw702.fsf@dick> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: dick.r.chiang@gmail.com > Cc: 43834@debbugs.gnu.org > 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 OK, so how does this get fixed later in the session, since status_notify does run, and process sentinels do get called in general? IOW, which code does flush the descriptor whose watch is installed by ice_conn_watch_CB, and which event triggers that? Thanks. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: dick.r.chiang@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 13:45:02 +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 To: Eli Zaretskii Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.16020782675073 (code B ref 43834); Wed, 07 Oct 2020 13:45:02 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 13:44:27 +0000 Received: from localhost ([127.0.0.1]:55608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ9k2-0001Jl-N4 for submit@debbugs.gnu.org; Wed, 07 Oct 2020 09:44:26 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:35531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ9jz-0001JV-CU for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 09:44:24 -0400 Received: by mail-qt1-f176.google.com with SMTP id o21so1842436qtp.2 for <43834@debbugs.gnu.org>; Wed, 07 Oct 2020 06:44: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=upABsW3ASG8DIbNus1cjYpyhDeKiVbnkt6CiEPnb8vE=; b=UInMTAgONI6QuCPy85gmVCmcu5KixblBvkupkBgUugJx1itmU+4RPUtNaF8xdETiRE 84QmFqLeEKUEi7A24M4wGmDKhDvBqs8ut+R1h81gMuZgansL13D+upkywe2IKBTZWPSn QHSj88rLdcp4aj35IV+wchhIs7keBI4yDn3BWLV2a0Glu2MrhqyPGEtZyYCtkkZ0qihR OhzVRzo3f9RTJqKSDgoc1vR1Hw5Txl5dN6vXCYU75YCwd+sI9xQjdYxIPJZ5DO79jJHy 1TV6AhFqFHw6s3j2jcM47wMZ3vF9PUI1iAkwxpX4pPuyp+VuRGlPyzrjbaIusTBIp9De 7CzQ== 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=upABsW3ASG8DIbNus1cjYpyhDeKiVbnkt6CiEPnb8vE=; b=euVog3m9Qn5zR2v0CdVUUkSKU3pUKZls3YrD5f7UHZuSVZBrlGkBP4WMZ8thbSZKQP HaP92AC6+Pun7AP7hQs+ksFd+Xzu3eK4UCuNcG+wUOCbk9dNH3Q485JVM/8omNNwNBHv uIxBQb25ZohtpQ4ZJr6bqUObV8UBWPcTckRkyCjPzt2RNqWEVdku3J+Zx8nWnhLSQKK/ 6DJnUs3dJA+z60EooqoznMrpLRClm4rfBmM3/t+2mwmXQ4WW1NcBquB31iFBUfsoXn37 frK2VmpJyb6aL+dTOlFRO5BJUGIJ11rCu2VmPehMi0QF7jQBIrHlxQ3iHuW4tjmQmyG3 6W5g== X-Gm-Message-State: AOAM533oL2BrPCQfYpdylw8viRw83ElnDKm/s43TTQrATsF1dz7eDOqY W3oAmfg6sOyxGog7ifrVZyg= X-Google-Smtp-Source: ABdhPJxAls39MJSQTD7TP6+B6yAkUF21u6U2aiYojWbtMQVicFo8BVQ1yCNjnE+knlFsBA8SD093lA== X-Received: by 2002:ac8:1093:: with SMTP id a19mr3244497qtj.319.1602078257795; Wed, 07 Oct 2020 06:44:17 -0700 (PDT) Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id p21sm1630652qtf.5.2020.10.07.06.44.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Oct 2020 06:44:17 -0700 (PDT) From: dick.r.chiang@gmail.com References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> <87lfgiw702.fsf@dick> <83tuv6897h.fsf@gnu.org> Date: Wed, 07 Oct 2020 09:44:16 -0400 In-Reply-To: <83tuv6897h.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Oct 2020 16:19:30 +0300") Message-ID: <87h7r6w3pr.fsf@dick> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I don't know. As soon as control enters the read-eval-print loop, that ICE descriptor no longer gets in the way. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 14:18:02 +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 To: dick.r.chiang@gmail.com Cc: 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.160208022918290 (code B ref 43834); Wed, 07 Oct 2020 14:18:02 +0000 Received: (at 43834) by debbugs.gnu.org; 7 Oct 2020 14:17:09 +0000 Received: from localhost ([127.0.0.1]:57641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQAFg-0004kv-ML for submit@debbugs.gnu.org; Wed, 07 Oct 2020 10:17:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQAFe-0004kL-5n for 43834@debbugs.gnu.org; Wed, 07 Oct 2020 10:17:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45555) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQAFY-0002OJ-N5; Wed, 07 Oct 2020 10:17:00 -0400 Received: from [176.228.60.248] (port=1298 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQAFX-0002aR-Kq; Wed, 07 Oct 2020 10:17:00 -0400 Date: Wed, 07 Oct 2020 17:17:05 +0300 Message-Id: <83pn5u86ji.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87h7r6w3pr.fsf@dick> (dick.r.chiang@gmail.com) References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> <87lfgiw702.fsf@dick> <83tuv6897h.fsf@gnu.org> <87h7r6w3pr.fsf@dick> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: dick.r.chiang@gmail.com > Cc: 43834@debbugs.gnu.org > Date: Wed, 07 Oct 2020 09:44:16 -0400 > > I don't know. As soon as control enters the read-eval-print loop, that ICE > descriptor no longer gets in the way. OK, thanks. I think this is enough to figure the rest out. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2021 10:53: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 To: Eli Zaretskii Cc: dick.r.chiang@gmail.com, 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.162090316418664 (code B ref 43834); Thu, 13 May 2021 10:53:01 +0000 Received: (at 43834) by debbugs.gnu.org; 13 May 2021 10:52:44 +0000 Received: from localhost ([127.0.0.1]:41437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh8xP-0004qy-U2 for submit@debbugs.gnu.org; Thu, 13 May 2021 06:52:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh8xM-0004qj-HF for 43834@debbugs.gnu.org; Thu, 13 May 2021 06:52:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VtPL2YakuVYRD08eaWHFtOuYkegIWGO+6aXzg5yZswk=; b=gHxm35F35IFZQedT6u83Y4Ii5O vq0GsTiPNTtt65DIJdajrJQwBm3uw+cKoNvFC1psPu86Vy2RrHLalGu/w3Kjq7B0rvoNjqUajXr4t g1OGj4OhbXiyes+ujfXN1hlt/sSnatb1v6eMKJxGSF6aPHXxzAzuUdTGs3IJKxMlXEn0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lh8xD-0003gE-9O; Thu, 13 May 2021 12:52:33 +0200 From: Lars Ingebrigtsen References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> <87lfgiw702.fsf@dick> <83tuv6897h.fsf@gnu.org> <87h7r6w3pr.fsf@dick> <83pn5u86ji.fsf@gnu.org> X-Now-Playing: Martina Topley-Bird's _Quixotic_: "Anything" Date: Thu, 13 May 2021 12:52:30 +0200 In-Reply-To: <83pn5u86ji.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Oct 2020 17:17:05 +0300") Message-ID: <87a6oyrjm9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> I don't know. As soon as control enters the read-eval-print loop, that ICE >> descriptor no longer gets in the way. > > OK, thanks. I think this is enough to figure the rest out. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> I don't know. As soon as control enters the read-eval-print loop, that ICE >> descriptor no longer gets in the way. > > OK, thanks. I think this is enough to figure the rest out. Eli, did you have any further comments here? I've tried the test case, and the current trunk still fails (and Dick's patch fixes the issue). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2021 12:23:02 +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 To: Lars Ingebrigtsen Cc: dick.r.chiang@gmail.com, 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.162090855028334 (code B ref 43834); Thu, 13 May 2021 12:23:02 +0000 Received: (at 43834) by debbugs.gnu.org; 13 May 2021 12:22:30 +0000 Received: from localhost ([127.0.0.1]:41589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhAMI-0007Mv-5O for submit@debbugs.gnu.org; Thu, 13 May 2021 08:22:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhAMG-0007Mk-M8 for 43834@debbugs.gnu.org; Thu, 13 May 2021 08:22:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41220) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhAMB-0002Oy-0O; Thu, 13 May 2021 08:22:23 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3066 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhAMA-0000Lz-Dc; Thu, 13 May 2021 08:22:22 -0400 Date: Thu, 13 May 2021 15:22:31 +0300 Message-Id: <83eeea2588.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87a6oyrjm9.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 13 May 2021 12:52:30 +0200) References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> <87lfgiw702.fsf@dick> <83tuv6897h.fsf@gnu.org> <87h7r6w3pr.fsf@dick> <83pn5u86ji.fsf@gnu.org> <87a6oyrjm9.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: dick.r.chiang@gmail.com, 43834@debbugs.gnu.org > Date: Thu, 13 May 2021 12:52:30 +0200 > > Eli Zaretskii writes: > > >> I don't know. As soon as control enters the read-eval-print loop, that ICE > >> descriptor no longer gets in the way. > > > > OK, thanks. I think this is enough to figure the rest out. > > Eli, did you have any further comments here? I've tried the test case, > and the current trunk still fails (and Dick's patch fixes the issue). No, I have nothing more to contribute here, so if the change looks OK to you, feel free to install it. From unknown Wed Sep 10 18:55:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43834: 27.1; [PATCH] Sentinels under X and command line Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2021 13:23:02 +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 To: Eli Zaretskii Cc: dick.r.chiang@gmail.com, 43834@debbugs.gnu.org Received: via spool by 43834-submit@debbugs.gnu.org id=B43834.16209121531536 (code B ref 43834); Thu, 13 May 2021 13:23:02 +0000 Received: (at 43834) by debbugs.gnu.org; 13 May 2021 13:22:33 +0000 Received: from localhost ([127.0.0.1]:41693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBIP-0000Oi-5t for submit@debbugs.gnu.org; Thu, 13 May 2021 09:22:33 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBIO-0000OT-9C for 43834@debbugs.gnu.org; Thu, 13 May 2021 09:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yg73j2WSX7QHQdZWQIjZgrGn1gkzszOSTXdILOweh2w=; b=jEjNTE5BFYtRpixUZq7wMhwsWW iPqfGv3CZQHaDUc1jCRLwjZgRpXzl6QWhr5GbLzr15RR0068OH6p9/ORMObwAeVy9mnTtvHxxlVLS WInOhfOQ6RA0/hPE0Qmebn0I0OC2NTME8LVeoUtis+TJg7AtR+78cAvR7k+ByrgzI2cg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhBIF-0005jG-4v; Thu, 13 May 2021 15:22:25 +0200 From: Lars Ingebrigtsen References: <87y2kjgqj5.fsf@dick> <83mu0z9o7m.fsf@gnu.org> <87y2kjyxky.fsf@dick> <83k0w2a6an.fsf@gnu.org> <87pn5uw9t4.fsf@dick> <83y2ki8c0o.fsf@gnu.org> <87lfgiw702.fsf@dick> <83tuv6897h.fsf@gnu.org> <87h7r6w3pr.fsf@dick> <83pn5u86ji.fsf@gnu.org> <87a6oyrjm9.fsf@gnus.org> <83eeea2588.fsf@gnu.org> X-Now-Playing: Tied + Tickled Trio's _Aelita_: "A Rocket Debris Cloud Drifts" Date: Thu, 13 May 2021 15:22:21 +0200 In-Reply-To: <83eeea2588.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 13 May 2021 15:22:31 +0300") Message-ID: <87a6oyojjm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > No, I have nothing more to contribute here, so if the change looks OK > to you, feel free to install it. It makes sense to me, so I've now pushed it to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > No, I have nothing more to contribute here, so if the change looks OK > to you, feel free to install it. It makes sense to me, so I've now pushed it to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 13 09:22:38 2021 Received: (at control) by debbugs.gnu.org; 13 May 2021 13:22:38 +0000 Received: from localhost ([127.0.0.1]:41696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBIU-0000Oz-DL for submit@debbugs.gnu.org; Thu, 13 May 2021 09:22:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBIT-0000Ob-26 for control@debbugs.gnu.org; Thu, 13 May 2021 09:22:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=p10HinLEQADDhjZdFH2tpgn88AmQQCDwAbR20Ps1oK0=; b=ppbRVxPtG5W0Mp7KUlHH1HxOgE zV0CMQrjPTLH6+NiAW2uvNoKscTvTZk5rQ+AoROadsMsDuqHCby3i+L71+fnebEuyjyYJZWl1mRvY uGxcRlSto6FUffde1foleyGdOrPXFh0aIU5PT7wyK1xmMfrP+TPGTVoX8uBFLb7BhEqI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhBIL-0005jR-LG for control@debbugs.gnu.org; Thu, 13 May 2021 15:22:31 +0200 Date: Thu, 13 May 2021 15:22:29 +0200 Message-Id: <878s4iojje.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43834 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 43834 fixed close 43834 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 43834 fixed close 43834 28.1 quit