* [bug#48506] [PATCH] gnu: Add emacs-read-only-cfg.
@ 2021-05-18 19:59 Stefan Reichör
2021-05-19 13:58 ` bug#48506: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Reichör @ 2021-05-18 19:59 UTC (permalink / raw)
To: 48506; +Cc: Stefan Reichör
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#48506: [PATCH] gnu: Add emacs-read-only-cfg.
2021-05-18 19:59 [bug#48506] [PATCH] gnu: Add emacs-read-only-cfg Stefan Reichör
@ 2021-05-19 13:58 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-05-19 13:58 UTC (permalink / raw)
To: Stefan Reichör; +Cc: 48506-done
Hello,
Stefan Reichör <stefan@xsteve.at> 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,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-19 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 19:59 [bug#48506] [PATCH] gnu: Add emacs-read-only-cfg Stefan Reichör
2021-05-19 13:58 ` bug#48506: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).