emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: odt export version conflict on emacs for mac os x
Date: Sat, 31 Aug 2013 18:53:10 +0200	[thread overview]
Message-ID: <87k3j1hkeh.fsf@Rainer.invalid> (raw)
In-Reply-To: m2fvtqxn5i.fsf@uio.no

Christian Moe writes:
> Could you give a pointer to your code? I'd like to try it.

Here it is again:

--8<---------------cut here---------------start------------->8---
;;
;; Kill any old org remnants
;;

;; clean load-path
(setq load-path
      (delq nil (mapcar
		 (function (lambda (p)
			     (unless (string-match "lisp/org$" p)
			       p)))
		 load-path)))
;; remove property lists to defeat cus-load and remove autoloads
(mapatoms (function  (lambda (s)
		       (let ((sn (symbol-name s)))
			 (when (string-match "^\\(org\\|ob\\|ox\\)-?" sn)
			   (setplist s nil)
			   (when (autoloadp s)
			     (unintern s)))))))
--8<---------------cut here---------------end--------------->8---

After this Emacs should behave like it had never heard of Org at all.
As I said, use at your own risk - the intention is to do this as early
as possible, before any other initializations have taken place so that
these then can set up Org on a clean slate.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

  reply	other threads:[~2013-08-31 16:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-11 13:50 odt export version conflict on emacs for mac os x Skip Collins
2013-08-19 20:09 ` Skip Collins
2013-08-20  7:53   ` Christian Moe
2013-08-20 17:05     ` Skip Collins
2013-08-29  5:05   ` Jambunathan K
2013-08-29 18:25     ` Skip Collins
2013-08-31  6:04       ` Carsten Dominik
2013-08-31  6:28         ` Jambunathan K
2013-08-31  7:26         ` Achim Gratz
2013-08-31  8:47           ` Christian Moe
2013-08-31 16:53             ` Achim Gratz [this message]
2013-08-31  8:54           ` Carsten Dominik
2013-08-31 10:16             ` Jambunathan K
2013-08-29  4:55 ` Jambunathan K

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=87k3j1hkeh.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).