GNU bug report logs - #65048
29.1; cli argument "-x" fails with "unknown option" error on PGTK Emacs

Previous Next

Package: emacs;

Reported by: John t <jturner.usa <at> gmail.com>

Date: Fri, 4 Aug 2023 03:57:04 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Po Lu <luangruo <at> yahoo.com>, John t <jturner.usa <at> gmail.com>, 65048 <at> debbugs.gnu.org
Subject: bug#65048: 29.1; cli argument "-x" fails with "unknown option" error on PGTK Emacs
Date: Wed, 09 Aug 2023 19:34:34 +0200
>>>>> On Wed, 09 Aug 2023 14:44:24 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: John t <jturner.usa <at> gmail.com>
    >> Date: Tue, 8 Aug 2023 23:51:32 -0400
    >> 

    Eli> (You've replied only to me, so no one else saw your message.  Please
    Eli> in the future use Reply All, to keep the bug address on the CC list.)

    >> I have tested the patch with PGTK, and headless configurations and the option seems to work
    >> correctly.
    >> 
    >> A friend with an x11 emacs tested the patch and reported that it returned the "unknown option" error.

    Eli> That's strange.  Can someone please test the patch on X and see if it
    Eli> works, and if not, tell me where I goofed?

Looks ok to me:

$ src/emacs -x

Wrong type argument: stringp, nil

Error: wrong-type-argument (stringp nil)
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x1d4598e800517817>))
  debug-early-backtrace()
  debug-early(error (wrong-type-argument stringp nil))
  string-match("^///+" nil)
  command-line-normalize-file-name(nil)
  command-line-1(("-scripteval"))
  command-line()
  normal-top-level()

Robert
-- 




This bug report was last modified 1 year and 288 days ago.

Previous Next


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