unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Dale Mellor <guile-qf1qmg@rdmp.org>
To: 32154@debbugs.gnu.org
Subject: bug#32154: This patch breaks tests and is irrelevant now
Date: Mon, 18 May 2020 11:09:11 +0100	[thread overview]
Message-ID: <d33561fc33a5e729a6b6dc8609829bc46f3ee942.camel@rdmp.org> (raw)
In-Reply-To: <20180714122340.3677-1-janneke@gnu.org>

Note that this patch breaks an existing test (since 2001), namely

(option-ref (getopt-long
              (list "prog" "-f4")
              '((foo
                 (value optional)
                 (single-char #\f))
                (bar)))
             'foo #f)

bails out with 

prog: no such option: -4


The only way to deal with this is to give getopt-long more intelligence in determining where command-line arguments are option
values or otherwise; this is the subject of #40719 which also allows numerical short options, but doesn't break the test suite.

My suggestion would be to dismiss (close) this bug report at this time.







  reply	other threads:[~2020-05-18 10:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14 12:23 bug#32154: [PATCH] getopt-long: Allow digit options Jan Nieuwenhuizen
2020-05-18 10:09 ` Dale Mellor [this message]
2020-08-02 10:51 ` bug#32154: This issue is now dealt with by #42669 Dale Mellor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d33561fc33a5e729a6b6dc8609829bc46f3ee942.camel@rdmp.org \
    --to=guile-qf1qmg@rdmp.org \
    --cc=32154@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).