unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "André Alexandre Gomes" <andremegafone@gmail.com>
To: 45456@debbugs.gnu.org
Subject: [bug#45456] [PATCH] gnu: Add emacs-org-fragtog.
Date: Sun, 27 Dec 2020 15:37:24 +0300	[thread overview]
Message-ID: <87mtxz2znf.fsf@gmail.com> (raw)

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

             reply	other threads:[~2020-12-27 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 12:37 André Alexandre Gomes [this message]
2020-12-28 16:47 ` bug#45456: [PATCH] gnu: Add emacs-org-fragtog Nicolas Goaziou

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtxz2znf.fsf@gmail.com \
    --to=andremegafone@gmail.com \
    --cc=45456@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 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).