From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Remove the build-in orgmode Date: Mon, 02 Jun 2014 09:18:57 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrMWX-0008NQ-CP for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 03:19:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrMWR-0000cF-8R for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 03:19:13 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:61528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrMWR-0000c5-2q for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 03:19:07 -0400 Received: by mail-we0-f172.google.com with SMTP id k48so4724898wev.17 for ; Mon, 02 Jun 2014 00:19:06 -0700 (PDT) In-Reply-To: (Brady Trainor's message of "Sun, 01 Jun 2014 23:46:44 -0700") 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: Brady Trainor Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Brady Trainor writes: > 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. >>=20 >> Shiyuan > > > I have=20 > > (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"=20 > load-path)) or do the brutal thing: 1) rename the /usr/share/emacs/24.3/lisp/org to e.g. /usr/share/emacs/24.3/lisp/org.builtin 2) symlink your org directory with the org version you want to use to /usr/share/emacs/24.3/lisp/org But I don't know if this can be dine under windows. Disadvantage: at an update of emacs, this will be overwritten! Cheers, Rainer > > in my notes, for when I was trying to get the most recent maint repositor= y=20 > version of org working. There is a better version of these lines somewher= e=20 > at stack exchange... here it is: http://stackoverflow.com/a/20616703/2533= 127 > > You could potentially have this in a ~/debugorg.el, and use=20 > > emacs -q -l "~/debugorg.el" > > For more exploring, try =3Dcd /usr/share/emacs/=3D, and =3Dls=3D. Also, t= ry =3DC-h v=20 > load-path RET C-x o C-s org=3D. In other words, have Emacs describe the = =3Dload- > path=3D variable, switch to that window and do a search for the term "org= ".=20 > > (It is somewhere discouraged to remove the built-in org, but hopefully=20 > someone will give you steps and tips anyway. (Would it simply suffice to= =20 > temporarily move the emacs/24.3/lisp/org directory described above?))=20 > > > Brady > > > > =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJTjCVmAAoJENvXNx4PUvmCIMwH/R00j2TMsqiilugSXyILaURQ H4Ha6zVdG52u7WMz4Z1QVx/mdvXcpYowfMsUfa8zleGBmwhOWIM86zXD+2LK3MRX W/bjmJJETZhh9Eyg6gYtmmCy39SoqNryWJRKKpcnnqsd0/X98dBJWRdkonQKhQIX YUEJz2DocQKzZY5fhO8t1FMlWEtvmh8hwjJ0fA0sDETOgpe2aQCwAdhJCHUCxrVo xIQP2/qe5Xd14siN+eVijC3M3DkFBbnz+IX1fqkbV8I5uDtwVmtwtIv77QF+KPu9 ORVm1Bq0tliJAtAvHpkaC3Ann+LEzz/CD2+7lJG0vf7qSP+b5x1e+7eRCi6moGA= =rYCL -----END PGP SIGNATURE----- --=-=-=--