unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45456] [PATCH] gnu: Add emacs-org-fragtog.
@ 2020-12-27 12:37 André Alexandre Gomes
  2020-12-28 16:47 ` bug#45456: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: André Alexandre Gomes @ 2020-12-27 12:37 UTC (permalink / raw)
  To: 45456

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

Hi Guix!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-org-fragtog.patch --]
[-- Type: text/x-patch, Size: 1790 bytes --]

From 59b2de6252ae54944050246dd9041b3852024e7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Alexandre=20Gomes?= <andremegafone@gmail.com>
Date: Sun, 27 Dec 2020 15:03:50 +0300
Subject: [PATCH] gnu: Add emacs-org-fragtog.

gnu/packages/emacs-xyz.scm (emacs-org-fragtog): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0822bfdd29..4d78067f13 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26100,3 +26100,29 @@ to pastebin-like services.  It supports more than one service and will
 failover if one service fails.  More services can easily be added over time
 and prefered services can easily be configured.")
     (license license:gpl3+)))
+
+(define-public emacs-org-fragtog
+  (package
+    (name "emacs-org-fragtog")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/io12/org-fragtog.git")
+             (commit version)))
+       (file-name
+        (git-file-name name version))
+       (sha256
+        (base32 "1rzi67lb3mxqg3x6d8zx6rxncg7lw14agqwbh7zvgc2iins59j0f"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-org" ,emacs-org)))
+    (home-page "https://github.com/io12/org-fragtog")
+    (synopsis "Toggle org-mode latex fragment previews at cursor")
+    (description
+     "Org mode supports inline image previews of latex fragments.  These
+can be toggled with C-c C-x C-l.  This package automates this, so
+fragment previews are disabled for editing when your cursor steps onto
+them, and re-enabled when the cursor leaves.")
+    (license license:gpl3+)))
-- 
2.29.2


[-- Attachment #3: Type: text/plain, Size: 58 bytes --]


--
André Alexandre Gomes
"Free Thought, Free World"

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

* bug#45456: [PATCH] gnu: Add emacs-org-fragtog.
  2020-12-27 12:37 [bug#45456] [PATCH] gnu: Add emacs-org-fragtog André Alexandre Gomes
@ 2020-12-28 16:47 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-12-28 16:47 UTC (permalink / raw)
  To: André Alexandre Gomes; +Cc: 45456-done

Hello,

André Alexandre Gomes <andremegafone@gmail.com> writes:

> Subject: [PATCH] gnu: Add emacs-org-fragtog.
>
> gnu/packages/emacs-xyz.scm (emacs-org-fragtog): New variable.

Applied (elsewhere than at the end of the "emacs-xyz.scm" file). Thank you!

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2020-12-28 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 12:37 [bug#45456] [PATCH] gnu: Add emacs-org-fragtog André Alexandre Gomes
2020-12-28 16:47 ` bug#45456: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).