unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39337] [PATCH] gnu: Add emacs-no-littering.
@ 2020-01-29  0:13 Amin Bandali
  2020-02-02 14:02 ` bug#39337: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Amin Bandali @ 2020-01-29  0:13 UTC (permalink / raw)
  To: 39337; +Cc: Amin Bandali

* gnu/packages/emacs-xyz.scm (emacs-no-littering): 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 e834dfffb3..e9f998e5ae 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21237,3 +21237,29 @@ mode-line text (lighter) of major and minor modes.")
       (description "@code{unkillable-scratch} helps prevent killing buffers
 matching a given regexp.")
       (license license:gpl2+))))
+
+(define-public emacs-no-littering
+  (package
+    (name "emacs-no-littering")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emacscollective/no-littering.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "17is06l0w6glppabv2kaclrnqi3dqb6p6alpslpg7lrjd8vd45ir"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/emacscollective/no-littering")
+    (synopsis "Help keep ~/.emacs.d/ clean")
+    (description "The default paths used to store configuration files
+and persistent data are not consistent across Emacs packages, be them
+built-in or third-party ones.  @code{no-littering} sets out to help
+clean @file{~/.emacs.d/} by putting configuration files in
+@var{no-littering-etc-directory} (default: @file{~/.emacs.d/etc/}) and
+persistent data files in @var{no-littering-var-directory} (default:
+@file{~/.emacs.d/var/}), as well as using more descriptive names for
+files and subdirectories when appropriate.")
+    (license license:gpl3+)))
-- 
2.25.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#39337: [PATCH] gnu: Add emacs-no-littering.
  2020-01-29  0:13 [bug#39337] [PATCH] gnu: Add emacs-no-littering Amin Bandali
@ 2020-02-02 14:02 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-02-02 14:02 UTC (permalink / raw)
  To: Amin Bandali; +Cc: 39337-done

Hello,

Amin Bandali <mab@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-no-littering): New variable.

I slightly reworded the description so it would get less technical, and
applied your patch (as 6ba6ad4ca362a8731574fb0fb8c7aed07ff5f606). 

Thank you!

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-02 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29  0:13 [bug#39337] [PATCH] gnu: Add emacs-no-littering Amin Bandali
2020-02-02 14:02 ` bug#39337: " 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).