unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Dale Mellor <no-reply@rdmp.org>
To: Janneke Nieuwenhuizen <janneke@gnu.org>, Marius Bakke <marius@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] getopt-long permits numbers for short options.
Date: Tue, 05 Sep 2023 12:08:46 +0100	[thread overview]
Message-ID: <8d523c1b6f6e63f879eccfe1d43f745571317172.camel@rdmp.org> (raw)
In-Reply-To: <87fs3txhjn.fsf@gnu.org>

On Tue, 2023-09-05 at 08:25 +0200, Janneke Nieuwenhuizen wrote:
> Marius Bakke writes:
> 
> > * module/ice-9/getopt-long.scm (short-opt-rx): Add 0-9.
> 
> Hehe, reminds me of
> 
>    
> https://lists.gnu.org/archive/html/bug-guile/2018-07/msg00009.html
> 
> 

Also note https://debbugs.gnu.org/db/42/42669.html.  You see, your
solution fails if '-1' were supposed to be read literally as a
positional parameter.  The only solution is to make getopt-long more
intelligent in how it applies the pattern specification.

On the whole, both mine and Marius' patches are now years old and the
outstanding bug list is massive; these things are not going to get done
without a sea-change in the project administration.

Dale




  reply	other threads:[~2023-09-05 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05  6:04 [PATCH] getopt-long permits numbers for short options Marius Bakke
2023-09-05  6:25 ` Janneke Nieuwenhuizen
2023-09-05 11:08   ` Dale Mellor [this message]
2023-09-05 11:58   ` Marius Bakke

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=8d523c1b6f6e63f879eccfe1d43f745571317172.camel@rdmp.org \
    --to=no-reply@rdmp.org \
    --cc=guile-devel@gnu.org \
    --cc=janneke@gnu.org \
    --cc=marius@gnu.org \
    --cc=mcron-lsfnyl@rdmp.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).