GNU logs - #32154, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#32154: [PATCH] getopt-long: Allow digit options.
Resent-From: Jan Nieuwenhuizen <janneke@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sat, 14 Jul 2018 12:24:02 +0000
Resent-Message-ID: <handler.32154.B.153157103220484 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 32154
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: patch
To: 32154 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.153157103220484
          (code B ref -1); Sat, 14 Jul 2018 12:24:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Jul 2018 12:23:52 +0000
Received: from localhost ([127.0.0.1]:59558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1feJaZ-0005KK-TR
	for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 08:23:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35493)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1feJaY-0005K5-CS
 for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 08:23:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1feJaS-0006Ey-G5
 for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 08:23:45 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37532)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <janneke@HIDDEN>) id 1feJaS-0006Ef-D4
 for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 08:23:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54691)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1feJaR-00080l-Ha
 for bug-guile@HIDDEN; Sat, 14 Jul 2018 08:23:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1feJaQ-0006Cs-M1
 for bug-guile@HIDDEN; Sat, 14 Jul 2018 08:23:43 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42149)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <janneke@HIDDEN>)
 id 1feJaQ-0006Ck-Ia; Sat, 14 Jul 2018 08:23:42 -0400
Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=35192
 helo=dundal.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.82)
 (envelope-from <janneke@HIDDEN>)
 id 1feJaQ-0003CS-3D; Sat, 14 Jul 2018 08:23:42 -0400
From: Jan Nieuwenhuizen <janneke@HIDDEN>
Date: Sat, 14 Jul 2018 14:23:40 +0200
Message-Id: <20180714122340.3677-1-janneke@HIDDEN>
X-Mailer: git-send-email 2.18.0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

* module/ice-9/getopt-long.scm (short-opt-rx): Allow digits too.  Allows
implementing `ls -1' command line.
---
 module/ice-9/getopt-long.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/ice-9/getopt-long.scm b/module/ice-9/getopt-long.scm
index 14eaf8e23..c3e390168 100644
--- a/module/ice-9/getopt-long.scm
+++ b/module/ice-9/getopt-long.scm
@@ -222,7 +222,7 @@
 	  ((string=? "--" (car no)) (cons (reverse yes) (cdr no)))
 	  (else (loop (cons (car no) yes) (cdr no))))))
 
-(define short-opt-rx           (make-regexp "^-([a-zA-Z]+)(.*)"))
+(define short-opt-rx           (make-regexp "^-([a-zA-Z0-9]+)(.*)"))
 (define long-opt-no-value-rx   (make-regexp "^--([^=]+)$"))
 (define long-opt-with-value-rx (make-regexp "^--([^=]+)=(.*)"))
 
-- 
2.18.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Jan Nieuwenhuizen <janneke@HIDDEN>
Subject: bug#32154: Acknowledgement ([PATCH] getopt-long: Allow digit
 options.)
Message-ID: <handler.32154.B.153157103220484.ack <at> debbugs.gnu.org>
References: <20180714122340.3677-1-janneke@HIDDEN>
X-Gnu-PR-Message: ack 32154
X-Gnu-PR-Package: guile
X-Gnu-PR-Keywords: patch
Reply-To: 32154 <at> debbugs.gnu.org
Date: Sat, 14 Jul 2018 12:24:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guile@HIDDEN

If you wish to submit further information on this problem, please
send it to 32154 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
32154: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32154
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#32154: This patch breaks tests and is irrelevant now
References: <20180714122340.3677-1-janneke@HIDDEN>
In-Reply-To: <20180714122340.3677-1-janneke@HIDDEN>
Resent-From: Dale Mellor <guile-qf1qmg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Mon, 18 May 2020 10:10:01 +0000
Resent-Message-ID: <handler.32154.B32154.158979655912554 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 32154
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: patch
To: 32154 <at> debbugs.gnu.org
Received: via spool by 32154-submit <at> debbugs.gnu.org id=B32154.158979655912554
          (code B ref 32154); Mon, 18 May 2020 10:10:01 +0000
Received: (at 32154) by debbugs.gnu.org; 18 May 2020 10:09:19 +0000
Received: from localhost ([127.0.0.1]:45974 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jachz-0003GQ-3v
	for submit <at> debbugs.gnu.org; Mon, 18 May 2020 06:09:19 -0400
Received: from rdmp.org ([52.19.174.175]:50260)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <guile-qf1qmg@HIDDEN>) id 1jachx-0003GB-SO
 for 32154 <at> debbugs.gnu.org; Mon, 18 May 2020 06:09:18 -0400
Received: from [127.0.0.1] (helo=localhost) by rdmp.org with esmtp (Exim 4.92)
 (envelope-from <guile-qf1qmg@HIDDEN>) id 1jachr-0001JP-Np
 for 32154 <at> debbugs.gnu.org; Mon, 18 May 2020 10:09:11 +0000
Message-ID: <d33561fc33a5e729a6b6dc8609829bc46f3ee942.camel@HIDDEN>
From: Dale Mellor <guile-qf1qmg@HIDDEN>
Date: Mon, 18 May 2020 11:09:11 +0100
Organization: DM Bespoke Computer Solutions Ltd
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.30.5-1.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Spam-Score: 1.9 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  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 
 Content analysis details:   (1.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.9 SPF_HELO_SOFTFAIL      SPF: HELO does not match SPF record (softfail)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.9 (/)

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.






Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#32154: This issue is now dealt with by #42669
References: <20180714122340.3677-1-janneke@HIDDEN>
In-Reply-To: <20180714122340.3677-1-janneke@HIDDEN>
Resent-From: Dale Mellor <guile-qf1qmg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sun, 02 Aug 2020 10:52:01 +0000
Resent-Message-ID: <handler.32154.B32154.159636549915051 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 32154
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: patch
To: 32154 <32154 <at> debbugs.gnu.org>
Received: via spool by 32154-submit <at> debbugs.gnu.org id=B32154.159636549915051
          (code B ref 32154); Sun, 02 Aug 2020 10:52:01 +0000
Received: (at 32154) by debbugs.gnu.org; 2 Aug 2020 10:51:39 +0000
Received: from localhost ([127.0.0.1]:41807 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k2BaR-0003uU-Lv
	for submit <at> debbugs.gnu.org; Sun, 02 Aug 2020 06:51:39 -0400
Received: from rdmp.org ([52.19.174.175]:36226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <guile-qf1qmg@HIDDEN>) id 1k2BaP-0003uE-9X
 for 32154 <at> debbugs.gnu.org; Sun, 02 Aug 2020 06:51:25 -0400
Received: from [127.0.0.1] (helo=localhost) by rdmp.org with esmtp (Exim 4.92)
 (envelope-from <guile-qf1qmg@HIDDEN>) id 1k2BaJ-0005vm-Ao
 for 32154 <at> debbugs.gnu.org; Sun, 02 Aug 2020 10:51:19 +0000
Message-ID: <8baf86a871554414bae243a8630f1842543f12ce.camel@HIDDEN>
From: Dale Mellor <guile-qf1qmg@HIDDEN>
Date: Sun, 02 Aug 2020 11:51:18 +0100
Organization: DM Bespoke Computer Solutions Ltd
Content-Type: text/plain
User-Agent: Evolution 3.30.5-1.1 
MIME-Version: 1.0
Content-Transfer-Encoding: base64
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details. Content preview:  
 Content analysis details:   (2.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.9 SPF_HELO_SOFTFAIL      SPF: HELO does not match SPF record (softfail)
 0.0 MIME_BASE64_TEXT       RAW: Message text disguised using base64
 encoding
 1.0 PDS_TONAME_EQ_TOLOCAL_VSHORT Very short body and From looks like
 2 different emails
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.9 (/)

Cg0K







Last modified: Sun, 2 Aug 2020 11:00:02 UTC

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