diff mbox series

[bug#39337] gnu: Add emacs-no-littering.

Message ID 20200129001344.12075-1-mab@gnu.org
State Accepted
Headers show
Series [bug#39337] gnu: Add emacs-no-littering. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Amin Bandali Jan. 29, 2020, 12:13 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-no-littering): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Comments

Nicolas Goaziou Feb. 2, 2020, 2:02 p.m. UTC | #1
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,
diff mbox series

Patch

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+)))