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


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Ulrich Mueller <ulm <at> gentoo.org>
Cc: 17674 <at> debbugs.gnu.org
Subject: bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'"
Date: Tue, 03 Jun 2014 11:37:13 +0200
Ulrich Mueller <ulm <at> gentoo.org> writes:

> $ emacs --batch -batch; echo $?
> Unknown option `-batch'
> 255
> $ emacs -batch --batch; echo $?
> Unknown option `--batch'
> 255

Also emacs --bat --batch.  sort_args in emacs.c can only remove
duplicates that match exactly.  All arguments handled in main are
affected.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




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.