all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 25671@debbugs.gnu.org, Glenn Morris <rgm@gnu.org>,
	Stefan Monnier <monnier@IRO.UMontreal.CA>,
	20682@debbugs.gnu.org
Subject: bug#25671: Feature request: emacs -Q --script as a single binary
Date: Fri, 06 May 2022 00:14:53 +0200	[thread overview]
Message-ID: <87levfocde.fsf@web.de> (raw)
In-Reply-To: <874k2qk64p.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Mon, 18 Apr 2022 13:01:10 +0200")

Lars Ingebrigtsen <larsi@gnus.org> 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.





  reply	other threads:[~2022-05-05 22:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 13:57 bug#20682: 25.0.50; Enable users to combine --script and --quick Michael Heerdegen
2015-05-28 18:48 ` Stefan Monnier
2015-05-28 20:30   ` Glenn Morris
2022-04-18 11:01     ` bug#20682: bug#25671: Feature request: emacs -Q --script as a single binary Lars Ingebrigtsen
2022-05-05 22:14       ` Michael Heerdegen [this message]
2022-05-06 12:05         ` Lars Ingebrigtsen
2022-05-07  2:08           ` Michael Heerdegen
  -- strict thread matches above, loose matches on Subject: below --
2017-02-09 21:14 Clément Pit--Claudel
2017-02-09 21:27 ` Glenn Morris
2017-02-09 21:32   ` Clément Pit--Claudel
2017-02-10  7:37 ` Eli Zaretskii
2017-02-10 14:17   ` Clément Pit--Claudel
2017-02-10 15:02     ` Eli Zaretskii
2017-02-10 16:45       ` Clément Pit--Claudel
2017-02-10 16:58         ` Eli Zaretskii
2017-02-10 20:21           ` Clément Pit--Claudel
2017-02-10 17:32         ` Glenn Morris
2017-02-10 20:21           ` Clément Pit--Claudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87levfocde.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=20682@debbugs.gnu.org \
    --cc=25671@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.