From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Exporting #+lob Date: Sun, 17 Oct 2010 09:45:48 -1000 Message-ID: References: <58EEABEE-9247-434F-A861-5CB641A6CA56@tsdye.com> <87zkuc7k74.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1427641173==" Return-path: Received: from [140.186.70.92] (port=51909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7ZB7-0007DN-Rp for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 15:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7ZB6-0006IW-Kd for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 15:45:57 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:42684) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P7ZB6-0006I0-Eg for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 15:45:56 -0400 In-Reply-To: <87zkuc7k74.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode Mailinglist --===============1427641173== Content-Type: multipart/alternative; boundary=Apple-Mail-2--200096273 --Apple-Mail-2--200096273 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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. --Apple-Mail-2--200096273 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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][Libr= ary 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
=3D.emacs=3D 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.

= --Apple-Mail-2--200096273-- --===============1427641173== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1427641173==--