unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32654] [PATCH] Add emacs-org-reveal
@ 2018-09-07  2:14 Maxim Cournoyer
  2018-09-11 15:10 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2018-09-07  2:14 UTC (permalink / raw)
  To: 32654

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

Hello,

This adds Org-Reveal (called ox-reveal in MELPA), an Emacs package
useful to create presentation (slides) to be driven by Reveal.js.

There is one known bug you might encounter (I do everytime I start
Emacs) which is that upon exporting my document to HTML for Reveal (C-e
R R), it might fail with some strange argument error; the workaround is to issue:
C-u M-x org-reload. Another suggested workaround is to put this in your
~/.emacs:

--8<---------------cut here---------------start------------->8---
(require 'org)
(let ((current-prefix-arg 1))
  (call-interactively 'org-reload))
--8<---------------cut here---------------end--------------->8---

For more information about this issue: 
https://github.com/yjwen/org-reveal/issues/171

Thank you,

Maxim

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

From 93ba598f20517c425b2e3695c68ff8f567619c27 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Thu, 6 Sep 2018 11:21:51 -0400
Subject: [PATCH] Add emacs-org-reveal

---
 gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 08554280c..cb9f28413 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -9532,6 +9532,29 @@ The default setup uses helm-bibtex.
 You should really read org-ref.org in this package for details.")
       (license license:gpl3+))))
 
+(define-public emacs-org-reveal
+  (package
+    (name "emacs-org-reveal")
+    ;; There are no proper tag, so we use the latest commit of the stable
+    ;; branch, as does MELPA.
+    (version "20161027.926")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/yjwen/org-reveal.git")
+                    (commit "001567cc12d50ba07612edd1718b86a12e8c2547")))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "18rma8smjrskbjyna076zhvx79zs5r5vinb537h8mw13pfxd6cm8"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/yjwen/org-reveal")
+    (synopsis "Org and Reveal.js powered HTML presentation tool")
+    (description "Org-Reveal is a command@{org-mode} extension that allows to
+create beautiful presentations (slides) with 3D effects from simple but
+powerful Org contents.")
+    (license license:gpl3+)))
+
 (define-public emacs-add-hooks
   (package
     (name "emacs-add-hooks")
-- 
2.18.0


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

* [bug#32654] [PATCH] Add emacs-org-reveal
  2018-09-07  2:14 [bug#32654] [PATCH] Add emacs-org-reveal Maxim Cournoyer
@ 2018-09-11 15:10 ` Ludovic Courtès
  2018-09-13  3:24   ` bug#32654: " Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-09-11 15:10 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 32654

Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> There is one known bug you might encounter (I do everytime I start
> Emacs) which is that upon exporting my document to HTML for Reveal (C-e
> R R), it might fail with some strange argument error; the workaround is to issue:
> C-u M-x org-reload. Another suggested workaround is to put this in your
> ~/.emacs:
>
> (require 'org)
> (let ((current-prefix-arg 1))
>   (call-interactively 'org-reload))
>
> For more information about this issue: 
> https://github.com/yjwen/org-reveal/issues/171

Thanks for the hint.

>>From 93ba598f20517c425b2e3695c68ff8f567619c27 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> Date: Thu, 6 Sep 2018 11:21:51 -0400
> Subject: [PATCH] Add emacs-org-reveal
>
> ---
>  gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

OK to push with a proper commit log!  :-)

Thanks,
Ludo’.

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

* bug#32654: [PATCH] Add emacs-org-reveal
  2018-09-11 15:10 ` Ludovic Courtès
@ 2018-09-13  3:24   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2018-09-13  3:24 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32654-done

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

Hi Ludovic,

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> There is one known bug you might encounter (I do everytime I start
>> Emacs) which is that upon exporting my document to HTML for Reveal (C-e
>> R R), it might fail with some strange argument error; the workaround is to issue:
>> C-u M-x org-reload. Another suggested workaround is to put this in your
>> ~/.emacs:
>>
>> (require 'org)
>> (let ((current-prefix-arg 1))
>>   (call-interactively 'org-reload))
>>
>> For more information about this issue: 
>> https://github.com/yjwen/org-reveal/issues/171
>
> Thanks for the hint.
>
>>>From 93ba598f20517c425b2e3695c68ff8f567619c27 Mon Sep 17 00:00:00 2001
>> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
>> Date: Thu, 6 Sep 2018 11:21:51 -0400
>> Subject: [PATCH] Add emacs-org-reveal
>>
>> ---
>>  gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
>>  1 file changed, 23 insertions(+)
>
> OK to push with a proper commit log!  :-)

Pushed as f309671c2, with a proper commit log :)

Thank you,

Maxim

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

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

end of thread, other threads:[~2018-09-13  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-07  2:14 [bug#32654] [PATCH] Add emacs-org-reveal Maxim Cournoyer
2018-09-11 15:10 ` Ludovic Courtès
2018-09-13  3:24   ` bug#32654: " Maxim Cournoyer

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).