From: Glenn Morris <rgm@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: 4399@emacsbugs.donarmstrong.com
Subject: bug#4399: 23.1; let a file know it was run with --script
Date: Fri, 18 Sep 2009 14:04:44 -0400 [thread overview]
Message-ID: <l97hvwp1s3.fsf@fencepost.gnu.org> (raw)
In-Reply-To: m3fxakf96t.fsf@fleche.redhat.com
Tom Tromey wrote:
> My specific use was for tests: I want "emacs --script test.el" to run
> the tests, but I want to be able to load the file just to get the defuns
> without running the test suite.
It sounds like noninteractive will work fine (you could perhaps check
command-line-args if you want finer control)? Or use the traditional:
emacs -batch -l ./test.el -f batch-run-tests
next prev parent reply other threads:[~2009-09-18 18:04 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 [this message]
2009-09-18 18:56 ` Tom Tromey
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=l97hvwp1s3.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=4399@emacsbugs.donarmstrong.com \
--cc=tromey@redhat.com \
/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.