* bug#74236: [PATCH] Tweaks command parsing regex to address debbugs bug#74236
[not found] <87pln7ncoa.fsf@librehacker.com>
@ 2024-11-07 21:25 ` Christopher Howard
0 siblings, 0 replies; only message in thread
From: Christopher Howard @ 2024-11-07 21:25 UTC (permalink / raw)
To: 74236
Cc: Katherine Cox-Buday, Liliana Marie Prikler, guix-patches,
Andrew Tropin
[-- Attachment #1: 0001-Tweaks-command-parsing-regex-to-address-debbugs-bug-.patch --]
[-- Type: text/x-patch, Size: 1090 bytes --]
From faa152608c418086af8e79d4bb578de4243d8fd2 Mon Sep 17 00:00:00 2001
From: Christopher Howard <christopher@librehacker.com>
Date: Thu, 7 Nov 2024 12:14:43 -0900
Subject: [PATCH] Tweaks command parsing regex to address debbugs bug#74236
---
elisp/guix-help-vars.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/elisp/guix-help-vars.el b/elisp/guix-help-vars.el
index 0dc0bc6..b30938a 100644
--- a/elisp/guix-help-vars.el
+++ b/elisp/guix-help-vars.el
@@ -1,6 +1,7 @@
;;; guix-help-vars.el --- Variables related to Guix --help output
;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
+;; Copyright © 2024 Christopher Howard <christopher@librehacker.com>
;; This file is part of Emacs-Guix.
@@ -42,7 +43,7 @@
"Common regexp used to find command options.")
(defvar guix-help-parse-command-regexp
- (rx bol " "
+ (rx bol " "
(group wordchar (one-or-more (or wordchar "-"))))
"Regexp used to find guix commands.
'Command' means any option not prefixed with '-'. For example,
--
2.46.0
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
See also bug#73462 for a patch which ideally would be applied first, but is not strictly speaking a prerequisite.
--
Christopher Howard
^ permalink raw reply related [flat|nested] only message in thread