emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Brady Trainor <algebrat@uw.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Remove the build-in orgmode
Date: Mon, 02 Jun 2014 09:18:57 +0200	[thread overview]
Message-ID: <m2egz7g4ny.fsf@krugs.de> (raw)
In-Reply-To: <lmh6kl$suu$1@ger.gmane.org> (Brady Trainor's message of "Sun, 01 Jun 2014 23:46:44 -0700")

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

Brady Trainor <algebrat@uw.edu> 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.
>> 
>> 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))

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 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
>
>
>
>

-- 
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

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2014-06-02  7:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 22:22 Remove the build-in orgmode Shiyuan
2014-06-02  6:46 ` Brady Trainor
2014-06-02  7:18   ` Rainer M Krug [this message]
2014-06-02  7:26 ` Thorsten Jolitz
2014-06-06 14:09   ` Bastien
2014-06-06 16:01     ` Nick Dokos
2014-06-06 18:12       ` Achim Gratz
2014-06-07  5:57         ` Thorsten Jolitz
2014-06-11  6:05           ` Shiyuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2egz7g4ny.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=algebrat@uw.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).