GNU bug report logs - #71836
[PATCH mumi] client: Do not print hash symbol in issue number.

Previous Next

Package: mumi;

Reported by: jgart <jgart <at> dismail.de>

Date: Sat, 29 Jun 2024 06:45:02 UTC

Severity: normal

Tags: patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71836: closed ([PATCH mumi] client: Do not print hash symbol
 in issue number.)
Date: Sat, 05 Oct 2024 00:16:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 05 Oct 2024 01:15:12 +0100
with message-id <87v7y7s8vj.fsf <at> systemreboot.net>
and subject line Re: [PATCH mumi] client: Do not print hash symbol in issue number.
has caused the debbugs.gnu.org bug report #71836,
regarding [PATCH mumi] client: Do not print hash symbol in issue number.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
71836: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71836
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH mumi] client: Do not print hash symbol in issue number.
Date: Sat, 29 Jun 2024 01:40:01 -0500
Hi,

Printing the hash symbol in the mumi search output makes it harder to
conveniently double click on the issue number word and copy paste it
to another mumi command such as mumi current ISSUE. I think this
improves the terminal UI ergonomics.

This patch remove the hash symbol that is printed to standard output.

WDYT

all the best,

jgart

* mumi/client.scm (list-issue): Do not print hash symbol.
---
 mumi/client.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mumi/client.scm b/mumi/client.scm
index 9231589..77fe07c 100644
--- a/mumi/client.scm
+++ b/mumi/client.scm
@@ -96,8 +96,7 @@
 (define (list-issue issue)
   "List issue described by ISSUE association list."
   (display (colorize-string
-            (string-append "#"
-                           (number->string (assoc-ref issue "number")))
+            (number->string (assoc-ref issue "number"))
             'YELLOW))
   (display " ")
   (unless (assoc-ref issue "open")
-- 
2.45.2



[Message part 3 (message/rfc822, inline)]
From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 71836-done <at> debbugs.gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>, jgart <jgart <at> dismail.de>
Subject: Re: [PATCH mumi] client: Do not print hash symbol in issue number.
Date: Sat, 05 Oct 2024 01:15:12 +0100
Applied and pushed, thanks!


This bug report was last modified 286 days ago.

Previous Next


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