Re: [PATCH] Add Emacs Org mode

2016-08-21 Thread Ricardo Wurmus

Nicolas Goaziou  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



Re: [PATCH] Add Emacs Org mode

2016-08-21 Thread Nicolas Goaziou
Hello,

Ricardo Wurmus  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,

-- 
Nicolas Goaziou0x80A93738



Re: [PATCH] Add Emacs Org mode

2016-08-21 Thread Ricardo Wurmus

Nicolas Goaziou  writes:

> Hello,
>
> Efraim Flashner  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




Re: [PATCH] Add Emacs Org mode

2016-08-20 Thread Ricardo Wurmus

Nicolas Goaziou  writes:

> Hello,
>
> Efraim Flashner  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




Re: [PATCH] Add Emacs Org mode

2016-08-20 Thread Nicolas Goaziou
Hello,

Efraim Flashner  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,

-- 
Nicolas Goaziou0x80A93738



Re: [PATCH] Add Emacs Org mode

2016-08-20 Thread Efraim Flashner
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?

-- 
Efraim Flashner      אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [PATCH] Add Emacs Org mode

2016-08-20 Thread Ricardo Wurmus

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





[PATCH] Add Emacs Org mode

2016-08-19 Thread Nicolas Goaziou
Hello,

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


Regards,

-- 
Nicolas Goaziou0x80A93738
>From 6412b47596f89ce071f81d01a23c7d18cc08cee5 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou 
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 
 ;;; Copyright © 2016 ng0 
 ;;; Copyright © 2016 Alex Griffin 
+;;; Copyright © 2016 Nicolas Goaziou 
 ;;;
 ;;; 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