From unknown Sun Jun 22 17:11:39 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#48506 <48506@debbugs.gnu.org> To: bug#48506 <48506@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add emacs-read-only-cfg. Reply-To: bug#48506 <48506@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:11:39 +0000 retitle 48506 [PATCH] gnu: Add emacs-read-only-cfg. reassign 48506 guix-patches submitter 48506 Stefan Reich=C3=B6r severity 48506 normal tag 48506 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 15:59:57 2021 Received: (at submit) by debbugs.gnu.org; 18 May 2021 19:59:57 +0000 Received: from localhost ([127.0.0.1]:57367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj5si-00086F-M4 for submit@debbugs.gnu.org; Tue, 18 May 2021 15:59:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:44500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj5sg-000867-VZ for submit@debbugs.gnu.org; Tue, 18 May 2021 15:59:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj5sg-0000LS-4b for guix-patches@gnu.org; Tue, 18 May 2021 15:59:54 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:49366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj5sd-0006XY-FK for guix-patches@gnu.org; Tue, 18 May 2021 15:59:53 -0400 Received: from localhost (217-149-167-109.nat.highway.telekom.at [217.149.167.109]) by dd3624.kasserver.com (Postfix) with ESMTPA id 5A3EA5D400E6; Tue, 18 May 2021 21:59:47 +0200 (CEST) From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-read-only-cfg. Date: Tue, 18 May 2021 21:59:44 +0200 Message-Id: <20210518195944.87716-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Stefan=20Reich=C3=B6r?= 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 (---) * gnu/packages/emacs-xyz.scm (emacs-read-only-cfg): New variable. --- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2c80087305..1f1c41a6c8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2069,6 +2069,32 @@ letter to each link using avy.") @command{sudo} if it cannot write to it.") (license license:expat))) +(define-public emacs-read-only-cfg + ;; XXX: Upstream has no tagged release. Version is extracted from keyword + ;; in main file. + (let ((commit "c128c9412f768adf89ff5c4ad433cf0beab6656a") + (revision "0")) + (package + (name "emacs-read-only-cfg") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pfchen/read-only-cfg") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11zj4ysmacvz82j1siqlcp30i05my20lscls8wkdjl75g9d2b12l")))) + (build-system emacs-build-system) + (home-page "https://github.com/pfchen/read-only-cfg") + (synopsis "Automatically make files read-only based on user configuration") + (description + "Emacs minor mode that can automatically make files read-only based on +user configuration. User configuration may be prefix directories or regex +patterns.") + (license license:gpl3+)))) + (define-public emacs-bbdb (package (name "emacs-bbdb") -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Wed May 19 09:58:23 2021 Received: (at 48506-done) by debbugs.gnu.org; 19 May 2021 13:58:23 +0000 Received: from localhost ([127.0.0.1]:60344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljMiN-0004MJ-Fq for submit@debbugs.gnu.org; Wed, 19 May 2021 09:58:23 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:7727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljMiL-0004M1-Je for 48506-done@debbugs.gnu.org; Wed, 19 May 2021 09:58:22 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id B6E6124000A; Wed, 19 May 2021 13:58:14 +0000 (UTC) From: Nicolas Goaziou To: Stefan =?utf-8?Q?Reich=C3=B6r?= Subject: Re: [bug#48506] [PATCH] gnu: Add emacs-read-only-cfg. References: <20210518195944.87716-1-stefan@xsteve.at> Date: Wed, 19 May 2021 15:58:13 +0200 In-Reply-To: <20210518195944.87716-1-stefan@xsteve.at> ("Stefan =?utf-8?Q?Reich=C3=B6r=22's?= message of "Tue, 18 May 2021 21:59:44 +0200") Message-ID: <878s4a4yh6.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48506-done Cc: 48506-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: -1.7 (-) Hello, Stefan Reich=C3=B6r writes: > * gnu/packages/emacs-xyz.scm (emacs-read-only-cfg): New variable. I turned the description into a complete sentence and applied your patch. Thank you. Regards, --=20 Nicolas Goaziou From unknown Sun Jun 22 17:11:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 17 Jun 2021 11:24:05 +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