From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Sun, 07 Oct 2012 00:48:30 -0400 Message-ID: <19836.1349585310@alphaville> References: <87boglvwur.fsf@bzg.ath.cx> <87sj9vj4a1.fsf@bzg.ath.cx> <87zk43419r.fsf@ucl.ac.uk> <80ipap2tx9.fsf@somewhere.org> <87y5jjt550.fsf@ucl.ac.uk> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKin5-0007FV-2G for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 00:48:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKin3-0008Rq-IO for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 00:48:34 -0400 Received: from vms173007pub.verizon.net ([206.46.173.7]:50919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKin3-0008RJ-DU for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 00:48:33 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [108.7.96.134]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MBI00IYHAOVRXB0@vms173007.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 23:48:31 -0500 (CDT) In-reply-to: Message from Eric Fraga of "Sun, 07 Oct 2012 12:28:19 +1030." <87y5jjt550.fsf@ucl.ac.uk> 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: Sebastien Vauban , emacs-orgmode@gnu.org Eric Fraga wrote: > Sebastien Vauban writes: > > > Hi Eric, > > > > Eric Fraga wrote: > >> (add-to-list 'load-path "~/git/org-mode") > > > > Why that one? > > Ahh, that's a bit of historical garbage. There was a point a while back > where org-install seemed to have lisp/org-xxx paths and the easiest fix > was to add the root to the list of paths. The problem was fixed fairly > quickly but I forgot to remove my temporary fix. > > >> What should I or could I remove from this? > > > > What I do is: > > > > #+begin_src emacs-lisp > > (when (locate-library "org-install") > > (require 'org-install)) > > #+end_src > > Actually, I now have > > #+begin_src emacs-lisp > (add-to-list 'load-path "~/git/org-mode/lisp") > (add-to-list 'load-path "~/git/org-mode/contrib/lisp/") > (require 'org) > #+end_src > > with a number of other =require= calls for specific ob- and org-e- > packages. This seems to work just fine. > Note however that this way, the contrib directory will be found before the main lisp directory and that may cause occasional problems. This was recently discussed in this thread: http://thread.gmane.org/gmane.emacs.orgmode/60929/focus=61131 Nick > My question now is whether I should replace the =(require 'org)= by > =(require 'org-loaddefs)= which seems to be the way that Emacs is moving > for packages? > > Thanks, > eric > > -- > : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D > : in Emacs 24.2.50.1 and Org release_7.9.2-406-g2c78ca > >