From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45585) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2eJx-0006Fu-Bo for guix-patches@gnu.org; Fri, 14 Feb 2020 12:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2eJv-00037P-MK for guix-patches@gnu.org; Fri, 14 Feb 2020 12:00:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2eJv-00036M-59 for guix-patches@gnu.org; Fri, 14 Feb 2020 12:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2eJv-0004yf-15 for guix-patches@gnu.org; Fri, 14 Feb 2020 12:00:03 -0500 Subject: [bug#39331] [PATCH v3] gnu: Add emacs-persist. Resent-Message-ID: From: Robert Smith Date: Fri, 14 Feb 2020 17:59:18 +0100 Message-Id: <20200214165918.9452-1-robertsmith@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: mail@nicolasgoaziou.fr Cc: 39331@debbugs.gnu.org, Robert Smith * gnu/packages/emacs-xyz.scm (emacs-persist): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9087a8d98c..1cbcf8a91b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -58,6 +58,7 @@ ;;; Copyright © 2019 Leo Prikler ;;; Copyright © 2019 David Wilson ;;; Copyright © 2020 Paul Garlick +;;; Copyright © 2020 Robert Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -21455,3 +21456,24 @@ Flyspell's on-the-fly spell checking and extends these checks to also detect language. Auto-dictionary then sets @code{ispell-dictionary} to use the detected language.") (license license:gpl2+))) + +(define-public emacs-persist + (package + (name "emacs-persist") + (version "0.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/persist-" + version ".tar")) + (sha256 + (base32 "0gpxy41qawzss2526j9a7lys60vqma1lvamn4bfabwza7gfhac0q")))) + (build-system emacs-build-system) + (home-page "http://elpa.gnu.org/packages/persist.html") + (synopsis "Persist variables between emacs sessions") + (description + "This package provides variables which persist across sessions. +Values are stored in a directory in @code{user-emacs-directory}, using +one file per value. This makes it easy to delete or remove unused +variables.") + (license license:gpl3+))) -- 2.25.0