[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Exporting #+lob
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Exporting #+lob |
Date: |
Sun, 17 Oct 2010 15:25:46 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Hi Tom,
I think this code should live in the main library-of-babel.org file. I
don't see any reason why it would be overwritten in that file, and that
way it will be available by default for anyone who already loads the
library of babel.
Best -- Eric
"Thomas S. Dye" <address@hidden> writes:
> Hi Eric,
>
> Thanks for asking about the Library of Babel. I'm still figuring out
> the best way to use it and welcome your advice.
>
> Here is the approach I've drafted. Do you think this is a reasonable
> way to go?
>
>> The GANTT Emacs lisp code can either be placed in the buffer with the
>> GANTT chart table or it can be installed in the
>> [[http://orgmode.org/manual/Library-of-Babel.html#Library-of-Babel
>> ][Library of Babel]].
>> Installing local code in the Library of Babel is best accomplished by
>> establishing one or more Org-mode files for this purpose and keeping
>> them in a place that won't be overwritten when Org-mode is updated.
>> For each of these local files, place a line like the following in
>> =.emacs= to make the source code blocks accessible to the Library:
>>
>> #+source: load-local-lob
>> #+begin_src emacs-lisp :exports code
>> (org-babel-lob-ingest "~/org/local-lob.org")
>> #+end_src
>
> If this is off the mark, and the code should go in the main Library,
> then I'd want to check with Eric F. first about the changes I made.
>
> All the best,
> Tom
>
> On Oct 17, 2010, at 8:22 AM, Eric Schulte wrote:
>
>> BTW: Do you still intend to add the elispgantt code to the library of
>> babel distributed with Org-mode? If so I'm happy to handle the
>> commit if you send me the code or a patch.