From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [new exporter] is #+bind supported? Date: Tue, 05 Mar 2013 19:18:29 +0100 Message-ID: <87sj491zii.fsf@Rainer.invalid> References: <874ngq7wsq.fsf@pinto.chemeng.ucl.ac.uk> <87hakp3i2t.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCwXf-0003Bu-Le for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 13:24:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCwRr-0007wA-2j for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 13:18:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:36184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCwRq-0007vt-Sr for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 13:18:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UCwS9-000849-Mt for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 19:19:05 +0100 Received: from pd9eb3c3a.dip.t-dialin.net ([217.235.60.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Mar 2013 19:19:05 +0100 Received: from Stromeko by pd9eb3c3a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Mar 2013 19:19:05 +0100 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 Eric S Fraga writes: > It is rather annoying to have the old org files picked up > automatically. My git copy of org-mode is before anything else in my > =load-path= variable. I know there has been a whole thread on the list > about this but I did not see any solution to this; did I miss one? I > track emacs-snapshot weekly and org-mode more frequently. No, nothing complete yet. Here's what I have so far, some autoload definitions might still be there, but will error out due to the fact that their target files are not in load-path anymore. --8<---------------cut here---------------start------------->8--- ;; ;; Kill our ancestors ;; ;; clean load-path (setq load-path (delq nil (mapcar (function (lambda (p) (unless (string-match "lisp/org$" p) p)) load-path))) ;; remove property list to defeat cus-load and remove autoloads (mapatoms (function (lambda (s) (let ((sn (symbol-name s))) (when (string-match "^\\(org\\|ob\\)-?" sn) (setplist s nil) (when (autoloadp s) (unintern s))))))) (add-to-list 'load-path "/path/to/org-master") (load "org-loaddefs.el" nil nil 'nosuffix) --8<---------------cut here---------------end--------------->8--- I still need to generate the custom-load definitions with the build system so that you can browse customize without loading all Org files first. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada