Subject: bug#74236: [PATCH] Tweaks command parsing regex to address debbugs bug#74236

From: Christopher Howard <[email-masked]>
Date: Thu, 07 Nov 2024 12:25:18 -0900

>From faa152608c418086af8e79d4bb578de4243d8fd2 Mon Sep 17 00:00:00 2001
From: Christopher Howard <[email-masked]>
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 <[email-masked]>
+;; Copyright © 2024 Christopher Howard <[email-masked]>
 
 ;; 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

See also bug#73462 for a patch which ideally would be applied first, but is not strictly speaking a prerequisite.

-- 
Christopher Howard