diff mbox

Add Emacs Org mode

Message ID 87bn0otwcm.fsf@saiph.selenimh
State New
Headers show

Commit Message

Nicolas Goaziou Aug. 19, 2016, 7:03 p.m. UTC
Hello,

The following patch adds Org mode to the list of Emacs packages.


Regards,

Comments

Ricardo Wurmus Aug. 20, 2016, 8:53 a.m. UTC | #1
Hi Nicolas,

> The following patch adds Org mode to the list of Emacs packages.

Thank you for the patch.  Org mode is already part of Emacs; is a
separate package for Org mode still needed in this case?

~~ Ricardo
Efraim Flashner Aug. 20, 2016, 9:56 a.m. UTC | #2
On Sat, Aug 20, 2016 at 10:53:48AM +0200, Ricardo Wurmus wrote:
> 
> Hi Nicolas,
> 
> > The following patch adds Org mode to the list of Emacs packages.
> 
> Thank you for the patch.  Org mode is already part of Emacs; is a
> separate package for Org mode still needed in this case?
> 
> ~~ Ricardo
> 

I'm not an emacs user, so ignore me if I'm way off on my assumptions :)

I notice the release date is about 2 weeks ago, so development seems to
be continuing, not just as part of emacs. How recently was orgmode added
to emacs? If it was quite recently then could this still be useful to
people using Guix on a foreign distro?
Nicolas Goaziou Aug. 20, 2016, 11:18 a.m. UTC | #3
Hello,

Efraim Flashner <efraim@flashner.co.il> writes:

> On Sat, Aug 20, 2016 at 10:53:48AM +0200, Ricardo Wurmus wrote:
>
>> Thank you for the patch.  Org mode is already part of Emacs; is a
>> separate package for Org mode still needed in this case?
>> 
> I notice the release date is about 2 weeks ago, so development seems to
> be continuing, not just as part of emacs. How recently was orgmode added
> to emacs? If it was quite recently then could this still be useful to
> people using Guix on a foreign distro?

Org has been part of Emacs for quite a long time already. However, as
you notice, Org shipped with Emacs (8.2.10) is lagging behind current
stable release (8.3.5). As a data point, Org 8.3 was released more than
one year ago, and 8.3.5 differs from 8.2.10 by 2700+ commit. More
importantly, bugs reported on 8.2.10 are unlikely to be fixed.

This patch adds Org current stable release. However, a new release is
going to be shipped on Monday.

Also, this is without the third party "contrib/" directory. We can
provide that also (license is still gpl3+) if needed.


Regards,
Ricardo Wurmus Aug. 20, 2016, 7:34 p.m. UTC | #4
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Efraim Flashner <efraim@flashner.co.il> writes:
>
>> On Sat, Aug 20, 2016 at 10:53:48AM +0200, Ricardo Wurmus wrote:
>>
>>> Thank you for the patch.  Org mode is already part of Emacs; is a
>>> separate package for Org mode still needed in this case?
>>> 
>> I notice the release date is about 2 weeks ago, so development seems to
>> be continuing, not just as part of emacs. How recently was orgmode added
>> to emacs? If it was quite recently then could this still be useful to
>> people using Guix on a foreign distro?
>
> Org has been part of Emacs for quite a long time already. However, as
> you notice, Org shipped with Emacs (8.2.10) is lagging behind current
> stable release (8.3.5). As a data point, Org 8.3 was released more than
> one year ago, and 8.3.5 differs from 8.2.10 by 2700+ commit. More
> importantly, bugs reported on 8.2.10 are unlikely to be fixed.

Thanks for the details!  I can confirm that the latest prerelease of
Emacs 25.1 comes with Org 8.2.10.

~~ Ricardo
Ricardo Wurmus Aug. 21, 2016, 7:17 a.m. UTC | #5
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Efraim Flashner <efraim@flashner.co.il> writes:
>
>> On Sat, Aug 20, 2016 at 10:53:48AM +0200, Ricardo Wurmus wrote:
>>
>>> Thank you for the patch.  Org mode is already part of Emacs; is a
>>> separate package for Org mode still needed in this case?
>>> 
>> I notice the release date is about 2 weeks ago, so development seems to
>> be continuing, not just as part of emacs. How recently was orgmode added
>> to emacs? If it was quite recently then could this still be useful to
>> people using Guix on a foreign distro?
>
> Org has been part of Emacs for quite a long time already. However, as
> you notice, Org shipped with Emacs (8.2.10) is lagging behind current
> stable release (8.3.5). As a data point, Org 8.3 was released more than
> one year ago, and 8.3.5 differs from 8.2.10 by 2700+ commit. More
> importantly, bugs reported on 8.2.10 are unlikely to be fixed.
>
> This patch adds Org current stable release. However, a new release is
> going to be shipped on Monday.

For the current stable release isn’t this the URL:
http://orgmode.org/org-8.3.5.tar.gz ?  Should we use this instead?

~~ Ricardo
Nicolas Goaziou Aug. 21, 2016, 8:42 a.m. UTC | #6
Hello,

Ricardo Wurmus <rekado@elephly.net> writes:

> For the current stable release isn’t this the URL:
> http://orgmode.org/org-8.3.5.tar.gz ?  Should we use this instead?

The difference is about how Org is packaged. With the link above, you
need gnu-build-system and modify-phases, much like haskell-mode does.

However, Org is also distributed as an ELPA package. If we use this one,
we can rely on emacs-build-system and the recipe is trivial.

Regards,
Ricardo Wurmus Aug. 21, 2016, 7:23 p.m. UTC | #7
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> The following patch adds Org mode to the list of Emacs packages.

I pushed this to master as 59065bb3304d6281c29ad7394a90fe17e8fb2b3b
after making these two changes:

- reordered fields to match the common order
- reflowed the description

Thanks again for the patch and the explanations!

~~ Ricardo
diff mbox

Patch

From 6412b47596f89ce071f81d01a23c7d18cc08cee5 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Fri, 19 Aug 2016 20:52:25 +0200
Subject: [PATCH] gnu: Add emacs-org.

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9948b91..98b8849 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -14,6 +14,7 @@ 
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2960,3 +2961,23 @@  passive voice.")
     (synopsis "Folder tree view for Emacs")
     (description "This Emacs package provides a folder tree view.")
     (license license:gpl3+)))
+
+(define-public emacs-org
+  (package
+    (name "emacs-org")
+    (version "20160815")
+    (home-page "http://orgmode.org/")
+    (synopsis "Outline-based notes management and organizer")
+    (description "Org is a mode for keeping notes, maintaining TODO
+lists, and project planning with a fast and effective plain-text
+system.  It also is an authoring system with unique support for
+literate programming and reproducible research.")
+    (license license:gpl3+)
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://orgmode.org/elpa/org-"
+                                  version ".tar"))
+              (sha256
+               (base32
+                "0k9pa13kpmpi6irmbavxffgqfanhjnijz4mkmmi0zp7kgjfbaliw"))))
+    (build-system emacs-build-system)))
-- 
2.9.2