all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view.
@ 2021-07-01 14:55 Andrew Tropin
  2021-07-02  7:33 ` bug#49318: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Tropin @ 2021-07-01 14:55 UTC (permalink / raw)
  To: 49318

[-- 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 --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#49318: [PATCH] gnu: Add emacs-saveplace-pdf-view.
  2021-07-01 14:55 [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view Andrew Tropin
@ 2021-07-02  7:33 ` Nicolas Goaziou
  2021-07-02 12:52   ` [bug#49318] " Andrew Tropin
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-07-02  7:33 UTC (permalink / raw)
  To: Andrew Tropin; +Cc: 49318-done

Hello,

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!

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view.
  2021-07-02  7:33 ` bug#49318: " Nicolas Goaziou
@ 2021-07-02 12:52   ` Andrew Tropin
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Tropin @ 2021-07-02 12:52 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 49318-done

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> 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.

Thanks a lot!)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-02 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-01 14:55 [bug#49318] [PATCH] gnu: Add emacs-saveplace-pdf-view Andrew Tropin
2021-07-02  7:33 ` bug#49318: " Nicolas Goaziou
2021-07-02 12:52   ` [bug#49318] " Andrew Tropin

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.