GNU bug report logs - #39168
27.0.50; Error on command line flags with use dump-file flag with other flags

Previous Next

Package: emacs;

Reported by: Yuan Fu <casouri <at> gmail.com>

Date: Sat, 18 Jan 2020 04:28:01 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 39168 <at> debbugs.gnu.org
Subject: bug#39168: 27.0.50; Error on command line flags with use dump-file flag with other flags
Date: Sat, 18 Jan 2020 11:03:10 +0200
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Fri, 17 Jan 2020 23:26:48 -0500
> 
> 
> - dump an image: emacs --batch -q --eval '(dump-emacs-portable
>   "~/.emacs.d/emacs.pdmp")'
> - start emacs: ~/bin/emacs -q --dump-file=/Users/yuan/.emacs.d/emacs.pdmp -g 151x50
> - error: command-line-1: Unknown option ‘--dump-file=/Users/yuan/.emacs.d/emacs.pdmp’

Not _any_ other flag, but flags parsed in command-line-1.

If we restored Emacs from a dump file, we should filter --dump-file
(and the following argument, if --dump-file doesn't end in a '=') in
init_cmdargs, so that startup.el doesn't see it.




This bug report was last modified 3 years and 91 days ago.

Previous Next


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