summary refs log tree commit diff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2021-07-01 17:55:40 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-02 09:31:28 +0200
commit21706e1e0a57a6edc90088b55d43cddbc030ce7b (patch)
tree13c3467bb42502e5bab8ef7f0aa7d2237c5806c5 /gnu/packages/emacs-xyz.scm
parent14a725809afcf5f5a8ccbe79901bca2185da1141 (diff)
downloadguix-21706e1e0a57a6edc90088b55d43cddbc030ce7b.tar.gz
gnu: Add emacs-saveplace-pdf-view.
* gnu/packages/emacs-xyz.scm (emacs-saveplace-pdf-view): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cc761dcb5f..ac69f9fb4a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3339,6 +3339,30 @@ e.g. ghostscript and stored in the file-system, but rather created on-demand
 and stored in memory.")
       (license license:gpl3+))))
 
+(define-public emacs-saveplace-pdf-view
+  (package
+    (name "emacs-saveplace-pdf-view")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nicolaisingh/saveplace-pdf-view")
+             (commit (string-append "saveplace-pdf-view-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0i03qb6qc2agp9s5s7l08f1wl8anqndh6xshg1c3w357vd1whv7i"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/nicolaisingh/saveplace-pdf-view")
+    (synopsis "Save place in pdf-view buffers for Emacs")
+    (description
+     "This package extends the built-in Save-Place mode by adding support for
+PDF view (see @code{emacs-pdf-tools}).  This package will store the
+place (e.g., the current page and zoom) of PDF buffers under PDFView mode or
+DocView mode, and revisiting those PDF files later using the same mode will
+restore the saved place.")
+    (license license:gpl3+)))
+
 (define-public emacs-dash
   (package
     (name "emacs-dash")