GNU bug report logs - #17674
24.3; "emacs --batch -batch" fails with "Unknown option `-batch'"

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Tue, 3 Jun 2014 09:18:02 UTC

Severity: minor

Found in version 24.3

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'"
Date: Tue, 3 Jun 2014 11:16:48 +0200
$ 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.




This bug report was last modified 11 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.