GNU bug report logs -
#63733
28.3; error ("Unknown option ‘--batch’")
Previous Next
Full log
Message #14 received at 63733 <at> debbugs.gnu.org (full text, mbox):
> From: Ulrich Mueller <ulm <at> gentoo.org>
> Cc: 63733 <at> debbugs.gnu.org
> Date: Fri, 26 May 2023 11:33:33 +0200
>
> >>>>> On Fri, 26 May 2023, Eli Zaretskii wrote:
>
> > What happens here is that, when you use identical "-batch" or
> > "--batch" options several times, the code in sort_args removes the
> > identical copies, and we are left with a single option to process.
> > But if you use both "-batch" and "--batch", the extra option is not
> > removed, and they both appear in the sorted argv[]. Then one of them
> > is processed by 'main', the other is left for command-line-1, which
> > doesn't know what to do with it.
>
> "emacs -quick --quick" or even "emacs -Q -quick --quick" works as
> expected, though.
Because startup.el knows about it.
This bug report was last modified 1 year and 277 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.