From: Tom Tromey <tromey@redhat.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 4399@emacsbugs.donarmstrong.com
Subject: bug#4399: 23.1; let a file know it was run with --script
Date: Fri, 18 Sep 2009 12:56:59 -0600 [thread overview]
Message-ID: <m3y6occc90.fsf@fleche.redhat.com> (raw)
In-Reply-To: <l97hvwp1s3.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 18 Sep 2009 14:04:44 -0400")
>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:
GM> It sounds like noninteractive will work fine (you could perhaps check
GM> command-line-args if you want finer control)? Or use the traditional:
I don't think that has the same effect if you load multiple such files.
I only want the "main" one to eval the code.
GM> emacs -batch -l ./test.el -f batch-run-tests
This won't work if you want to use #! to start a script.
I guess I can work around this by writing a new .el that just loads
things and evals something.
Tom
next prev parent reply other threads:[~2009-09-18 18:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-11 2:06 bug#4399: 23.1; let a file know it was run with --script Tom Tromey
2009-09-11 3:58 ` Glenn Morris
2009-09-18 17:34 ` Tom Tromey
2009-09-18 18:04 ` Glenn Morris
2009-09-18 18:56 ` Tom Tromey [this message]
2009-09-18 19:00 ` Glenn Morris
2009-09-19 1:11 ` Tom Tromey
2009-09-19 3:19 ` Glenn Morris
2009-09-19 3:25 ` Processed: " Emacs bug Tracking System
2022-02-07 0:54 ` bug#4399: simple way to identify top-level --script file Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3y6occc90.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=4399@emacsbugs.donarmstrong.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).