unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex.
@ 2017-06-26 10:52 Oleg Pykhalov
  2017-06-26 13:23 ` Arun Isaac
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Oleg Pykhalov @ 2017-06-26 10:52 UTC (permalink / raw)
  To: 27497

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a98278875..1261979be 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4997,3 +4997,33 @@ enter C-x and wait for the default of 1 second, the minibuffer will expand
 with all of the available key bindings that follow C-x (or as many as space
 allows given your settings).")
     (license license:gpl3+)))
+
+(define-public emacs-org-edit-latex
+  (let ((commit "323d0b39d0284cef730b706dce7c0e58ed35530f")
+        (revision "1"))
+    (package
+      (name "emacs-org-edit-latex")
+      (version (string-append "0.0.1-" revision "."
+                              (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/et2010/org-edit-latex.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "0zcllyhx9n9vcr5w87h0hfz25v52lvh5fi717cb7mf3jh89zh842"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-auctex" ,emacs-auctex)
+         ;; The version of org in Emacs 25.2 is not sufficient,
+         ;; because requires org-latex-make-preamble function.
+         ("emacs-org" ,emacs-org)))
+      (home-page "https://github.com/et2010/org-edit-latex")
+      (synopsis
+       "Edit a latex fragment/environment just like editing a src block")
+      (description
+       "@code{emacs-org-edit-latex} is an extension for org-mode.  It let you
+edit a latex fragment/environment just like editing a src block.")
+      (license license:gpl3+))))
-- 
2.13.1

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

* [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex.
  2017-06-26 10:52 [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex Oleg Pykhalov
@ 2017-06-26 13:23 ` Arun Isaac
       [not found] ` <9b1d4b50.AEEAMaYFajwAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZUQra@mailjet.com>
  2017-06-28 21:46 ` Oleg Pykhalov
  2 siblings, 0 replies; 7+ messages in thread
From: Arun Isaac @ 2017-06-26 13:23 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 27497


Thanks for the patch!

Could you request upstream to provide a release tarball? That would
simplify our life. Commits have been made in the upstream git repo very
recently. So, I'm hoping the developer will reply soon. If upstream does
not respond in a couple of days, we'll go with the git repo.

> +(define-public emacs-org-edit-latex
> +  (let ((commit "323d0b39d0284cef730b706dce7c0e58ed35530f")
> +        (revision "1"))
> +    (package
> +      (name "emacs-org-edit-latex")
> +      (version (string-append "0.0.1-" revision "."
> +                              (string-take commit 7)))

I think version should be 0.8.0. Look at line 8 of org-edit-latex.el.

The patch LGTM, otherwise!

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

* [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex.
       [not found] ` <9b1d4b50.AEEAMaYFajwAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZUQra@mailjet.com>
@ 2017-06-26 17:36   ` Oleg Pykhalov
  0 siblings, 0 replies; 7+ messages in thread
From: Oleg Pykhalov @ 2017-06-26 17:36 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 27497

Hi,

Arun Isaac <arunisaac@systemreboot.net> writes:

> Thanks for the patch!
>
> Could you request upstream to provide a release tarball? That would
> simplify our life. Commits have been made in the upstream git repo very
> recently. So, I'm hoping the developer will reply soon. If upstream does
> not respond in a couple of days, we'll go with the git repo.

Sure, I send a request https://github.com/et2010/org-edit-latex/issues/8

>> +(define-public emacs-org-edit-latex
>> +  (let ((commit "323d0b39d0284cef730b706dce7c0e58ed35530f")
>> +        (revision "1"))
>> +    (package
>> +      (name "emacs-org-edit-latex")
>> +      (version (string-append "0.0.1-" revision "."
>> +                              (string-take commit 7)))
>
> I think version should be 0.8.0. Look at line 8 of org-edit-latex.el.
>
> The patch LGTM, otherwise!

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

* [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex.
  2017-06-26 10:52 [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex Oleg Pykhalov
  2017-06-26 13:23 ` Arun Isaac
       [not found] ` <9b1d4b50.AEEAMaYFajwAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZUQra@mailjet.com>
@ 2017-06-28 21:46 ` Oleg Pykhalov
  2017-06-29  5:55   ` Arun Isaac
       [not found]   ` <0281e55d.AEQAMUGi-eAAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZVJZs@mailjet.com>
  2 siblings, 2 replies; 7+ messages in thread
From: Oleg Pykhalov @ 2017-06-28 21:46 UTC (permalink / raw)
  To: 27497

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index feff22a1b..9457c878e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4998,3 +4998,30 @@ for the default of 1 second, the minibuffer will expand with all of the
 available key bindings that follow C-x (or as many as space allows given your
 settings).")
     (license license:gpl3+)))
+
+(define-public emacs-org-edit-latex
+  (package
+    (name "emacs-org-edit-latex")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/et2010/org-edit-latex/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1y4h6wrs8286h9pbsv4d8fr67a885vz8b2k80qgv5qddipi2i78p"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-auctex" ,emacs-auctex)
+       ;; The version of org in Emacs 25.2 is not sufficient,
+       ;; because requires org-latex-make-preamble function.
+       ("emacs-org" ,emacs-org)))
+    (home-page "https://github.com/et2010/org-edit-latex")
+    (synopsis
+     "Edit a latex fragment/environment just like editing a src block")
+    (description
+     "@code{emacs-org-edit-latex} is an extension for org-mode.  It let you
+edit a latex fragment/environment just like editing a src block.")
+    (license license:gpl3+)))
-- 
2.13.2

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

* [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex.
  2017-06-28 21:46 ` Oleg Pykhalov
@ 2017-06-29  5:55   ` Arun Isaac
       [not found]   ` <0281e55d.AEQAMUGi-eAAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZVJZs@mailjet.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Arun Isaac @ 2017-06-29  5:55 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 27497


Before pushing, I'm slightly modifying the synopsis and description as
follows. I use org-mode and latex regularly, but haven't actually used
this package. So, please let me know if my modification has not altered
the meaning, and the text is still accurate. Once you confirm, I will
push.

    (synopsis "Edit a latex fragment just like editing a src block")
    (description "@code{emacs-org-edit-latex} is an extension for org-mode.
It lets you edit a latex fragment in a dedicated buffer just like editing a
src block.")

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

* [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex.
       [not found]   ` <0281e55d.AEQAMUGi-eAAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZVJZs@mailjet.com>
@ 2017-06-29 12:31     ` Oleg Pykhalov
  2017-06-30 14:31       ` bug#27497: " Arun Isaac
  0 siblings, 1 reply; 7+ messages in thread
From: Oleg Pykhalov @ 2017-06-29 12:31 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 27497

Arun Isaac <arunisaac@systemreboot.net> writes:

> Before pushing, I'm slightly modifying the synopsis and description as
> follows. I use org-mode and latex regularly, but haven't actually used
> this package. So, please let me know if my modification has not altered
> the meaning, and the text is still accurate. Once you confirm, I will
> push.
>
>     (synopsis "Edit a latex fragment just like editing a src block")
>     (description "@code{emacs-org-edit-latex} is an extension for org-mode.
> It lets you edit a latex fragment in a dedicated buffer just like editing a
> src block.")

Yes, it's meaningful.

But, "(description" must be on separate line, doesn't it?
Like in 2482c02f3b23b2490a6647e0717cf8a4ccf3f6a8

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

* bug#27497: [PATCH] gnu: Add emacs-org-edit-latex.
  2017-06-29 12:31     ` Oleg Pykhalov
@ 2017-06-30 14:31       ` Arun Isaac
  0 siblings, 0 replies; 7+ messages in thread
From: Arun Isaac @ 2017-06-30 14:31 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 27497-done


Pushed, thanks! :-)

> But, "(description" must be on separate line, doesn't it?
> Like in 2482c02f3b23b2490a6647e0717cf8a4ccf3f6a8

I don't know if there is a Guix coding standard for this. Some packages
have description on a separate line. Others have it on the same
line. For whatever arbitrary reason I started out with putting it on the
same line, and have kept up the practice.

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

end of thread, other threads:[~2017-06-30 14:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-26 10:52 [bug#27497] [PATCH] gnu: Add emacs-org-edit-latex Oleg Pykhalov
2017-06-26 13:23 ` Arun Isaac
     [not found] ` <9b1d4b50.AEEAMaYFajwAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZUQra@mailjet.com>
2017-06-26 17:36   ` Oleg Pykhalov
2017-06-28 21:46 ` Oleg Pykhalov
2017-06-29  5:55   ` Arun Isaac
     [not found]   ` <0281e55d.AEQAMUGi-eAAAAAAAAAAAAPNhpIAAAACwQwAAAAAAAW9WABZVJZs@mailjet.com>
2017-06-29 12:31     ` Oleg Pykhalov
2017-06-30 14:31       ` bug#27497: " Arun Isaac

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