Received: (at 79853-done) by debbugs.gnu.org; 25 Nov 2025 20:31:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 25 15:31:42 2025 Received: from localhost ([127.0.0.1]:42301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vNzhL-0004fw-G1 for submit <at> debbugs.gnu.org; Tue, 25 Nov 2025 15:31:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49014) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vMlQP-0008KI-Rm for 79853-done <at> debbugs.gnu.org; Sat, 22 Nov 2025 06:05:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1vMlQC-0006wK-BZ; Sat, 22 Nov 2025 06:04:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yLSTUq2pk5J6YGG5EJzNuItQzdIurwlLEjDhZSTslgI=; b=ZovS0LNb3CeO nMNwhXcomA+FpAdpoD76Q7Odr7OkC5krummwaPTzRRd3dzbMpcdHQTwh+FiaJzpUmcnc2PfJ95tW5 fokh12mndVyoYj3W91Hbo41v1z4SPezK5Wt8cXyDBftwb/ywqcSAXa3uJFNC17aBRJB0k7WAORUJG 9cPhloKUzTgO+32Vm056x9GUsPgFnnjygmrNefH9GevrPorv4HNWTGsRbxwPa3a++gB/0n3APkvIo AG3HSmgYNqIQbAcTcWnbIEtKuV3cAY5bAt0J6oOFsAIxJcHBOigDJieVVFK1My+e7r8Ntz2Q1McQd hfJycAZJ4ZohNfvyWJ+yhg==; Date: Sat, 22 Nov 2025 13:04:41 +0200 Message-Id: <86ecpqfhva.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: john muhl <jm@HIDDEN> In-Reply-To: <878qg462zr.fsf@HIDDEN> (message from john muhl on Mon, 17 Nov 2025 10:24:56 -0600) Subject: Re: bug#79853: [PATCH] Fix non-interactive use of 'lua-start-process' References: <87frac63at.fsf@HIDDEN> <878qg462zr.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79853-done Cc: 79853-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: john muhl <jm@HIDDEN> > Date: Mon, 17 Nov 2025 10:24:56 -0600 > > >From fe040001acbf269f5a28bbe795dee8e36b4888e2 Mon Sep 17 00:00:00 2001 > From: john muhl <jm@HIDDEN> > Date: Mon, 17 Nov 2025 09:59:04 -0600 > Subject: [PATCH] Fix non-interactive use of 'lua-start-process' Thanks, installed on the master branch, and closing the bug.
john muhl <jm@HIDDEN>:Eli Zaretskii <eliz@HIDDEN>:
Received: (at 79853) by debbugs.gnu.org; 17 Nov 2025 16:25:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 17 11:25:16 2025
Received: from localhost ([127.0.0.1]:53435 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vL22V-0002OK-Mz
for submit <at> debbugs.gnu.org; Mon, 17 Nov 2025 11:25:16 -0500
Received: from flow-b2-smtp.messagingengine.com ([202.12.124.137]:34721)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1vL22T-0002M4-7x
for 79853 <at> debbugs.gnu.org; Mon, 17 Nov 2025 11:25:14 -0500
Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46])
by mailflow.stl.internal (Postfix) with ESMTP id 65DA51300113
for <79853 <at> debbugs.gnu.org>; Mon, 17 Nov 2025 11:25:07 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
by phl-compute-06.internal (MEProxy); Mon, 17 Nov 2025 11:25:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc
:content-type:content-type:date:date:from:from:in-reply-to
:in-reply-to:message-id:mime-version:references:reply-to:subject
:subject:to:to; s=fm3; t=1763396707; x=1763403907; bh=s9WxoEcJYU
flTuKylqAL2/QUoIFjsn7Wu/tasJ1VqfQ=; b=la6uzzIpx/ub5l5ET1c4u2+17w
3AxFoKG/RSF9PZjIeZN65kAXUsHpPzBI8SlKh3qG7W2vVzJRttF8Wso2s1XQdv2R
EqNKRTRedRlnxjDPkyiIs0ov32fkEs5BhsiKGDLgAR4RHafXDLeu8umxj5HWJtn2
vbVvdw34hnESHFleCG3mghi34/MG8gOG/U+TRtCftKmJSBUrvvFNsDip9FOa5QYE
H7mV4kkYrsT77Q69bEhAys5e/WkzKY0gW291zK7NbozaNGd/cAHT9+NMRVOyqjkk
6rYcFzyQ9zZV1QkUq6hTskJSexzn5ka9yduiKmsAQuaYKakpwm4XDwQzblgw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-type:content-type:date:date
:feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
:message-id:mime-version:references:reply-to:subject:subject:to
:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
1763396707; x=1763403907; bh=s9WxoEcJYUflTuKylqAL2/QUoIFjsn7Wu/t
asJ1VqfQ=; b=v5WRFwiqFeXuRVe/docMox8nVyW08PS7ltG9yg/AqNbzciNT6MS
xL7J9V17Jg7gHo1H1yIYtGMF42DjInm5HBjvFhiP7wG9wnNg5einuhnggx0KoRU8
WR9gcvGAnpMeD7wfoDxOu/5K9udIONaJFe7SlstIH8NIap8sL/3XWcRTe93VMiUZ
TyvX1FJIuZVbtVYZ9UivQqoUhPjS9+Hujql954gVm6pUwf+4IA1j0Vm7pnuyvCqB
YFtSdUY1Jlk/8kUsifSKvC2+Ssft9Nq0N9BZnG7OxtKQqdnjpURp84zw4KgZyiW8
R8u5V87Rndlgou+Q2x2IA6YIIVD6WWmmBIw==
X-ME-Sender: <xms:Y0wbaRE5hiBPCb1gjw0r6iE3QciMbVtjgrep0tsfEwG_asSjBDCK1Q>
<xme:Y0wbadSmt3C8mt7OJ6n7mJY3mSfv5PkgXaoK9y85CFFrExAJe0USQ_DPb_pE5qyx8
PwS2KvFpnWiw00OvT4_lAsTlofLdq0WykpTpbAwiKhzXSJrHR5Kjq4>
X-ME-Received: <xmr:Y0wbaYzrph1IbJ-VwCF0PPSdap9N7vNhVlfdyvkrvdE7AI61SpPf6w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvudekleefucetufdoteggodetrf
dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
rghilhhouhhtmecufedttdenucgovehorghsthgrlhdqffegtdefqddtheculdeftddtmd
enucfjughrpefhvffujghffffkfgggtgguseertdertddtredtnecuhfhrohhmpehjohhh
nhcumhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggftrfgrthhtvghrnhepledvge
etleelvedvteejgfehiedutdegjeegleetiedtvdevheefjeeuheeggefgnecuvehluhhs
thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpih
hnkhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep
jeelkeehfeesuggvsggsuhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:Y0wbacOTN426BUI2jXzldasmY6xhtXPhOyAJMdI4ty-nDdvLUzdg1A>
<xmx:Y0wbaXMRVAKB4UiPp51_1HxUDtN__GZbFX_fF5mnYHV4uYPfS0v5nw>
<xmx:Y0wbaeSsJxeiGdBsoM1hvRfElBeJXFNnM0yiamMLY-Q_KCKWMiJyEg>
<xmx:Y0wbaZB-aKqvdqZDulDlY9LXlZv5wXm7W6DS1Zpql4ceLJxvpcB33A>
<xmx:Y0wbaY-6YPbxKUgvEsq_TAvDGNYVF6XhlU5kkF7VJsvORZvvClvMsqxp>
Feedback-ID: i74194916:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
<79853 <at> debbugs.gnu.org>; Mon, 17 Nov 2025 11:25:06 -0500 (EST)
From: john muhl <jm@HIDDEN>
To: 79853 <at> debbugs.gnu.org
Subject: Re: bug#79853: [PATCH] Fix non-interactive use of 'lua-start-process'
In-Reply-To: <87frac63at.fsf@HIDDEN>
References: <87frac63at.fsf@HIDDEN>
Date: Mon, 17 Nov 2025 10:24:56 -0600
Message-ID: <878qg462zr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/x-patch
Content-Disposition: attachment;
filename=0001-Fix-non-interactive-use-of-lua-start-process.patch
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 79853
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
From fe040001acbf269f5a28bbe795dee8e36b4888e2 Mon Sep 17 00:00:00 2001
From: john muhl <jm@HIDDEN>
Date: Mon, 17 Nov 2025 09:59:04 -0600
Subject: [PATCH] Fix non-interactive use of 'lua-start-process'
* lisp/progmodes/lua-mode.el (lua-process-init-code): Add newline.
(lua-start-process): Use 'process-send-string' to avoid starting
two processes. Flatten 'switches' argument since rest arguments
get added to a list. Replace 'switch-to-buffer' with
'pop-to-buffer' so that the process window behavior can be
customized with 'display-buffer-alist'. Expand docstring and
update it to match the code. (Bug#79853)
---
lisp/progmodes/lua-mode.el | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/lisp/progmodes/lua-mode.el b/lisp/progmodes/lua-mode.el
index 8f59e32e586..faeadf212de 100644
--- a/lisp/progmodes/lua-mode.el
+++ b/lisp/progmodes/lua-mode.el
@@ -1801,7 +1801,8 @@ lua-process-init-code
" error(e)"
" end"
" return x()"
- "end")
+ "end"
+ "\n")
" "))
(defun lua-make-lua-string (str)
@@ -1843,27 +1844,34 @@ 'run-lua
;;;###autoload
(defun lua-start-process (&optional name program startfile &rest switches)
"Start a Lua process named NAME, running PROGRAM.
-PROGRAM defaults to NAME, which defaults to `lua-default-application'.
When called interactively, switch to the process buffer.
-STARTFILE is the name of a file, whose contents are sent to the process
-as its initial input.
+NAME is the name of the created process; default is
+`lua-process-buffer-name' or `lua-default-application'.
-SWITCHES is a list of strings passed as arguments to PROGRAM."
+PROGRAM is the executable to run; default is `lua-default-application'.
+
+STARTFILE is a file, whose contents are sent to the process as initial
+input; default is `lua-process-startfile'.
+
+SWITCHES is a list of strings passed as arguments to PROGRAM; default is
+`lua-default-command-switches'."
(interactive)
(if (not lua-default-application)
(user-error "You must set `lua-default-application' to use this command")
- (let* ((name (or name lua-process-buffer-name
- (if (consp lua-default-application)
- (car lua-default-application)
- lua-default-application)))
+ (let* ((name (or name
+ lua-process-buffer-name
+ (if (consp lua-default-application)
+ (car lua-default-application)
+ lua-default-application)))
(program (or program lua-default-application)))
;; Don't re-initialize if there already is a Lua process.
(unless (comint-check-proc (format "*%s*" name))
(setq lua-process-buffer
(apply #'make-comint name program
(or startfile lua-process-startfile)
- (or switches lua-default-command-switches)))
+ (or (flatten-tree switches)
+ lua-default-command-switches)))
(setq lua-process (get-buffer-process lua-process-buffer))
(set-process-query-on-exit-flag lua-process nil)
(with-current-buffer lua-process-buffer
@@ -1877,10 +1885,13 @@ lua-start-process
(while (not (lua-prompt-line))
(accept-process-output (get-buffer-process (current-buffer)))
(goto-char (point-max)))
- (lua-send-string lua-process-init-code)))
+ (process-send-string lua-process lua-process-init-code)))
;; When called interactively, switch to process buffer
(when (called-interactively-p 'any)
- (switch-to-buffer lua-process-buffer)))))
+ (pop-to-buffer lua-process-buffer
+ '((display-buffer-pop-up-window
+ display-buffer-reuse-window)
+ (reusable-frames . t)))))))
(defun lua-get-create-process ()
"Return active Lua process creating one if necessary."
--
2.51.2
bug-gnu-emacs@HIDDEN:bug#79853; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 17 Nov 2025 16:19:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 17 11:19:13 2025
Received: from localhost ([127.0.0.1]:53398 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vL1wf-0001xf-Gc
for submit <at> debbugs.gnu.org; Mon, 17 Nov 2025 11:19:13 -0500
Received: from lists.gnu.org ([2001:470:142::17]:48582)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1vL1wb-0001xQ-Qz
for submit <at> debbugs.gnu.org; Mon, 17 Nov 2025 11:19:11 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1vL1wA-0001Sr-H4
for bug-gnu-emacs@HIDDEN; Mon, 17 Nov 2025 11:18:54 -0500
Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1vL1w8-0005Jt-CV
for bug-gnu-emacs@HIDDEN; Mon, 17 Nov 2025 11:18:42 -0500
Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
by mailfhigh.stl.internal (Postfix) with ESMTP id 738BD7A00CC
for <bug-gnu-emacs@HIDDEN>; Mon, 17 Nov 2025 11:18:34 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
by phl-compute-05.internal (MEProxy); Mon, 17 Nov 2025 11:18:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc
:content-transfer-encoding:content-type:content-type:date:date
:from:from:in-reply-to:message-id:mime-version:reply-to:subject
:subject:to:to; s=fm3; t=1763396314; x=1763482714; bh=VuubAeqDbr
mWBikM4TeuJwOQUTxIBjQvgdDziQfMKv4=; b=dw7Z2X06GVXwIAghowHhQzxE2/
4x3Sv+y1XIBKGZgPaE49hYCKt/+VYNsxymPNg/b8vwyIMxER5rchi3d9YJvYOWHU
1jUIvN4pVcjoKJjDpa533AmREQugDMDZvI581wLntvbq+umE0ZrR4PMKGepKL+YA
I5VwdyzXH1L8JStb0FJU/1TSb1nwYtOlp0GpVJn9JoMMhKE5GO7fOJ6ISmMmP8wr
3wyXA0BFKS6hbUdU2qV13Cfz9wLV+Y/EPBGJ7zkVQ/iVEE66AGTCLQfz5yjX9w5+
0NduplYt8qYYq/AxXqnDOayPfq7yrmv5Qzevk7vS3SHXDTS2NqANmpO3B/SA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:content-type:date:date:feedback-id:feedback-id:from:from
:in-reply-to:message-id:mime-version:reply-to:subject:subject:to
:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
1763396314; x=1763482714; bh=VuubAeqDbrmWBikM4TeuJwOQUTxIBjQvgdD
ziQfMKv4=; b=Sig0PzZuHGbkAmexFloeL6pWsQzqV5orrxMXMgBbSJPe788nv3g
uGjuAswg8s1h261N2pmstr3d3oBgrSuB0p1qRnrMg9uefHXXRrjOdeBSxse1ddUn
+CzRlv4CCVnWqO0YbDmMHhUCaFBpzUh3FEtv2VjrwyqD+/KRxzewU2Z8BwEg2pbY
sCqqhe8Vc49tB2k4LIcqTAhkhHVnP8D2vWeZ1d5aEGyw4g3DW8vd4ia54W3mAdeQ
Vl0Q6Tb4Fq8pX0oZRBdXRUrgM/tU3IsHZ5+v6dfMF1x/iK+Wo8yJmdKe+KwDR2Sg
qTNBer+vAcxgF4LBGyI9ZA2A5Rw28FXXN/A==
X-ME-Sender: <xms:2kobab37GGl8bbdXd9kckdAFRN_BdF12H0gDcsX0RwWzKZmDBNZSKQ>
<xme:2kobaf-OqJzZAA5YyiqYH1q7BUPjgt-DPjmJHdyvcr5mjxph_nze3CdVr5nxAA4DF
_sr924kwbZT5aMS99gDND4FBRFZh2OOyGgLBj0m9_FcjJuwZDNPscR4>
X-ME-Received: <xmr:2kobaW_JAiLptuPONu-NRK0r9bw6iASVojrrlb0EtI0W4i65T9D_9g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvudekledvucetufdoteggodetrf
dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgfgsehtqhertddtre
ejnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggft
rfgrthhtvghrnhepheefueelgeevueekgeetheeutdehteejieeugeejkeejudelvdehud
eggfelvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho
mhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtph
houhhtpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh
X-ME-Proxy: <xmx:2kobadqSHZepwKHPDRwW00wdOYNa279VLzSed3InzgVPeJRCojo5vw>
<xmx:2kobaRrOodJFeNejIMbFRTVQhxh5uq2rFMbo1nQlO13i0XUPYnLCoA>
<xmx:2kobaTmefQJQQzro83MOPWlaCWH9DjLJvqmAOCKWc_0hl2Q2TC8AYA>
<xmx:2kobabGJVNewMoeVl4x46caU-NU2TYapwo_zIAZmiyIz9CUZdvetNg>
<xmx:2kobaR1NIiqCbGBaJy0aeY8klCGt0V0PnhamjAXwdbYv61RGeSCGQ-GR>
Feedback-ID: i74194916:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
<bug-gnu-emacs@HIDDEN>; Mon, 17 Nov 2025 11:18:33 -0500 (EST)
From: john muhl <jm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [PATCH] Fix non-interactive use of 'lua-start-process'
X-Debbugs-Cc:
Date: Mon, 17 Nov 2025 10:18:18 -0600
Message-ID: <87frac63at.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=202.12.124.155; envelope-from=jm@HIDDEN;
helo=fhigh-b4-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)
Tags: patch
This fixes a couple of problems with non-interactive use of
lua-start-process.
Namely that passing NAME would cause 2 processes to be started
(one with the passed name and another with the default) since
lua-send-string ends up calling lua-start-process without any
arguments.
Passing switches as a list of strings as described in the
docstring would cause the call to fail since rest wrapped the
switches in a list so you end up with '(("-i" "-W")) which comint
doesn=E2=80=99t understand.
switch-to-buffer is replaced with pop-to-buffer so users can
customize display-buffer-alist to control the behavior of the
process window.
john muhl <jm@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#79853; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.