[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49318: closed ([PATCH] gnu: Add emacs-saveplace-pdf-view.)

From: GNU bug Tracking System
Subject: bug#49318: closed ([PATCH] gnu: Add emacs-saveplace-pdf-view.)
Date: Fri, 02 Jul 2021 07:34:02 +0000

Your message dated Fri, 02 Jul 2021 09:33:11 +0200
with message-id <87sg0xuq4o.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view.
has caused the debbugs.gnu.org bug report #49318,
regarding [PATCH] gnu: Add emacs-saveplace-pdf-view.
to be marked as done.

(If you believe you have received this mail in error, please contact

49318: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49318
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-saveplace-pdf-view. Date: Thu, 01 Jul 2021 17:55:40 +0300
* gnu/packages/emacs-xyz.scm (emacs-saveplace-pdf-view): New variable.
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5426c76c23..ecff427900 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3338,6 +3338,29 @@ 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 mode @code{save-place} by
+adding support for @code{pdf-view} (see emacs-pdf-tools).  This package will
+store the place (e.g. the current page and zoom) of PDF buffers under
+pdf-view-mode or doc-view-mode, and revisiting those PDF files later using the
+same mode will restore the saved place.")
+    (license license:gpl3)))
 (define-public emacs-dash
     (name "emacs-dash")

Attachment: signature.asc
Description: PGP signature

--- End Message ---
--- Begin Message --- Subject: Re: [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view. Date: Fri, 02 Jul 2021 09:33:11 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Andrew Tropin <andrew@trop.in> writes:

> * gnu/packages/emacs-xyz.scm (emacs-saveplace-pdf-view): New variable.

I change the license to GPL3+, used proper capitalization in description
and applied your patch.

Thank you!

Nicolas Goaziou

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]