From patchwork Fri Feb 14 16:59:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Smith X-Patchwork-Id: 20251 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F399B27BBEA; Fri, 14 Feb 2020 17:04:06 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id AAFAA27BBE4 for ; Fri, 14 Feb 2020 17:04:06 +0000 (GMT) Received: from localhost ([::1]:41832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2eNq-0002lG-4h for patchwork@mira.cbaines.net; Fri, 14 Feb 2020 12:04:06 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#39331] [PATCH v3] gnu: Add emacs-persist. Resent-From: Robert Smith Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Feb 2020 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39331 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: mail@nicolasgoaziou.fr Cc: 39331@debbugs.gnu.org, Robert Smith Received: via spool by 39331-submit@debbugs.gnu.org id=B39331.158169960219099 (code B ref 39331); Fri, 14 Feb 2020 17:00:02 +0000 Received: (at 39331) by debbugs.gnu.org; 14 Feb 2020 17:00:02 +0000 Received: from localhost ([127.0.0.1]:34624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2eJq-0004xu-5o for submit@debbugs.gnu.org; Fri, 14 Feb 2020 12:00:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]:43361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2eJn-0004xb-Qf for 39331@debbugs.gnu.org; Fri, 14 Feb 2020 11:59:56 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6C432160063 for <39331@debbugs.gnu.org>; Fri, 14 Feb 2020 17:59:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1581699589; bh=ldFAOrdrYGIYK0o6fa2UGLTKh86deUyDl/QEmNfq/3U=; h=From:To:Cc:Subject:Date:From; b=cPQzWbReD5SOB0dmcbLVAMMdmeCvMKubmdCTzxRwVY9HMldBvT06cu/sP8Pfah8qe q7K/PtI2Hqtm/tevpwgB+aADG1GfOotgs97E7wneFTS4N6XENyI3PfD46ZdMIcAaFx k/hpNKeZPCQ1An7Enza3+XsW/WlRiV+1Tu50V7Bc3luT1awujLCsBhoPVGQrVII/Jg yl2sfCVzp3tVy7vCpVipUHfIpT2esyjC0vsm582JubCNl8vtSXZ0nSu5c1iz3Jrldn i5CN+ZEYD8n1wCybTUvOcUGI0WX3i0PfVv5U3KeIzuFavCu9J1QC5oAk0K7gKihu22 stoLo6zsFK9ag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48K03m474tz6tmD; Fri, 14 Feb 2020 17:59:48 +0100 (CET) From: Robert Smith Date: Fri, 14 Feb 2020 17:59:18 +0100 Message-Id: <20200214165918.9452-1-robertsmith@posteo.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+)))