From: Andrew Tropin <andrew@trop.in>
To: 49318@debbugs.gnu.org
Subject: [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view.
Date: Thu, 01 Jul 2021 17:55:40 +0300 [thread overview]
Message-ID: <87im1u3wyb.fsf@trop.in> (raw)
[-- Attachment #1: Type: text/plain, Size: 1650 bytes --]
* 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
(package
(name "emacs-dash")
--
2.32.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]
next reply other threads:[~2021-07-01 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-01 14:55 Andrew Tropin [this message]
2021-07-02 7:33 ` bug#49318: [PATCH] gnu: Add emacs-saveplace-pdf-view Nicolas Goaziou
2021-07-02 12:52 ` [bug#49318] " Andrew Tropin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87im1u3wyb.fsf@trop.in \
--to=andrew@trop.in \
--cc=49318@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.