unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Amin Bandali <mab@gnu.org>
To: 39337@debbugs.gnu.org
Cc: Amin Bandali <mab@gnu.org>
Subject: [bug#39337] [PATCH] gnu: Add emacs-no-littering.
Date: Tue, 28 Jan 2020 19:13:44 -0500	[thread overview]
Message-ID: <20200129001344.12075-1-mab@gnu.org> (raw)

* 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

             reply	other threads:[~2020-01-29  0:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29  0:13 Amin Bandali [this message]
2020-02-02 14:02 ` bug#39337: [PATCH] gnu: Add emacs-no-littering Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200129001344.12075-1-mab@gnu.org \
    --to=mab@gnu.org \
    --cc=39337@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).