From: Ulrich Mueller <ulm@gentoo.org>
To: 17674@debbugs.gnu.org
Subject: bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'"
Date: Tue, 3 Jun 2014 11:16:48 +0200 [thread overview]
Message-ID: <21389.37504.465710.945958@a1i15.kph.uni-mainz.de> (raw)
$ emacs --batch -batch; echo $?
Unknown option `-batch'
255
$ emacs -batch --batch; echo $?
Unknown option `--batch'
255
$ emacs --batch --batch; echo $?
0
$ emacs -batch -batch; echo $?
0
Same problem for --no-window-system -no-window-system. It doesn't
occur for all options though, e.g. --no-init-file -no-init-file
doesn't cause an error.
This is an issue mainly when calling Emacs from a Makefile, where
options from several variables (like AM_ELCFLAGS and ELCFLAGS) can be
accumulated.
next reply other threads:[~2014-06-03 9:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 9:16 Ulrich Mueller [this message]
2014-06-03 9:37 ` bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'" Andreas Schwab
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=21389.37504.465710.945958@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=17674@debbugs.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.