unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: 74236@debbugs.gnu.org
Cc: Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>,
	guix-patches@gnu.org, Andrew Tropin <andrew@trop.in>
Subject: bug#74236: [PATCH] Tweaks command parsing regex to address debbugs bug#74236
Date: Thu, 07 Nov 2024 12:25:18 -0900	[thread overview]
Message-ID: <87o72q7n41.fsf@librehacker.com> (raw)
In-Reply-To: Christopher Howard's message of "Wed, 06 Nov 2024 14:51:49 -0900 (21 hours, 27 minutes, 34 seconds ago)"

[-- 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

      reply	other threads:[~2024-11-07 21:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 23:51 bug#74236: emacs-guix: guix-command-popup not displaying argument improvers Christopher Howard
2024-11-07 21:25 ` Christopher Howard [this message]

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://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o72q7n41.fsf@librehacker.com \
    --to=christopher@librehacker.com \
    --cc=74236@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=guix-patches@gnu.org \
    --cc=liliana.prikler@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).