From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Fraga Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Sun, 7 Oct 2012 12:28:19 +1030 Message-ID: <87y5jjt550.fsf@ucl.ac.uk> References: <87boglvwur.fsf@bzg.ath.cx> <87sj9vj4a1.fsf@bzg.ath.cx> <87zk43419r.fsf@ucl.ac.uk> <80ipap2tx9.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKg8c-0006e5-9H for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 21:58:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKg8b-0007rR-9N for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 21:58:38 -0400 Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13]:48640 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKg8b-0007pH-5p for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 21:58:37 -0400 In-Reply-To: <80ipap2tx9.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 5 Oct 2012 10:40:34 +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: Sebastien Vauban Cc: emacs-orgmode@gnu.org 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. 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