From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49748) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwZEG-0000Hw-Gz for guix-patches@gnu.org; Tue, 28 Jan 2020 17:21:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwZEF-00057J-7g for guix-patches@gnu.org; Tue, 28 Jan 2020 17:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwZEE-00056e-Qg for guix-patches@gnu.org; Tue, 28 Jan 2020 17:21:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iwZEE-0000Sd-LE for guix-patches@gnu.org; Tue, 28 Jan 2020 17:21:02 -0500 Subject: [bug#39331] [PATCH] gnu: Add emacs-persist and emacs-org-drill Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:48252) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwZDA-00008W-FP for guix-patches@gnu.org; Tue, 28 Jan 2020 17:19:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwZD8-0002is-S5 for guix-patches@gnu.org; Tue, 28 Jan 2020 17:19:56 -0500 Received: from mout01.posteo.de ([185.67.36.65]:57211) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwZD8-0002cu-A7 for guix-patches@gnu.org; Tue, 28 Jan 2020 17:19:54 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id CE1F616005E for ; Tue, 28 Jan 2020 23:19:51 +0100 (CET) From: Robert Smith Date: Tue, 28 Jan 2020 23:19:44 +0100 Message-Id: <20200128221944.6791-1-robertsmith@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 39331@debbugs.gnu.org Cc: Robert Smith * gnu/packages/emacs-xyz.scm (emacs-persist): New variable. (emacs-org-drill): New variable. --- Added emacs-org-drill and its dependency emacs-persist. emacs-org-drill was previously included in emacs-org-contrib, but was removed in 2019 and placed in a separate melpa package. gnu/packages/emacs-xyz.scm | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e834dfffb3..7054bd0d72 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -58,6 +58,7 @@ ;;; Copyright =C2=A9 2019 Leo Prikler ;;; Copyright =C2=A9 2019 David Wilson ;;; Copyright =C2=A9 2020 Paul Garlick +;;; Copyright =C2=A9 2020 Robert Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -21237,3 +21238,53 @@ mode-line text (lighter) of major and minor mode= s.") (description "@code{unkillable-scratch} helps prevent killing buff= ers matching a given regexp.") (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 `user-emacs-directory', using +one file per value. This makes it easy to delete or remove unused +variables.") + (license license:gpl3+))) + +(define-public emacs-org-drill + (package + (name "emacs-org-drill") + ;; Latest version in melpa-stable is from 2016 + (version "20191219.2100") + (source + (origin + (method url-fetch) + (uri (string-append "https://melpa.org/packages/org-drill-" + version ".el")) + (sha256 + (base32 "0nbsn1vi2g68yvy74r3bmywfkgpm4a5nmx5g9sxy5fb185lrkzc8")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-seq" ,emacs-seq) + ("emacs-org" ,emacs-org) + ("emacs-persist" ,emacs-persist))) + (home-page "https://gitlab.com/phillord/org-drill") + (synopsis "Self-testing using spaced repetition") + (description + "Org-Drill is an extension for Org mode. Org-Drill uses a spaced +repetition algorithm to conduct interactive drill sessions, using org fi= les as +sources of facts to be memorised. Each topic is treated as a flash card.= The +material to be remembered is presented to the student in random order. T= he +student rates his or her recall of each item, and this information is us= ed to +schedule the item for later revision.") + (license license:gpl3+))) + --=20 2.25.0