Received: (at 32154) by debbugs.gnu.org; 2 Aug 2020 10:51:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 06:51:39 2020 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> Subject: This issue is now dealt with by #42669 From: Dale Mellor <guile-qf1qmg@HIDDEN> To: 32154 <32154 <at> debbugs.gnu.org> 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-Debbugs-Envelope-To: 32154 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
bug-guile@HIDDEN
:bug#32154
; Package guile
.
Full text available.Received: (at 32154) by debbugs.gnu.org; 18 May 2020 10:09:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 18 06:09:19 2020 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> Subject: This patch breaks tests and is irrelevant now From: Dale Mellor <guile-qf1qmg@HIDDEN> To: 32154 <at> debbugs.gnu.org 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-Debbugs-Envelope-To: 32154 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.
bug-guile@HIDDEN
:bug#32154
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 Jul 2018 12:23:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 14 08:23:52 2018 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> To: bug-guile@HIDDEN Subject: [PATCH] getopt-long: Allow digit options. 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-Debbugs-Envelope-To: submit 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
Jan Nieuwenhuizen <janneke@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#32154
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.