From unknown Fri Aug 08 22:15:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40785 <40785@debbugs.gnu.org> To: bug#40785 <40785@debbugs.gnu.org> Subject: Status: guix: edit: Make nano the default editor. Reply-To: bug#40785 <40785@debbugs.gnu.org> Date: Sat, 09 Aug 2025 05:15:20 +0000 retitle 40785 guix: edit: Make nano the default editor. reassign 40785 guix-patches submitter 40785 Raghav Gururajan severity 40785 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 22 20:59:12 2020 Received: (at submit) by debbugs.gnu.org; 23 Apr 2020 00:59:12 +0000 Received: from localhost ([127.0.0.1]:53650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRQCu-0005s6-Bq for submit@debbugs.gnu.org; Wed, 22 Apr 2020 20:59:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:47758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRQCt-0005rx-0z for submit@debbugs.gnu.org; Wed, 22 Apr 2020 20:59:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53494) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRQCr-0000pK-IM for guix-patches@gnu.org; Wed, 22 Apr 2020 20:59:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRQCp-00020q-M2 for guix-patches@gnu.org; Wed, 22 Apr 2020 20:59:09 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48220) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jRQCo-0001ce-UY for guix-patches@gnu.org; Wed, 22 Apr 2020 20:59:07 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CC3E6217FA for ; Thu, 23 Apr 2020 02:59:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kwb9DnIeM1FK for ; Thu, 23 Apr 2020 02:59:01 +0200 (CEST) Date: Wed, 22 Apr 2020 20:58:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1587603541; bh=cJTTr8FOzLVdZZSU/g3R6k7kO/ig/zy50b47rolQtLQ=; h=Date:From:To:Subject; b=cPoKW1oSjIj8Y5kp89B56YfYbM/YvWbFfSNH/F9WHx1p/fPAQcjFC74trNiUDdcZ0 pqRTFNTDi0+T0CCVms4eY6N+ybs66OkGcuDcKYpCpIxMK0S36vx8AsIS1ehFlMmLU6 QkrDAqUOaLgl85LNzzeeC3SHpancTHBV4nnNcuQGF24fdSiPCi9Py8QZtK6dqy/O+P pIDe7HYTn9KdeWFu4V2iLyFW0sgr5/M12oGUei06v2gZ3qFAMHrqJgD+VEFeQEuF3S BDqkrYu7XFGCfQ8ljvQkCtcWa5DiqG3PD8mKxtuHVzTwxuSJBx7FvXVkmAdZwXEYVp EVf9so2YKAwOg== From: Raghav Gururajan To: guix-patches@gnu.org Subject: guix: edit: Make nano the default editor. Message-ID: <20200422205850.518dbe3e.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/QW_/LwrUcFglDwbBEVjp8/p" Received-SPF: pass client-ip=178.21.23.139; envelope-from=raghavgururajan@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/22 20:59:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.21.23.139 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --MP_/QW_/LwrUcFglDwbBEVjp8/p Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/QW_/LwrUcFglDwbBEVjp8/p Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-guix-edit-Make-nano-the-default-editor.patch >From c0770e600823315dddb6a6c273e461c98195622f Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 22 Apr 2020 20:55:40 -0400 Subject: [PATCH] guix: edit: Make nano the default editor. * guix/scripts/edit.scm: Make nano the default editor. Nano is sensible default, as it is installed by base system. For development, user can set custom value for $EDITOR. --- guix/scripts/edit.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/guix/scripts/edit.scm b/guix/scripts/edit.scm index a6fd1d2751..43f3011869 100644 --- a/guix/scripts/edit.scm +++ b/guix/scripts/edit.scm @@ -56,10 +56,9 @@ Start $VISUAL or $EDITOR to edit the definitions of PACKAGE...\n")) (show-bug-report-information)) (define %editor - ;; XXX: It would be better to default to something more likely to be - ;; pre-installed on an average GNU system. Since Nano is not suited for - ;; editing Scheme, Emacs is used instead. - (make-parameter (or (getenv "VISUAL") (getenv "EDITOR") "emacs"))) + ;; Nano is sensible default, as it is installed by base system. + ;; For development, user can set custom value for $EDITOR. + (make-parameter (or (getenv "VISUAL") (getenv "EDITOR") "nano"))) (define (search-path* path file) "Like 'search-path' but exit if FILE is not found." -- 2.26.1 --MP_/QW_/LwrUcFglDwbBEVjp8/p-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 17:28:14 2020 Received: (at 40785-done) by debbugs.gnu.org; 27 Apr 2020 21:28:14 +0000 Received: from localhost ([127.0.0.1]:38254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTBIU-00012X-4M for submit@debbugs.gnu.org; Mon, 27 Apr 2020 17:28:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTBIR-00012F-Dl for 40785-done@debbugs.gnu.org; Mon, 27 Apr 2020 17:28:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44917) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTBIL-0001iM-VG; Mon, 27 Apr 2020 17:28:06 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54514 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTBIJ-0005Uw-LS; Mon, 27 Apr 2020 17:28:05 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Raghav Gururajan Subject: Re: [bug#40785] guix: edit: Make nano the default editor. References: <20200422205850.518dbe3e.raghavgururajan@disroot.org> Date: Mon, 27 Apr 2020 23:28:02 +0200 In-Reply-To: <20200422205850.518dbe3e.raghavgururajan@disroot.org> (Raghav Gururajan's message of "Wed, 22 Apr 2020 20:58:50 -0400") Message-ID: <87sggovct9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40785-done Cc: 40785-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Raghav Gururajan skribis: >>>From c0770e600823315dddb6a6c273e461c98195622f Mon Sep 17 00:00:00 2001 > From: Raghav Gururajan > Date: Wed, 22 Apr 2020 20:55:40 -0400 > Subject: [PATCH] guix: edit: Make nano the default editor. > > * guix/scripts/edit.scm: Make nano the default editor. > > Nano is sensible default, as it is installed by base system. > For development, user can set custom value for $EDITOR. Applied, thanks! Ludo=E2=80=99. From unknown Fri Aug 08 22:15:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 May 2020 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator