From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: The Org Package Date: Sun, 13 Apr 2014 09:05:16 +0200 Message-ID: <87k3atiuab.fsf@Rainer.invalid> References: <86ob07e0r9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZETz-0003Z9-De for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 03:05:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZETp-00005l-GM for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 03:05:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:39225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZETp-00005b-8o for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 03:05:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WZETn-0002lq-CM for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 09:05:27 +0200 Received: from pd9eb2029.dip0.t-ipconnect.de ([217.235.32.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Apr 2014 09:05:27 +0200 Received: from Stromeko by pd9eb2029.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Apr 2014 09:05:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org David Masterson writes: > I still need more understanding of the Emacs packaging system. That's a question you better ask of the Emacs developers, after you've read the documentation. > Something doesn't seem right and I'm sure I'm missing some key in > understanding how its supposed to work. What I see right now seems like > something doesn't match up -- particularly with the Org package: > > 1. Most modern Emacs have Org pre-installed. > 2. Unfortunately, that Org is not up-to-date (24.3 has 7.9.3f). > 3. Therefore, installing the latest Org package seems natural. The pitfall here is that you _must_ do the first install of the Org package from an Emacs that didn't load any part of the built-in Org. > 4. However, this does not uninstall the built-in Org package. No, the built-in "package" unfortunately isn't really a package. It's still inextricably built-in the same way it ever was, just that it now additionally shows up in package manager as built-in package. > 5. Packages are not initialized until after .emacs is run. You should add (package-initialize) to your .emacs, but read http://www.gnu.org/software/emacs/manual/html_node/emacs/Package-Installation.html before doing that so you'll understand where to put it. > 6. Therefore, any of the latest variables are not defined yet. > 7. Therefore, setting a hook may not do what you think. > 8. The documentation for Org suggests hooks (etc.) to set. > 9. I've run into times when org-version was still 7.9.3f. > > Do you see where I'm heading? Does anyone else run into this problem? > > Or do most people ignore the Org package and install the latest from > GitHub in a more manual process (a la Bernt Hansen's paper)? Do we need > more concrete documentation on setting up the Org Package? See above. The package system in Emacs isn't really designed for something as big and complicated as Org and its interaction with built-in packages has room for improvement; but you can make it work, even for Org. Whether you want to install Org from Git is another story and you should mainly decide from whether you need to always run the very latest development version. If that decision rather falls to "I always want the latest released version", then the ELPA package is a better choice, IMHO. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra