From unknown Fri Sep 05 20:55:11 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#30031: 27.0.50; (make-process :noquery t) doesn't work with stderr buffer
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 08 Jan 2018 20:27:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 30031
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 30031@debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.151544319527252
(code B ref -1); Mon, 08 Jan 2018 20:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 8 Jan 2018 20:26:35 +0000
Received: from localhost ([127.0.0.1]:41759 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1eYe09-00075S-7O
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46443)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1eYe07-00075G-As
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1eYe00-0001ca-Th
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:26 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51894)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from )
id 1eYe00-0001cI-Nl
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:24 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37404)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1eYdzz-0002uV-4S
for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2018 15:26:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1eYdzy-0001bC-0g
for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2018 15:26:23 -0500
Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:46582)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1eYdzx-0001aj-Nt
for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2018 15:26:21 -0500
Received: by mail-wm0-x22a.google.com with SMTP id r78so16538844wme.5
for ; Mon, 08 Jan 2018 12:26:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=jma5Ok8JeunXa3u0CNI1UNLmotqq6ReXt6L0ADRPkEA=;
b=EIAab6qYcK/j3j7CTS4lB1TWj6TgRGWviANDscCrTRuq0xglVpEw2o+5Edv90RSO+Q
XS8O0SQ/O/ciSfjckOpLB1JwDA4t3qBBnh9OIPt/brbd/NOYvVUfNDdSu24waAAamyc+
vRxxm6jZZ66mQKO3rqidG1i7KNaaC/ERLgebOJ39vtGXK9329eY5cGHi53o0xixeN5J4
Llo5m+mKRkhLTg3Qk/TRAK0cZ6tYDj9mNVszWf0iDZOY4RRczzo4Bqy8hBp5YunXkdlt
HjUfLgXLdbUe+WmdOUNWk6HsD0gRZ1WzgZuupCVnVrzDC3nbOwXtoSejUZaniBbSFxxd
FYfA==
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
:content-transfer-encoding;
bh=jma5Ok8JeunXa3u0CNI1UNLmotqq6ReXt6L0ADRPkEA=;
b=sYlZFSirF3qePDPWM57pe48NQVLb7fS7hfXq+Dte9KdW8cOzWkfLuPmKv/aaM+aRGb
D83s/zagNoIfcse07Sc63XW6IItvHTu7k+5tXcaMxnnrTdQYCF5aU/xnP5pDmkxDPcSP
VqarAayRJSf17bo/X88vG44Os++WJ3tMwGav+1cWAQLUULwgh0atwzYDSAYYp6VYKKOV
HiWwbRvI6f4i8JFxx7EnfqRvCwK0FirU5AHhy84QITarXmb1tv4u0vHwjsNP7r8lXX1c
EAFRur5TgfpOnEZ6NVnU3X+jlcLu+ElEGtn3wC3DJEvlUGXiBKDTRW7eQxkUqc/pXc9w
nO2Q==
X-Gm-Message-State: AKGB3mIEM47IuCCyF9fdRdGTSrbo4/Ibau6riI3O7Ez6iFcSfyxWaWSP
BiBTniOJlJsWCvrQCOgGTkkJQCkZ
X-Google-Smtp-Source: ACJfBotne8oeMVqUUCRo/KhMVu8+nPxHu4q40VHPbYpQzw4VlOGRuSHon/J/jJDDNSVYD/FHje0jIw==
X-Received: by 10.28.66.89 with SMTP id p86mr9107525wma.98.1515443179915;
Mon, 08 Jan 2018 12:26:19 -0800 (PST)
Received: from a.muc.corp.google.com ([2a00:79e0:15:4:bfda:710c:4a38:a674])
by smtp.gmail.com with ESMTPSA id 94sm2024689wri.48.2018.01.08.12.26.19
for
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Mon, 08 Jan 2018 12:26:19 -0800 (PST)
From: Philipp Stephani
Date: Mon, 08 Jan 2018 21:26:18 +0100
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
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.8 (---)
$ src/emacs -Q --eval '(progn (make-process :name "foo" :command (list "sle=
ep" "1h") :noquery t) (save-buffers-kill-emacs))'
works as expected, i.e. Emacs doesn't ask about terminating the process.
But:
$ src/emacs -Q --eval '(progn (make-process :name "foo" :command (list "sle=
ep" "1h") :noquery t :stderr (get-buffer-create "*stderr*")) (save-buffers-=
kill-emacs))'
will ask about terminating the process. Adding a buffer for stderr
shouldn't make a difference here.
In GNU Emacs 27.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.22.24)
of 2018-01-08 built on localhost
Repository revision: a0365437c9ee308ad7978e436631020f513b25e7
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04 LT=
S)
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --enable-gcc-warnings=3Dwarn-only
--enable-gtk-deprecation-warnings --without-pop --with-mailutils
--enable-checking --enable-check-lisp-object-type --with-modules
'CFLAGS=3D-O0 -ggdb3''
Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS FREETYPE XFT
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES JSON
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-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
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-util 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 menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame 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 minibuffer
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 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 95307 7361)
(symbols 48 20341 1)
(miscs 40 41 121)
(strings 32 28343 1417)
(string-bytes 1 756923)
(vectors 16 14129)
(vector-slots 8 499000 10720)
(floats 8 49 68)
(intervals 56 225 0)
(buffers 992 12))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado
If you received this communication by mistake, please don=E2=80=99t forward=
it to
anyone else (it may contain confidential or privileged information), please
erase all copies of it, including all attachments, and please let the sender
know it went to the wrong person. Thanks.
From unknown Fri Sep 05 20:55:11 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#30031: [PATCH] Inherit query-on-exit flag to stderr process (Bug#30031)
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 08 Jan 2018 20:54:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 30031
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: emacs-devel@gnu.org, 30031@debbugs.gnu.org
Cc: Philipp Stephani
Received: via spool by 30031-submit@debbugs.gnu.org id=B30031.151544483229620
(code B ref 30031); Mon, 08 Jan 2018 20:54:02 +0000
Received: (at 30031) by debbugs.gnu.org; 8 Jan 2018 20:53:52 +0000
Received: from localhost ([127.0.0.1]:41779 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1eYeQZ-0007hg-N7
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:53:51 -0500
Received: from mail-wr0-f174.google.com ([209.85.128.174]:46424)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1eYeQY-0007hS-24
for 30031@debbugs.gnu.org; Mon, 08 Jan 2018 15:53:50 -0500
Received: by mail-wr0-f174.google.com with SMTP id g21so6303952wrb.13
for <30031@debbugs.gnu.org>; Mon, 08 Jan 2018 12:53:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:cc:subject:date:message-id:in-reply-to:references;
bh=J8DuIjA/mTa7JXoVMvN1OK7TzYPuKzMheYo0EWn3pYQ=;
b=JkJBUSCvQnjzfIcNkKkhANEIapw758eD/HaCZvvEHRtcYud490hgDrwWwsnwOfNkN0
zA9e6zbJxU8ixhWzj86V2OVBSx/J8W0t5RVslgRdmxS7QWIemO6rsd2F1e+kZnl/arjd
UcywnycVYQZsJnuXogBRtA1oCzK2wlSIul6LCL7hdG7Ea39NgSJxCeIvDwEgG4TecSUJ
pdxdGE9tyr7Gp3m7Picx2XLtag7+hU7/h8NSk4hvn2kVn0cuGN5YqrWaT8f+k1k1EPQn
f96HNllodSl7mG62WzRP/SBfcPBwLN4onTLZ1Y/kgJmafHJI1O2O1FbD/NTrcoLNdC2h
p5ZQ==
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:date:message-id:in-reply-to
:references;
bh=J8DuIjA/mTa7JXoVMvN1OK7TzYPuKzMheYo0EWn3pYQ=;
b=QSX9jiHvU2wwRzUkPfI+J0fdLmXYz7VK1qNzxliKm30Ja3/hEui+sbcxHs93QEV5/v
d3z23IWfdQ8Or5CS7ld6egkDZO/6bkEI8DXbeN6QswLXWhbRNhHKH/gz+HRvksJw4kig
z8s3T2YUJERdPqRh7Cl+JcW40enGsXGJ9e0ys84E9QFok6eNcqYbkGuDhozOATLTsoXo
gAHsCCpn/8HUiNPM68yjs/9YTXpGasgufmL0MqSl+EGC3HeFJGLmvCc/X14lND83rLLO
7jZCL2+qYXfoo4WhFFYqZuvA9dyTMY8C6Z/VQGr0OPJrxUs6Ljp08MUDuuzB5Tw3vGL1
DcMA==
X-Gm-Message-State: AKGB3mJ2ngNfeTde5LAFr6KSNj+b0mzBQRGjptA8wET8nS61IfTX5RjU
5Jtav6NDIPw+2fClf6Cv4EA=
X-Google-Smtp-Source: ACJfBotc+bdsdizhPzXS+fZtPfokIJcFhaf744CLMiYPqcJWPg7Iy8cF+V60aZcqEBcIXbebBxeFDQ==
X-Received: by 10.223.131.70 with SMTP id 64mr12133308wrd.65.1515444824066;
Mon, 08 Jan 2018 12:53:44 -0800 (PST)
Received: from a.muc.corp.google.com ([2a00:79e0:15:4:bfda:710c:4a38:a674])
by smtp.gmail.com with ESMTPSA id h76sm15807482wmd.2.2018.01.08.12.53.43
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Mon, 08 Jan 2018 12:53:43 -0800 (PST)
From: Philipp Stephani
X-Google-Original-From: Philipp Stephani
Date: Mon, 8 Jan 2018 21:53:34 +0100
Message-Id: <20180108205334.211232-1-phst@google.com>
X-Mailer: git-send-email 2.16.0.rc0.223.g4a4ac83678-goog
In-Reply-To:
References:
X-Spam-Score: 0.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: 0.3 (/)
* src/process.c (Fmake_process): Have the pipe process honor the
parent's query-on-exit flag.
* test/src/process-tests.el (make-process/noquery-stderr): New test.
---
src/process.c | 8 ++++++--
test/src/process-tests.el | 19 +++++++++++++++++++
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/src/process.c b/src/process.c
index d4440e472d..e6465e2347 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1686,6 +1686,8 @@ usage: (make-process &rest ARGS) */)
if (!NILP (program))
CHECK_STRING (program);
+ bool query_on_exit = NILP (Fplist_get (contact, QCnoquery));
+
stderrproc = Qnil;
xstderr = Fplist_get (contact, QCstderr);
if (PROCESSP (xstderr))
@@ -1701,7 +1703,9 @@ usage: (make-process &rest ARGS) */)
QCname,
concat2 (name, build_string (" stderr")),
QCbuffer,
- Fget_buffer_create (xstderr));
+ Fget_buffer_create (xstderr),
+ QCnoquery,
+ query_on_exit ? Qnil : Qt);
}
proc = make_process (name);
@@ -1715,7 +1719,7 @@ usage: (make-process &rest ARGS) */)
pset_filter (XPROCESS (proc), Fplist_get (contact, QCfilter));
pset_command (XPROCESS (proc), Fcopy_sequence (command));
- if (tem = Fplist_get (contact, QCnoquery), !NILP (tem))
+ if (!query_on_exit)
XPROCESS (proc)->kill_without_query = 1;
if (tem = Fplist_get (contact, QCstop), !NILP (tem))
pset_command (XPROCESS (proc), Qt);
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 34309a5817..7d35560229 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -162,5 +162,24 @@ process-test-sentinel-wait-function-working-p
(error nil))))
(should (equal path samepath))))
+(ert-deftest make-process/noquery-stderr ()
+ "Checks that Bug#30031 is fixed."
+ (skip-unless (executable-find "sleep"))
+ (with-temp-buffer
+ (let* ((previous-processes (process-list))
+ (process (make-process :name "sleep"
+ :command '("sleep" "1h")
+ :noquery t
+ :connection-type 'pipe
+ :stderr (current-buffer))))
+ (unwind-protect
+ (let ((new-processes (cl-set-difference (process-list)
+ previous-processes
+ :test #'eq)))
+ (should new-processes)
+ (dolist (process new-processes)
+ (should-not (process-query-on-exit-flag process))))
+ (kill-process process)))))
+
(provide 'process-tests)
;; process-tests.el ends here.
--
2.16.0.rc0.223.g4a4ac83678-goog
From unknown Fri Sep 05 20:55:11 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#30031: [PATCH] Inherit query-on-exit flag to stderr process (Bug#30031)
Resent-From: Noam Postavsky
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 10 Jan 2018 14:37:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 30031
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Philipp Stephani
Cc: 30031@debbugs.gnu.org, Philipp Stephani
Received: via spool by 30031-submit@debbugs.gnu.org id=B30031.151559499631327
(code B ref 30031); Wed, 10 Jan 2018 14:37:01 +0000
Received: (at 30031) by debbugs.gnu.org; 10 Jan 2018 14:36:36 +0000
Received: from localhost ([127.0.0.1]:50388 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1eZHUa-000897-6o
for submit@debbugs.gnu.org; Wed, 10 Jan 2018 09:36:36 -0500
Received: from mail-it0-f42.google.com ([209.85.214.42]:45083)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1eZHUY-00088q-Em; Wed, 10 Jan 2018 09:36:34 -0500
Received: by mail-it0-f42.google.com with SMTP id x42so12447374ita.4;
Wed, 10 Jan 2018 06:36:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
:user-agent:mime-version;
bh=87K+8LMNsX/LC6rVL2krG6N7qouOebmPpHKOP950eco=;
b=nmg6kKIHHURwNMxDdTDnBfUeY8v+e2zxYvwnUb/dCFjpTTpDUlwbLtaMzH/C3x0dUP
owjHdXxBN8ZlIbS7JJwHHMtitkHCq52aK8oG+V2ZUfpAn/ulcdGkJ8IlbOZug3NFjuNj
qEj/w1ICCJdnlMAjB3u0pHsSLucqwllczE64dK2SHYTMbpzO/hFNY79H5J3yzfc1DiV6
SVZK3JfHiFT1hOB0LUQPo+YuGL115No+Cb2vq5XHKeywc+bvdmeOieB0Py4P18NyMkAW
hpbxNB0DN42CfHfrGp0sWH9g26rxb0kxAjWUFv+11ahih0AuhwR+AeeUfml0/ewtUt6R
u9+Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:from:to:cc:subject:references:date
:in-reply-to:message-id:user-agent:mime-version;
bh=87K+8LMNsX/LC6rVL2krG6N7qouOebmPpHKOP950eco=;
b=leZV8IangEZ4QNCFQR8UcjFBkbLfvqNXJB1kP7eQbb/wvZqqyoFVoK9W+zc2TPgNuo
tuxNe47W5EA0bW6hjTIwtheAWA0wAHAPEmT31akvynUJKKMPbQVkWWL1RtHfbL1oUIbk
9GvwjzdIBkM7kT7cDvff1sdrZMAntICfBZFocYACuPdSJkmZl16iiXDjfiezcUxEwI32
EFmDl47ps7fvhXJLp1joHx3LUQYPEPIvGqeSYmXnkPrvrBPAB9XDWLwXeK3j7BePxhPw
N6GHGD3C8C+snQQY2aV5vgLpmwlwmGVkhfmsyHa4D0UduSPSNgVtAe1yJ7U6an+D80pF
kT/g==
X-Gm-Message-State: AKGB3mIZKFN5/8eqixtZdYMezYpoOjW6MOEsaFHWQ/UfOiURsBdSoUoB
guXSRIyX2uO3ElCUYrZe42iptw==
X-Google-Smtp-Source: ACJfBoujmhYK+SebbOFtqWVUfgNN7hDXDyXtN1cWHJBzZQOWUH65aAHaxjn2Z/KLXt7fu1Lz2cJ9fQ==
X-Received: by 10.36.0.213 with SMTP id 204mr11764192ita.18.1515594988619;
Wed, 10 Jan 2018 06:36:28 -0800 (PST)
Received: from zebian ([45.2.119.34])
by smtp.googlemail.com with ESMTPSA id 72sm7001529itg.0.2018.01.10.06.36.27
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Wed, 10 Jan 2018 06:36:27 -0800 (PST)
From: Noam Postavsky
References:
<20180108205334.211232-1-phst@google.com>
Date: Wed, 10 Jan 2018 09:36:26 -0500
In-Reply-To: <20180108205334.211232-1-phst@google.com> (Philipp Stephani's
message of "Mon, 8 Jan 2018 21:53:34 +0100")
Message-ID: <87inc9pyqd.fsf@users.sourceforge.net>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
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: 0.5 (/)
found 30031 26.0.90
quit
Philipp Stephani writes:
> * src/process.c (Fmake_process): Have the pipe process honor the
> parent's query-on-exit flag.
Looks good to me. You marked the bug as 27.0.50, but it appears in
26.0.90 as well, and I think this should go to emacs-26.
From unknown Fri Sep 05 20:55:11 2025
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@gnu.org
From: help-debbugs@gnu.org (GNU bug Tracking System)
To: Philipp Stephani
Subject: bug#30031: closed (Re: bug#30031: [PATCH] Inherit query-on-exit
flag to stderr process (Bug#30031))
Message-ID:
References:
X-Gnu-PR-Message: they-closed 30031
X-Gnu-PR-Package: emacs
Reply-To: 30031@debbugs.gnu.org
Date: Wed, 10 Jan 2018 15:18:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1515597482-10515-1"
This is a multi-part message in MIME format...
------------=_1515597482-10515-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your bug report
#30031: 27.0.50; (make-process :noquery t) doesn't work with stderr buffer
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 30031@debbugs.gnu.org.
--=20
30031: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30031
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
------------=_1515597482-10515-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 30031-done) by debbugs.gnu.org; 10 Jan 2018 15:17:54 +0000
Received: from localhost ([127.0.0.1]:51148 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1eZI8Y-0002jI-Ma
for submit@debbugs.gnu.org; Wed, 10 Jan 2018 10:17:54 -0500
Received: from mail-qt0-f174.google.com ([209.85.216.174]:43169)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1eZI8W-0002j4-7n
for 30031-done@debbugs.gnu.org; Wed, 10 Jan 2018 10:17:53 -0500
Received: by mail-qt0-f174.google.com with SMTP id s3so6452687qtb.10
for <30031-done@debbugs.gnu.org>; Wed, 10 Jan 2018 07:17:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=k/wV+iLyo7/Tnz6UKz42HjkJwofJtszcD4Hnp7J/Z3Y=;
b=HLYrp+PQnckNjHEY5qvTbo1DZby/EItixtQZq6iQHyuy/T40yRCjfpTO65UQkDn8K8
XvXnWH16ex8DLOIsFi+g/7na4OQtdxpPXwR+WctTvpSvkdW360m7PQittrvrWwgsB2re
G82Mqiy9TmCgnBbrnp23UKL4RV7s9hRtG/2ymZscBPh7hGtzLw6YxBbtYjxe+jPlyG8Y
YrebqlVwPx+js/vUS8Zqw5ONmPDcdHNtgId38N5g9DVpwnR1dP7lcSTo3X9jSpRQGTz9
qO6JGAgUzBORi/gg1TYocGuhb0Xqu9aaNu9ohD9Pl3s+M3pbQlLpiVxNvYJsAmd5JO0L
eokA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=k/wV+iLyo7/Tnz6UKz42HjkJwofJtszcD4Hnp7J/Z3Y=;
b=nL54llhnCJwdYDrpwM7MiCd6X7hV2WpvUSBpUh9piQGp04AzN+faTXW8r9PF0Yl0EE
M7vSHh61dIH0n+omN1GpYc7bgDWZWXE9YK/CMVLycKgARrbdlGTiP9Ey4helJnRVRyBh
FV7wCOwnyXzOSkFrqjbCbcTxSLGp5EiZN73doLDdsUg7fuWmJs7kOZhl6x+ZQxkDHGb4
hSY6BoQP6lnVC8gDuw7LhK3Xb1HHp8rF3thfvIsnWeHCjioKze5K2zZFWvE61kpONGYX
VBI1+Gd89in2Hcstn99Q8jutkfxVgGxFwBrGl2X4HmsYFYrLO99zod98XvpJpBCy6Bj0
xz/g==
X-Gm-Message-State: AKwxytdgFs5tO15tmr45nf07fKbo0X0MqHKrpNJ0uXgfGuWXVububp3S
d0Ve4QqsN/r5F05iqXzUkxoTy/wJ7I7Yyq9xl9Q=
X-Google-Smtp-Source: ACJfBovWICADnssah9d5tkayVu9YX1H6qRA02kyrCOgNO51spqqgNxz/s+rgxPgxTrIVIKSHK3v9+B7vIT+kvum41Cc=
X-Received: by 10.200.35.186 with SMTP id q55mr25848505qtq.73.1515597466623;
Wed, 10 Jan 2018 07:17:46 -0800 (PST)
MIME-Version: 1.0
References:
<20180108205334.211232-1-phst@google.com>
<87inc9pyqd.fsf@users.sourceforge.net>
In-Reply-To: <87inc9pyqd.fsf@users.sourceforge.net>
From: Philipp Stephani
Date: Wed, 10 Jan 2018 15:17:35 +0000
Message-ID:
Subject: Re: bug#30031: [PATCH] Inherit query-on-exit flag to stderr process
(Bug#30031)
To: Noam Postavsky , 30031-done@debbugs.gnu.org
Content-Type: multipart/alternative; boundary="001a1140d2b89ee61005626d883b"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 30031-done
Cc: Philipp Stephani
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: 0.2 (/)
--001a1140d2b89ee61005626d883b
Content-Type: text/plain; charset="UTF-8"
Noam Postavsky schrieb am Mi., 10. Jan.
2018 um 15:36 Uhr:
> found 30031 26.0.90
> quit
>
> Philipp Stephani writes:
>
> > * src/process.c (Fmake_process): Have the pipe process honor the
> > parent's query-on-exit flag.
>
> Looks good to me. You marked the bug as 27.0.50, but it appears in
> 26.0.90 as well, and I think this should go to emacs-26.
>
Pushed to emacs-26 as 9c2b11484f.
--001a1140d2b89ee61005626d883b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
found 30031 26.0.90
quit
Philipp Stephani <p.stephani2@gmail.com> writes:
> * src/process.c (Fmake_process): Have the pipe process honor the
> parent's query-on-exit flag.
Looks good to me.=C2=A0 You marked the bug as 27.0.50, but it appears in
26.0.90 as well, and I think this should go to emacs-26.
Pushed to emacs-26 as=C2=A0=C2=A09c2b11484f.
<=
/div>
--001a1140d2b89ee61005626d883b--
------------=_1515597482-10515-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by debbugs.gnu.org; 8 Jan 2018 20:26:35 +0000
Received: from localhost ([127.0.0.1]:41759 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1eYe09-00075S-7O
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46443)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1eYe07-00075G-As
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1eYe00-0001ca-Th
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:26 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51894)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from )
id 1eYe00-0001cI-Nl
for submit@debbugs.gnu.org; Mon, 08 Jan 2018 15:26:24 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37404)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1eYdzz-0002uV-4S
for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2018 15:26:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1eYdzy-0001bC-0g
for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2018 15:26:23 -0500
Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:46582)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1eYdzx-0001aj-Nt
for bug-gnu-emacs@gnu.org; Mon, 08 Jan 2018 15:26:21 -0500
Received: by mail-wm0-x22a.google.com with SMTP id r78so16538844wme.5
for ; Mon, 08 Jan 2018 12:26:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=jma5Ok8JeunXa3u0CNI1UNLmotqq6ReXt6L0ADRPkEA=;
b=EIAab6qYcK/j3j7CTS4lB1TWj6TgRGWviANDscCrTRuq0xglVpEw2o+5Edv90RSO+Q
XS8O0SQ/O/ciSfjckOpLB1JwDA4t3qBBnh9OIPt/brbd/NOYvVUfNDdSu24waAAamyc+
vRxxm6jZZ66mQKO3rqidG1i7KNaaC/ERLgebOJ39vtGXK9329eY5cGHi53o0xixeN5J4
Llo5m+mKRkhLTg3Qk/TRAK0cZ6tYDj9mNVszWf0iDZOY4RRczzo4Bqy8hBp5YunXkdlt
HjUfLgXLdbUe+WmdOUNWk6HsD0gRZ1WzgZuupCVnVrzDC3nbOwXtoSejUZaniBbSFxxd
FYfA==
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
:content-transfer-encoding;
bh=jma5Ok8JeunXa3u0CNI1UNLmotqq6ReXt6L0ADRPkEA=;
b=sYlZFSirF3qePDPWM57pe48NQVLb7fS7hfXq+Dte9KdW8cOzWkfLuPmKv/aaM+aRGb
D83s/zagNoIfcse07Sc63XW6IItvHTu7k+5tXcaMxnnrTdQYCF5aU/xnP5pDmkxDPcSP
VqarAayRJSf17bo/X88vG44Os++WJ3tMwGav+1cWAQLUULwgh0atwzYDSAYYp6VYKKOV
HiWwbRvI6f4i8JFxx7EnfqRvCwK0FirU5AHhy84QITarXmb1tv4u0vHwjsNP7r8lXX1c
EAFRur5TgfpOnEZ6NVnU3X+jlcLu+ElEGtn3wC3DJEvlUGXiBKDTRW7eQxkUqc/pXc9w
nO2Q==
X-Gm-Message-State: AKGB3mIEM47IuCCyF9fdRdGTSrbo4/Ibau6riI3O7Ez6iFcSfyxWaWSP
BiBTniOJlJsWCvrQCOgGTkkJQCkZ
X-Google-Smtp-Source: ACJfBotne8oeMVqUUCRo/KhMVu8+nPxHu4q40VHPbYpQzw4VlOGRuSHon/J/jJDDNSVYD/FHje0jIw==
X-Received: by 10.28.66.89 with SMTP id p86mr9107525wma.98.1515443179915;
Mon, 08 Jan 2018 12:26:19 -0800 (PST)
Received: from a.muc.corp.google.com ([2a00:79e0:15:4:bfda:710c:4a38:a674])
by smtp.gmail.com with ESMTPSA id 94sm2024689wri.48.2018.01.08.12.26.19
for
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Mon, 08 Jan 2018 12:26:19 -0800 (PST)
From: Philipp Stephani
To: bug-gnu-emacs@gnu.org
Subject: 27.0.50; (make-process :noquery t) doesn't work with stderr buffer
Date: Mon, 08 Jan 2018 21:26:18 +0100
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
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.8 (---)
$ src/emacs -Q --eval '(progn (make-process :name "foo" :command (list "sle=
ep" "1h") :noquery t) (save-buffers-kill-emacs))'
works as expected, i.e. Emacs doesn't ask about terminating the process.
But:
$ src/emacs -Q --eval '(progn (make-process :name "foo" :command (list "sle=
ep" "1h") :noquery t :stderr (get-buffer-create "*stderr*")) (save-buffers-=
kill-emacs))'
will ask about terminating the process. Adding a buffer for stderr
shouldn't make a difference here.
In GNU Emacs 27.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.22.24)
of 2018-01-08 built on localhost
Repository revision: a0365437c9ee308ad7978e436631020f513b25e7
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04 LT=
S)
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --enable-gcc-warnings=3Dwarn-only
--enable-gtk-deprecation-warnings --without-pop --with-mailutils
--enable-checking --enable-check-lisp-object-type --with-modules
'CFLAGS=3D-O0 -ggdb3''
Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS FREETYPE XFT
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES JSON
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-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
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-util 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 menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame 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 minibuffer
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 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 95307 7361)
(symbols 48 20341 1)
(miscs 40 41 121)
(strings 32 28343 1417)
(string-bytes 1 756923)
(vectors 16 14129)
(vector-slots 8 499000 10720)
(floats 8 49 68)
(intervals 56 225 0)
(buffers 992 12))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado
If you received this communication by mistake, please don=E2=80=99t forward=
it to
anyone else (it may contain confidential or privileged information), please
erase all copies of it, including all attachments, and please let the sender
know it went to the wrong person. Thanks.
------------=_1515597482-10515-1--