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: jgart <jgart <at> dismail.de>
Subject: bug#71836: closed (Re: [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 bug report

#71836: [PATCH mumi] client: Do not print hash symbol in issue number.

which was filed against the mumi package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71836 <at> debbugs.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: 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!

[Message part 3 (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




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.