From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: 25.0.50; Enable users to combine --script and --quick Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 May 2015 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20682@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143282145421919 (code B ref -1); Thu, 28 May 2015 13:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2015 13:57:34 +0000 Received: from localhost ([127.0.0.1]:59610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YxyJQ-0005hT-VU for submit@debbugs.gnu.org; Thu, 28 May 2015 09:57:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48604) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YxyJN-0005hL-Sl for submit@debbugs.gnu.org; Thu, 28 May 2015 09:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxyJH-0000vh-I2 for submit@debbugs.gnu.org; Thu, 28 May 2015 09:57:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxyJH-0000vd-Fk for submit@debbugs.gnu.org; Thu, 28 May 2015 09:57:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxyJG-00023P-9P for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 09:57:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxyJD-0000ut-35 for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 09:57:22 -0400 Received: from mout.web.de ([212.227.17.11]:56286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxyJC-0000un-Oo for bug-gnu-emacs@gnu.org; Thu, 28 May 2015 09:57:19 -0400 Received: from drachen.dragon ([178.10.202.12]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0MGign-1YtJb22buT-00DVXy; Thu, 28 May 2015 15:57:17 +0200 From: Michael Heerdegen Date: Thu, 28 May 2015 15:57:15 +0200 Message-ID: <878uc8pzyc.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:g0qzVBXLEOyESxOjEpgjEpOTM4MFqhKsGi/wJ7A9Dpc3VezVBUe jC1Vfo+YA9bm8hNttrpSL9kVEngFWuKEg4YbsMo7wrzQNpfJ6NYlje3cvJImi5LirjqBvJE ijTBbYaY2cZVodd0UfkW2i3CSqenBJuYcTrATgafKZz4cGKVQXmHQ5b48yADAmUoStY9eKa /IVnj2S6hJfa7t8BA8d1w== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.1 (----) Hello! This is a feature request to enable users to write emacs scripts (=C3=A0 la --script) that can be executed in a way that --quick does (i.e. avoid loading site stuff). AFAIK this is not directly possible currently, because if you try with a file starting like this: #!/usr/bin/emacs -Q --script the "#!" implementation on most Unices will not be able to pass more than one argument to the interpreter. The only thing that can be done to force --quick is to define a separate interpreter like this: --8<---------------cut here---------------start------------->8--- #!/bin/bash emacs --quick --script $@ --8<---------------cut here---------------end--------------->8--- (suggested by saint@eng.it in g.e.help). I have been told in the same thread that if --script would be available as -s, one could start scripts with "#!/usr/bin/emacs -Qs" and that would already solve the problem. These are the main reason why using --quick can be desirable: - There are no messages like: Loading 00debian-vars... Loading /etc/emacs/site-start.d/50a2ps.el (source)... Loading /etc/emacs/site-start.d/50autoconf.el (source)... Loading /etc/emacs/site-start.d/50cmake-data.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (sour= ce)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source= )... Loading /etc/emacs/site-start.d/51debian-el.el (source)... when running a script. That would be a nice thing if you wanted to write something like wc or so. - It would speed up startup by a factor of five (for me, 0.01 secs vs. 0.002 secs when using the wrapper from above) - It might not be necessary to load site stuff. On the contrary, if you want to write portable scripts, it might be more desirable to be able to write environment independent scripts Many thanks, Michael. In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2015-05-27 on drachen Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Debian GNU/Linux testing (stretch) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: 25.0.50; Enable users to combine --script and --quick Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 May 2015 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Heerdegen Cc: 20682@debbugs.gnu.org Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.143283888917018 (code B ref 20682); Thu, 28 May 2015 18:49:02 +0000 Received: (at 20682) by debbugs.gnu.org; 28 May 2015 18:48:09 +0000 Received: from localhost ([127.0.0.1]:59795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy2qe-0004QP-6b for submit@debbugs.gnu.org; Thu, 28 May 2015 14:48:09 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:57465) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy2qc-0004QF-EB for 20682@debbugs.gnu.org; Thu, 28 May 2015 14:48:07 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t4SIm3oV016373; Thu, 28 May 2015 14:48:04 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 9B0E2660D6; Thu, 28 May 2015 14:48:04 -0400 (EDT) From: Stefan Monnier Message-ID: References: <878uc8pzyc.fsf@web.de> Date: Thu, 28 May 2015 14:48:04 -0400 In-Reply-To: <878uc8pzyc.fsf@web.de> (Michael Heerdegen's message of "Thu, 28 May 2015 15:57:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5320=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5320> : inlines <3095> : streams <1446230> : uri <1942656> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (-) > This is a feature request to enable users to write emacs scripts (=E0 la > --script) that can be executed in a way that --quick does (i.e. avoid > loading site stuff). I'm not very much in favor of adding yet another ad-hoc arg for that. OTOH I'd be happy to see a new argument that lets you provide various args as one. E.g. "emacs --args=3D-Q,--script" which would be more generally useful to deal with the limit of only one arg in shebang. Given the size limit of shebang lines, we'd also want this extra arg to be shortish. An alternative would be to combine --args and --script, so you could say "emacs --script=3D-Q" to get what you're asking for. > - There are no messages like: > Loading 00debian-vars... > Loading /etc/emacs/site-start.d/50a2ps.el (source)... > Loading /etc/emacs/site-start.d/50autoconf.el (source)... > Loading /etc/emacs/site-start.d/50cmake-data.el (source)... > Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... > Loading debian-ispell... > Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (so= urce)... > Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (sour= ce)... > Loading /etc/emacs/site-start.d/51debian-el.el (source)... > when running a script. That would be a nice thing if you wanted to > write something like wc or so. I consider those messages as bugs. BTW, Ideally, Debian packaging of Emacs packages should move towards installing those packages as ELPA packages (i.e. install them into one of package-directory-list and let Emacs load their -autoloads.el file). > - It would speed up startup by a factor of five (for me, 0.01 secs > vs. 0.002 secs when using the wrapper from above) We should look into speeding this up, BTW. Part of it might be a problem on Debian's side (where those files do too much), but I suspect that the problem goes deeper and we should figure out how to improve it. E.g. package.el's handling of package initialization could use some optimization for the usual case where the set of packages is the same as last time. E.g. Ideally we could cache somewhere the last set of packages seen along with the resulting set of -autoloads.el files that we loaded and actually keep the concatenation of those files into a single file which we'd load instead. Of course, this won't work currently because those files are "position dependent" (e.g. they use load-file-name or #$), but we should try and solve those problems. > - It might not be necessary to load site stuff. On the contrary, if > you want to write portable scripts, it might be more desirable to be > able to write environment independent scripts I tend to consider that any -autoloads.el file should be 100% harmless, or at least that the kind of changes they cause should be no worse than the kinds of changes you experience when going from Emacs-A.B to Emacs-A.C or Emacs-A+1.C Stefan PS: Just to clarify, this should not be taken as an argument against providing a way to get both -Q and --script as a single arg. From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: 25.0.50; Enable users to combine --script and --quick Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 May 2015 20:31:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Michael Heerdegen , 20682@debbugs.gnu.org Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.143284502927156 (code B ref 20682); Thu, 28 May 2015 20:31:04 +0000 Received: (at 20682) by debbugs.gnu.org; 28 May 2015 20:30:29 +0000 Received: from localhost ([127.0.0.1]:59832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4Re-00073U-01 for submit@debbugs.gnu.org; Thu, 28 May 2015 16:30:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35697 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4RY-00072H-Q1 for 20682@debbugs.gnu.org; Thu, 28 May 2015 16:30:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yy4RX-0006cG-G9; Thu, 28 May 2015 16:30:19 -0400 From: Glenn Morris References: <878uc8pzyc.fsf@web.de> X-Spook: undercover bank Bruxelles Mahmoud Ahmadinejad AK-47 X-Ran: hCQzCkq%YLu*72Ip6s;>yIuhG$Ek}&ZY+X<$!$yF#`V$K{!v$OEV! (Stefan Monnier's message of "Thu, 28 May 2015 14:48:04 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.3 (----) Stefan Monnier wrote: > OTOH I'd be happy to see a new argument that lets you provide various > args as one. E.g. "emacs --args=-Q,--script" which would be more > generally useful to deal with the limit of only one arg in shebang. > Given the size limit of shebang lines, we'd also want this extra arg to > be shortish. > > An alternative would be to combine --args and --script, so you could > say "emacs --script=-Q" to get what you're asking for. Apparently it's somewhat conventional (perl, ruby) to use "-x" for this purpose. A nice write-up at https://github.com/smikes/node/blob/minus-x-switch/doc/Minus-X-Switch-Proposal.md Amazingly, "-x" is available as an Emacs command-line switch... Personally, I'd probably just use a trivial shell wrapper script. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 09 16:29:15 2017 Received: (at control) by debbugs.gnu.org; 9 Feb 2017 21:29:15 +0000 Received: from localhost ([127.0.0.1]:33514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbwHC-0005yB-Rn for submit@debbugs.gnu.org; Thu, 09 Feb 2017 16:29:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbwHB-0005xw-7i for control@debbugs.gnu.org; Thu, 09 Feb 2017 16:29:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbwH5-0003sT-Ju for control@debbugs.gnu.org; Thu, 09 Feb 2017 16:29:08 -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.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbwH5-0003sP-HF for control@debbugs.gnu.org; Thu, 09 Feb 2017 16:29:07 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cbwH5-0004dR-22 for control@debbugs.gnu.org; Thu, 09 Feb 2017 16:29:07 -0500 Subject: control message for bug 25671 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 09 Feb 2017 16:29:07 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) merge 20682 25671 From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: bug#25671: Feature request: emacs -Q --script as a single binary Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Apr 2022 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 25671@debbugs.gnu.org, Michael Heerdegen , Stefan Monnier , 20682@debbugs.gnu.org Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.16502796859976 (code B ref 20682); Mon, 18 Apr 2022 11:02:01 +0000 Received: (at 20682) by debbugs.gnu.org; 18 Apr 2022 11:01:25 +0000 Received: from localhost ([127.0.0.1]:38179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngP8H-0002ap-2a for submit@debbugs.gnu.org; Mon, 18 Apr 2022 07:01:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngP8E-0002aX-OV; Mon, 18 Apr 2022 07:01:23 -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=hCxUx/RO4VLH1fcue8+R9qLDs/9O4MPrub76ckAz+ys=; b=CF3J7TSpI6LrS6sYfpSefW45nS GNx9brL/hbXjR3/1d87cw1G9+oN3dOu9X0fDGJqpUPVVTCHlpFEGp3jNmx8iWLB9tnHwrxozaj5gq RdXL29Dxed4z/c2waCjQOHXB1H5mcIJIimaH1k6FWAYMvvLT53rCYseJT7QlGIswGUAE=; Received: from [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 1ngP83-00013j-KE; Mon, 18 Apr 2022 13:01:14 +0200 From: Lars Ingebrigtsen References: <878uc8pzyc.fsf@web.de> Date: Mon, 18 Apr 2022 13:01:10 +0200 In-Reply-To: (Glenn Morris's message of "Thu, 28 May 2015 16:30:19 -0400") Message-ID: <874k2qk64p.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Glenn Morris writes: >> OTOH I'd be happy to see a new argument that lets you provide various >> args as one. E.g. "emacs --args=-Q,--script" which would be more >> generally useful to deal with the limit of only one arg [...] 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: -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 (---) Glenn Morris writes: >> OTOH I'd be happy to see a new argument that lets you provide various >> args as one. E.g. "emacs --args=-Q,--script" which would be more >> generally useful to deal with the limit of only one arg in shebang. >> Given the size limit of shebang lines, we'd also want this extra arg to >> be shortish. >> >> An alternative would be to combine --args and --script, so you could >> say "emacs --script=-Q" to get what you're asking for. > > Apparently it's somewhat conventional (perl, ruby) to use "-x" for this > purpose. A nice write-up at > > https://github.com/smikes/node/blob/minus-x-switch/doc/Minus-X-Switch-Proposal.md > > Amazingly, "-x" is available as an Emacs command-line switch... I think that sounds really attractive, so I've added this to Emacs 29. The new -x switch is like --script, but will kill Emacs when it reaches the end of the script, and return the value of the final form as the return value, so you can say use 0 at the end to signal success to the caller. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 18 07:01:30 2022 Received: (at control) by debbugs.gnu.org; 18 Apr 2022 11:01:30 +0000 Received: from localhost ([127.0.0.1]:38184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngP8L-0002bC-Kq for submit@debbugs.gnu.org; Mon, 18 Apr 2022 07:01:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngP8H-0002ac-TE for control@debbugs.gnu.org; Mon, 18 Apr 2022 07:01:26 -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=HW3XiZ5uAt7UF6g0yjmvpU27Yiy4+49xkCnqJ1pNEUc=; b=SrL68wpAKkY9Hy//uMsdN95H3H Z7Z7fseUO5R936+6625TaHn+inIQBSf1PM359VgxqgNg2sBKppZ+UMz3TqTRtbkt0e9bX8xWYBcPu KZleOmjBLALPqj8Wp9yxOVw9nJ4GvyDJmwczi4u6IYrer1y6SqBh6mWX1lWHsQsG8+zE=; Received: from [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 1ngP8A-00013s-5z for control@debbugs.gnu.org; Mon, 18 Apr 2022 13:01:20 +0200 Date: Mon, 18 Apr 2022 13:01:17 +0200 Message-Id: <8735iak64i.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25671 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: close 25671 29.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: -2.3 (--) 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: -3.3 (---) close 25671 29.1 quit From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: bug#25671: Feature request: emacs -Q --script as a single binary Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 25671@debbugs.gnu.org, Glenn Morris , Stefan Monnier , 20682@debbugs.gnu.org Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.16517889076476 (code B ref 20682); Thu, 05 May 2022 22:16:02 +0000 Received: (at 20682) by debbugs.gnu.org; 5 May 2022 22:15:07 +0000 Received: from localhost ([127.0.0.1]:46717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmjkZ-0001gJ-FZ for submit@debbugs.gnu.org; Thu, 05 May 2022 18:15:07 -0400 Received: from mout.web.de ([212.227.17.11]:52797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmjkW-0001fP-Qm; Thu, 05 May 2022 18:15:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1651788894; bh=3rs0woCy5GLpdwcYYXDtclNLcdJocu7CFjxiTGrBXYk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=n2GzNjOeg/m0PXc5b7NiE41Fh9uu26XQxYSq1H2I2pT6kcrhq5Owk6W1v/cRDeoou LqnlWWK8I0rKlMyaenh0ToTmVfyJe9ldpe4a1DVdnTAlVPYit9rRFrZZqJbyudzFih 3mormHKA6tQvaAxwdP7uqjnZ7F4cGrUP6AmK6LGQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([178.6.28.204]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MUUAM-1nMIuc3f7Y-00Qayf; Fri, 06 May 2022 00:14:54 +0200 From: Michael Heerdegen References: <878uc8pzyc.fsf@web.de> <874k2qk64p.fsf_-_@gnus.org> Date: Fri, 06 May 2022 00:14:53 +0200 In-Reply-To: <874k2qk64p.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Mon, 18 Apr 2022 13:01:10 +0200") Message-ID: <87levfocde.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:MFRweml4xTdm2INjGbfJGv2GaXp0gjLV4IVWkyr8hU4bAzKrHWA ZW/+qlSvydhHpfKpTdQojyH6MTErRG+Mi/AbQXAqw69wAuk4TAyuVWHumnOj7mmE3EDb2rM Wc1JZs+TMNSXATBjV26t3MAXznf760JMYK1ilSEU2lbIGDmEbW33/GGEtTb7qPn71l9hWWi oB+vbjytceicNHEl6OdSg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:PH9Q3KTYp0I=:2CW8ne/X9AK/vMndVFKv8S iRxofa1i3csTz/b/6Q3lmJpodBfNH7Yb/T8T3J33mHgyyKpQXibuqF5s4uhtO7Wz6cIAiyBJN +IdWukCnEXL8tZ1ZYbyl+p9fhBx79YV+gTdtB0/bakWQf+kOXd5XOKih1nlVHfEkUxJUpAP+r 6/UildP0bznuPbTopf37jWD4jJ9g7n3dJkJmPuAY4URR5rxdGlUrR3j7fCfYm/IFTXOsBs3qk hAn5fI5eurKugROBKIjKvH3edlLKXSwr2Qxio3zPGjeS/QWke5FNIv2ka5/MzaVDZWqZJAYrA EgafSCLMJe71HmlREnUC4dMqKJgxCLq7y/PdD3154w5fa+Ixbb6Y1fvxTRC+4j5nBiN3a/t9J t5sjelIje6w8Vcme0C5vfMYP9Z7a65eKgD0P0onvJf+q1Lf+MXxvUa5spCVg3yzCb1JVi6fr8 aVh62V75Q/OVS/CJj0Aou3HjFMHvsAGUyWsdHSAyTQ1aqUHj6twjOot8XC7jQ82rXurqKtS14 OrNy/+Z4Po+jGTaXopDY427hMYIp0IcHS7YQoyqIG/8xSTqdyzI50m+V4EP8XH/hvc46424n3 hMigwlRFg+4Og/J+tspvQ1i0v/Fqyy5N7hq9aZfW0ySp5XsTtloTaQZ5LxYt6sYhujiw72nej CpitvD795Yk3R2eMOLz8czgo7tlzo0LWXqa/sR/mRsqpIC61c7VOXlY0ws2j6UfXLm/L4IKGF xD1zYBxYpG+znRrbnrsvYTD4RfukQ3hNPuuN9hsS+rMu5f4R+jkG8RwIFwKUt3RYpfasITTXO h1u5refKx8f6Q2tnFU2hayLV0rmOxlUp4tta6FSUqWpoqMxgMoBB8pxX3zkGEmmXNIwL7lMW0 iaRQPF1FdtEtbeWClnhYaWjVZzqPof74HUcV0TVPVmeqyyG9XIdmxOxGK5IDQzplHinAxs3om 6iI9LVsyT1sLgpuxijL3jDBxVk9j3wsZF/zziDhmhP/ETqShswva5sohLrcWSigpCPDegmn5K saY4SmLgnhuzvA/t6zZlC/+Yo08fcM+h49AjvvsnfL6lSPgtiDTvURi8DtKEz3R80XM3SURhO 523Pi/XLKzl+B0= 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 (-) Lars Ingebrigtsen writes: > > Amazingly, "-x" is available as an Emacs command-line switch... > > I think that sounds really attractive, so I've added this to Emacs 29. > The new -x switch is like --script, but will kill Emacs when it reaches > the end of the script, and return the value of the final form as the > return value, so you can say use 0 at the end to signal success to the > caller. Thanks - but it doesn't work correctly for me. Contrarily to --script, my init file is being loaded with -x. Does that work correctly for you, Lars? TIA, Michael. From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: bug#25671: Feature request: emacs -Q --script as a single binary Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2022 12:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Heerdegen Cc: 25671@debbugs.gnu.org, Glenn Morris , Stefan Monnier , 20682@debbugs.gnu.org Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.165183872626306 (code B ref 20682); Fri, 06 May 2022 12:06:01 +0000 Received: (at 20682) by debbugs.gnu.org; 6 May 2022 12:05:26 +0000 Received: from localhost ([127.0.0.1]:47329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmwi5-0006qD-MO for submit@debbugs.gnu.org; Fri, 06 May 2022 08:05:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmwi3-0006px-Hx; Fri, 06 May 2022 08:05:24 -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=+Z+6ZKNogFbHreo5XMY4wAl756ZhDcZOVgAEM9GdRWI=; b=I2Fo9WXacyce/GIq1krQPhoSoT MjPcVUAGLQ3V9z33YI50fwoAS0PQ6HR9EcESX7ts7Is4c4Ul00gaOcXWrSPYm3RZ6vvGhxcHhkQvB pTIGjQt5HQiX8ftaKCdZIvc5XQ1diJ/OG/dhv6JyirUdoLIXZ1EDRD6k9Os84BJtI5l8=; Received: from [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 1nmwht-0006EH-KZ; Fri, 06 May 2022 14:05:15 +0200 From: Lars Ingebrigtsen References: <878uc8pzyc.fsf@web.de> <874k2qk64p.fsf_-_@gnus.org> <87levfocde.fsf@web.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUUDxFUT0qgk2/S yqj///8BJ5pvAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFBgstDbOMSyAAAAFsSURBVDjLfZMBksMg CEUhvQDQC0S8QIL3v9uCUaNJZ2mnM/UFPnwJwBKSCH5G1t8Aiy0AuT34KYWWcyknswKUFYDkEnFs /rP2Us+LObdFooFiT6A3cA2eQC5TaBpEdQH3kNucYlMG6p2jmm4RSFxBtKu691OO2VmUNedISHPH FMxd0azM9f/smKdZ1rgRfJovZmLcz9E//Z7MxTnqVkDUEEZjDlBSU27xrQMKsS6dVcv8m7z1PktV k2qMZZ92WQnmZljyJ5i6RMze3Eqati1qEVJMLcNhL3QBhjjX+aZyLYW+PzxdSYA2Bk6FvC/CvhPY Eyw6MMBzLJDG3XlFd6Wc8O0DeoIxNbvKjmMfRceWB/iMSpcH1ZjYubw/3oJayrK0lZ/PHZzeYFee Fmkrh2RrCbPHn3KgWl+rKb5lBznhFZhdGPUN4B8QY3XVST3eNczU1AmIxhiPjAGOAPtLYvNuHaQX uGySH8AuMwD+AAaBR8irJ80RAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTA2VDExOjQ1OjEz KzAwOjAwpPzRGgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0wNlQxMTo0NToxMyswMDowMNWh aaYAAAAASUVORK5CYII= X-Now-Playing: The Cure's _The Head On The Door_: "Close To Me" Date: Fri, 06 May 2022 14:05:13 +0200 In-Reply-To: <87levfocde.fsf@web.de> (Michael Heerdegen's message of "Fri, 06 May 2022 00:14:53 +0200") Message-ID: <87ee16n9xi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Michael Heerdegen writes: > Thanks - but it doesn't work correctly for me. Contrarily to --script, > my init file is being loaded with -x. Does that work correctly for you, > Lars? 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: -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 (---) Michael Heerdegen writes: > Thanks - but it doesn't work correctly for me. Contrarily to --script, > my init file is being loaded with -x. Does that work correctly for you, > Lars? Nope. Should be fixed now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 00:27:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20682: bug#25671: Feature request: emacs -Q --script as a single binary Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 May 2022 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 25671@debbugs.gnu.org, Glenn Morris , Stefan Monnier , 20682@debbugs.gnu.org Received: via spool by 20682-submit@debbugs.gnu.org id=B20682.16518893616053 (code B ref 20682); Sat, 07 May 2022 02:10:02 +0000 Received: (at 20682) by debbugs.gnu.org; 7 May 2022 02:09:21 +0000 Received: from localhost ([127.0.0.1]:50148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn9sm-0001ZU-Qn for submit@debbugs.gnu.org; Fri, 06 May 2022 22:09:21 -0400 Received: from mout.web.de ([217.72.192.78]:36327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn9sj-0001Z4-Ue; Fri, 06 May 2022 22:09:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1651889347; bh=hMsMWI3iT/T48GwhuMGDu/aIujI9VXsHjHMOJNSnHiU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=JeOERSevUpFgT5KYqcIhpePtsxDBCx7XkzYIHeu8mvgUp9dVRFYLTlC9/N0yqRHIs HPQRNDr0uEAHhXt0CIXVCLENfX0rPVSQ+lgpaZ2Jt7Q9jXdKqs5Tuy2f75Cids+PBi sYqjZOF/Gi6uTV77XS34v2vz4XSpGg6HwB4OHYYg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([178.6.28.204]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MKdLK-1nWaw31oAW-00L3fo; Sat, 07 May 2022 04:09:07 +0200 From: Michael Heerdegen References: <878uc8pzyc.fsf@web.de> <874k2qk64p.fsf_-_@gnus.org> <87levfocde.fsf@web.de> <87ee16n9xi.fsf@gnus.org> Date: Sat, 07 May 2022 04:08:55 +0200 In-Reply-To: <87ee16n9xi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 06 May 2022 14:05:13 +0200") Message-ID: <87bkwaksaw.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:c+HQq9QaA81suLQs++3Zw1j9Kh1fXTG667J/FXjSs3YZqI8IQ34 9lhh6muRS1dguZ4q6n0QbN5AOgDBoAuM7th+t9MeUcHRfQvUDF0mza23I7SVA14pdZ6zpyF phFcMc2SIEadeQ8MNQXVONfdoBzH1SC1yvgA0sfrm4tKAOgMVeUhkJsuWVf6w06TZKy1YJY cH9ePUz3LWTY3QsGjpBnQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5QM/SRidJpo=:R2qr/I2qCHtknJHfL/V8rQ wps6myBsNfKkKIoK49o6t3YwwnHsejdlEV9w2Fg5DeUOiZd6r+HePno+O7eH2mYbCaTCe6ugp U7fXLauZPUBXhovV63nRqrvtUhEWoMhIETlqbQe7luaSzvt7qWhToPKajHqTEdsmns8Hl4+7o syOk5OHnll5yC7BaxbaN+V8zrJvHJSar+n3oDaTHe86GhGvcqBJZ5gstx/+IXcqY0ON39gO+b J91iBpNWjhIgMZKCHvafnjKbZv3KnBMG7LBPha0obpRyZwK2gshSS+AV1bAQi8PSdIMQgCEmC qdHkS8XB2LkzNBpYPw/DQ4ncfmzYdv/UIm2maVOvGJgaXwk5iECRi57FbISKBK0h6TLEKgs40 XKcjfMeIVDiri04hJkYl1rUkMCf2MqsxB61vXiuLHiNS3d+2quShol6cw1oNXkIkz0w/dadVa G4EEcAaX2YMaX5zP0BwoYL1sUcRkshNaoQiREAS8FvjurPmmwZp0WivGXhCCnPMuDgi6Vh8hW 9uhnEmgLRI2k6CBiDuVUJWPiQtS4mrm38gnkEWqKbmBHPg0YGx3+x19Ozo8Xma9GMZfQp1iix 2jev4ESuXJmRK4jZR/HGMh7gk0wAGJ8h5Q4b0Vlro9+sf/I1pWebaEOMUeOQTa44UWXxeCogJ gdZEIaslCfig4fWDx8juqQvvLppvhQtxm1b8ngAjXIzvCdxKLiCgXyyZCNk7a2mYuGaP2uRyZ wu25ODcYaWARpCu3s4m5aa677OHFWdV8RnZ1hUuiliZ0RkpM8aZpqQUBhMZhrkkC8bhDIKIlZ CmxJOHzP1UTBdNZCYi9jFSlpKxpzleI6Ss3DhZqbGDx0F8wPJpWsCXL8BE/1aXxxpAd1A+nqu hoV/QHMI8I4ypGlb/RaVDf+7VUkYuzMjWPNomlPqx1SFxrXwAbBf+ZYCeY+IcctqX4/7OgSRn aA0CoPyrvKOSK1n+FXKFXLewOFars7WABM5CKte/JP/5k86/WYilCvowm9WqwsFS6TtWpuFeJ f5eRtJVI6xjBnUgnT0zTQp4lQ5Al3Zsb55XtmIzJE91eBSN06G+5F7jUhVWe2OQEa0Rri7utT jvlbvE8aR04RNA= X-Spam-Score: -0.7 (/) 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.7 (-) Lars Ingebrigtsen writes: > Nope. Should be fixed now. Better - thanks. Michael.