From patchwork Sat Jun 29 06:40:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 65747 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 414D827BBEA; Sat, 29 Jun 2024 07:45:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 66CDB27BBE2 for ; Sat, 29 Jun 2024 07:45:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNRpZ-0000MA-Rx; Sat, 29 Jun 2024 02:45:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNRpX-0000Lk-HC for guix-patches@gnu.org; Sat, 29 Jun 2024 02:45:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNRpX-0005f8-7x for guix-patches@gnu.org; Sat, 29 Jun 2024 02:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNRpW-0005aJ-JC for guix-patches@gnu.org; Sat, 29 Jun 2024 02:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71836] [PATCH mumi] client: Do not print hash symbol in issue number. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jun 2024 06:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71836@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171964349421431 (code B ref -1); Sat, 29 Jun 2024 06:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jun 2024 06:44:54 +0000 Received: from localhost ([127.0.0.1]:36798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNRpO-0005Zb-8f for submit@debbugs.gnu.org; Sat, 29 Jun 2024 02:44:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:52524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNRpM-0005ZO-9p for submit@debbugs.gnu.org; Sat, 29 Jun 2024 02:44:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNRpM-0000K2-3z for guix-patches@gnu.org; Sat, 29 Jun 2024 02:44:52 -0400 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNRpK-0005Xy-25 for guix-patches@gnu.org; Sat, 29 Jun 2024 02:44:51 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 575b6025 for ; Sat, 29 Jun 2024 08:44:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=35/VRFV7ejUCWLRLTiGqIRoMGK8OgieRCm9J6osiuII=; b= UQl7WST0FOjn2842OdePokuDUqUOsOGuD4e26EWQb3ncNr2069EDiGFhG6O8oRQn 1A5U92zTihiXW3uy0bZfFyEE3LoJjIoX/pNpkhWadMViXlj2eRQm7Do/7c1PkhF7 VPRnOYqOyQwjsPxq5CWKpPdxJugBWX8+8TIzpTJ7EJD8tD/HN9UE9lVU5vjiqS3P 7ydkXKbjyjA8Ia7Du4JTPECWVk+0i3QRUw5kDno3rUtVDFOUCa9ZMD8bsvVpwWKN azoQq27s7OuTk63z6ZphK6phs2JU6H2EmS8rymdyl7suzbpSXkugezOV+r65Gj5V DMnhPFT+F+e7uA0tShDkDQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 4b3dade7 for ; Sat, 29 Jun 2024 08:44:42 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 12bbb777 for ; Sat, 29 Jun 2024 08:44:41 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 61351377 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 29 Jun 2024 08:44:41 +0200 (CEST) Date: Sat, 29 Jun 2024 01:40:01 -0500 Message-ID: <20240629064433.132460-1-jgart@dismail.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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")