From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brady Trainor Subject: Re: Remove the build-in orgmode Date: Sun, 01 Jun 2014 23:46:44 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrM1Q-0002oi-VO for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 02:47:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrM1H-0000bL-Qt for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 02:47:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:57416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrM1H-0000bG-KR for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 02:46:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WrM1G-00055m-Bq for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 08:46:54 +0200 Received: from 63-226-209-129.tukw.qwest.net ([63.226.209.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jun 2014 08:46:54 +0200 Received: from algebrat by 63-226-209-129.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jun 2014 08:46:54 +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 Shiyuan wrote: > Hi, > I updated Org-mode from ELPA. If I start emacs normally, M-x > org-version does show the new version(8.2.6). But if I start emacs with > -Q, emacs will still run the built-in version(7.9.3). This is not > convenient for debugging purpose. Is there anyway to remove the built-in > version 7.9.3 completely so that even if I start emacs with -Q, emacs > still > use the new version 8.2.6 from ELPA. Thanks. > > Shiyuan I have (setq load-path (delete "/usr/share/emacs/24.3/lisp/org" load-path)) (setq load-path (delete "c:/Program Files (x86)/emacs-24.3/lisp/org" load-path)) in my notes, for when I was trying to get the most recent maint repository version of org working. There is a better version of these lines somewhere at stack exchange... here it is: http://stackoverflow.com/a/20616703/2533127 You could potentially have this in a ~/debugorg.el, and use emacs -q -l "~/debugorg.el" For more exploring, try =cd /usr/share/emacs/=, and =ls=. Also, try =C-h v load-path RET C-x o C-s org=. In other words, have Emacs describe the =load- path= variable, switch to that window and do a search for the term "org". (It is somewhere discouraged to remove the built-in org, but hopefully someone will give you steps and tips anyway. (Would it simply suffice to temporarily move the emacs/24.3/lisp/org directory described above?)) Brady