unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add Emacs Org mode
@ 2016-08-19 19:03 Nicolas Goaziou
  2016-08-20  8:53 ` Ricardo Wurmus
  2016-08-21 19:23 ` Ricardo Wurmus
  0 siblings, 2 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2016-08-19 19:03 UTC (permalink / raw)
  To: guix-devel

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

Hello,

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


Regards,

-- 
Nicolas Goaziou                                                0x80A93738

[-- Attachment #2: Add emacs-org --]
[-- Type: text/x-diff, Size: 1822 bytes --]

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


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

* Re: [PATCH] Add Emacs Org mode
  2016-08-19 19:03 [PATCH] Add Emacs Org mode Nicolas Goaziou
@ 2016-08-20  8:53 ` Ricardo Wurmus
  2016-08-20  9:56   ` Efraim Flashner
  2016-08-21 19:23 ` Ricardo Wurmus
  1 sibling, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2016-08-20  8:53 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: guix-devel


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

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

* Re: [PATCH] Add Emacs Org mode
  2016-08-20  8:53 ` Ricardo Wurmus
@ 2016-08-20  9:56   ` Efraim Flashner
  2016-08-20 11:18     ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2016-08-20  9:56 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel, Nicolas Goaziou

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   <efraim@flashner.co.il>   אפרים פלשנר
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.

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

* Re: [PATCH] Add Emacs Org mode
  2016-08-20  9:56   ` Efraim Flashner
@ 2016-08-20 11:18     ` Nicolas Goaziou
  2016-08-20 19:34       ` Ricardo Wurmus
  2016-08-21  7:17       ` Ricardo Wurmus
  0 siblings, 2 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2016-08-20 11:18 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

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,

-- 
Nicolas Goaziou                                                0x80A93738

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

* Re: [PATCH] Add Emacs Org mode
  2016-08-20 11:18     ` Nicolas Goaziou
@ 2016-08-20 19:34       ` Ricardo Wurmus
  2016-08-21  7:17       ` Ricardo Wurmus
  1 sibling, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2016-08-20 19:34 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: guix-devel


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

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

* Re: [PATCH] Add Emacs Org mode
  2016-08-20 11:18     ` Nicolas Goaziou
  2016-08-20 19:34       ` Ricardo Wurmus
@ 2016-08-21  7:17       ` Ricardo Wurmus
  2016-08-21  8:42         ` Nicolas Goaziou
  1 sibling, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2016-08-21  7:17 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: guix-devel


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

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

* Re: [PATCH] Add Emacs Org mode
  2016-08-21  7:17       ` Ricardo Wurmus
@ 2016-08-21  8:42         ` Nicolas Goaziou
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2016-08-21  8:42 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

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,

-- 
Nicolas Goaziou                                                0x80A93738

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

* Re: [PATCH] Add Emacs Org mode
  2016-08-19 19:03 [PATCH] Add Emacs Org mode Nicolas Goaziou
  2016-08-20  8:53 ` Ricardo Wurmus
@ 2016-08-21 19:23 ` Ricardo Wurmus
  1 sibling, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2016-08-21 19:23 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: guix-devel


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

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

end of thread, other threads:[~2016-08-21 19:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 19:03 [PATCH] Add Emacs Org mode Nicolas Goaziou
2016-08-20  8:53 ` Ricardo Wurmus
2016-08-20  9:56   ` Efraim Flashner
2016-08-20 11:18     ` Nicolas Goaziou
2016-08-20 19:34       ` Ricardo Wurmus
2016-08-21  7:17       ` Ricardo Wurmus
2016-08-21  8:42         ` Nicolas Goaziou
2016-08-21 19:23 ` Ricardo Wurmus

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