From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83lfq516i9.fsf@gnu.org> References: <28C9184B-980C-4B95-9E77-92EA76461661@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1822"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39168@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 18 10:04:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1isk1b-0000Oq-KE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 10:04:11 +0100 Original-Received: from localhost ([::1]:38414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isk1a-0004AX-8y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 04:04:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41998) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isk1T-0004AR-F6 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:04:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isk1S-0001Pu-K5 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:04:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isk1S-0001Ph-H8 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isk1S-0000gr-DO for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2020 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39168 X-GNU-PR-Package: emacs Original-Received: via spool by 39168-submit@debbugs.gnu.org id=B39168.15793381962599 (code B ref 39168); Sat, 18 Jan 2020 09:04:02 +0000 Original-Received: (at 39168) by debbugs.gnu.org; 18 Jan 2020 09:03:16 +0000 Original-Received: from localhost ([127.0.0.1]:40448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isk0i-0000fq-1j for submit@debbugs.gnu.org; Sat, 18 Jan 2020 04:03:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isk0g-0000fe-RU for 39168@debbugs.gnu.org; Sat, 18 Jan 2020 04:03:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1isk0b-0000vu-Ik; Sat, 18 Jan 2020 04:03:09 -0500 Original-Received: from [176.228.60.248] (port=4963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1isk0a-0004G1-T4; Sat, 18 Jan 2020 04:03:09 -0500 In-reply-to: <28C9184B-980C-4B95-9E77-92EA76461661@gmail.com> (message from Yuan Fu on Fri, 17 Jan 2020 23:26:48 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174797 Archived-At: > From: Yuan Fu > 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.