emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: qTim Cross <theophilusx@gmail.com>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: org mode moves to GNU emacs core
Date: Tue, 04 Jul 2017 11:36:13 +0100	[thread overview]
Message-ID: <87fuecbiaq.fsf@russet.org.uk> (raw)
In-Reply-To: <WM!be0b82133cf58eecb5726e88694e8427b36d27c5719f4dbc8d7da9ca2db24765a0806a2a785dcaaf4a6d56d6bd773dc0!@mailhub-mx1.ncl.ac.uk> (qTim Cross's message of "Mon, 3 Jul 2017 22:52:52 +1000")

Tim Cross <theophilusx@gmail.com> writes:

> Just to throw my 2 cents in.
>
> While I can understand the benefits of being able to easily install the
> latest org package via elpa, I think there are some significant benefits
> to org being a part of core Emacs.
>
> I currently find three issues with the current situation which may be
> somewhat resolved if org was part of core emacs.
>
> 1. Problems with mixed versions. Currently, Emacs has org 8.x included
> in the distribution. This is despite 9.x being out before the release of
> 25.2. Something needs to be done to improve coordination and perhaps if
> it was part of the core, this would be more likely. At any rate, the
> current situation means you need to be very careful to ensure no org
> feature is loaded before the ELPA package is loaded or you will get odd
> behaviour and the symbol's value is void errors. 


I've argued on emacs-devel about this. The problem here is that the
distributed org-mode remains in the load path, so you are totally
dependent on load path shadowing to ensure the right package gets
loaded. This doesn't happen with ELPA packages since only the latest
gets added to the load path.

My solution to this would be to have Emacs use package.el to load
files in core as well as elsewhere. Then, when you installed org from
ELPA, package.el would remove the core installed files from the
load-path (or rather never add them). You'd need to restart Emacs after
installation, but otherwise the problem goes away.

Everybody else thought this was a bad idea!

Phil

  parent reply	other threads:[~2017-07-04 10:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-29  8:02 org mode moves to GNU emacs core Uwe Brauer
2017-06-29  8:50 ` Rasmus
2017-06-29  9:18   ` Uwe Brauer
2017-07-03  7:28 ` Bastien
2017-07-03  8:33   ` Uwe Brauer
2017-07-03 12:52     ` qTim Cross
2017-07-03 14:21       ` Uwe Brauer
2017-07-03 22:13         ` Tim Cross
     [not found]           ` <WM!dafdc952e01c9db7d6439bb691272a1ba664e1bae5ab4554e86ed6b7dfea8661d8bbaf476f3ba9dbb09c0c663c84ecc2!@mailhub-mx5.ncl.ac.uk>
2017-07-04 10:45             ` Phillip Lord
     [not found]       ` <WM!be0b82133cf58eecb5726e88694e8427b36d27c5719f4dbc8d7da9ca2db24765a0806a2a785dcaaf4a6d56d6bd773dc0!@mailhub-mx1.ncl.ac.uk>
2017-07-04 10:36         ` Phillip Lord [this message]
     [not found]   ` <f53ab9c6e9a440bbb5d939a425a97b62@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-07-03  8:52     ` Eric S Fraga
2017-07-03  9:20       ` Alan Schmitt
     [not found]   ` <WM!87da95345c53f08eaef15c5b7433fda36bb968c366f5815f7f948ed74d91e1259bbc88820ebbf91e3556ee6a4a3e9852!@mailhub-mx5.ncl.ac.uk>
2017-07-03 12:10     ` Phillip Lord
2017-07-03 12:40       ` Bastien Guerry
2017-07-03 15:23         ` Robert Horn
2017-07-04  8:01           ` Bastien Guerry
     [not found]         ` <WM!e5e8b591af401b295776634cbabb0d1b446d7bb568c1f8abadd4637a576ff78bf92ed6ccedeed082b016a3f6c9ad6c12!@mailhub-mx3.ncl.ac.uk>
2017-07-04  9:59           ` Phillip Lord
     [not found]       ` <6d3b27a9e0b245a49cffa029d13bbdb9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-07-03 13:12         ` Eric S Fraga
2017-07-03 13:30   ` Adonay Felipe Nogueira
2017-07-03 16:52     ` Adonay Felipe Nogueira
2017-07-03 17:58     ` Nick Dokos
2017-07-03 19:38       ` Adonay Felipe Nogueira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuecbiaq.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    --cc=theophilusx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).