From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: org-style folding for a .emacs Date: Wed, 29 Jul 2009 18:51:10 -0600 Message-ID: References: <8763dwxiyu.fsf@stats.ox.ac.uk> <87ab35mzhq.fsf@mundaneum.com> <87vdlcx45c.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWvFP-0004F0-Rh for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 12:46:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWvFL-0004Bz-83 for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 12:46:23 -0400 Received: from [199.232.76.173] (port=51828 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWvFK-0004Bu-W7 for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 12:46:19 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:58526) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWvFK-0006gC-FM for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 12:46:18 -0400 Received: by ewy7 with SMTP id 7so1529224ewy.42 for ; Fri, 31 Jul 2009 09:46:17 -0700 (PDT) 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org S=C3=A9bastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >> S=C3=A9bastien Vauban writes: [...] >> To demonstrate creation of documents, open the "test-export.org" file in >> the base of the org-babel directory, and export it as you would any >> other org-mode file. The "exports" header argument controls how >> source-code blocks are exported, with the following options >> >> - none :: no part of the source-code block is exported in the document >> - results :: only the output of the evaluated block is exported >> - code :: the code itself is exported >> - both :: both the code and results are exported > > I have this error showing up: > > executing Ruby source code block > apply: Searching for program: no such file or directory, irb > Hi S=C3=A9bastien, The problem here is that org-babel panics when trying to evaluate ruby code blocks because you don't have the required ruby executables available on your system. Probably the best way to deal with this is to remove ruby from the list of languages supported by babel by adding the following in your initialization file [1]. Eventually we will need to find a better way of allowing users to selectively add languages to org-babel. > > >>> PS- Excellent you're looking at this, because I thought I was the latest >>> "literate programmer" on earth. All the mailing lists about that are >>> dying. >> >> While I find the notion of literate programming very appealing, I have >> no practical experience with it. The literate programming functionality >> in org-babel was inspired by talking with Eric Neilsen and by the sense >> that literate programming fit with org-babel's focus on code blocks. >> >> As you are actually familiar with literate programming and tools like >> noweb, I would be very interested to hear your thoughts on the current >> and potential future literate programming implementations in org-babel. > > For sure. I'll be more than happy to describe what I do. In case we all c= an > come to something (much) better than the current way I do things. > Wonderful. Thanks for sharing your experience. Thanks -- Eric > > Seb Footnotes:=20 [1]=20=20 --8<---------------cut here---------------start------------->8--- (setq org-babel-interpreters (delete "ruby" org-babel-interpreters)) --8<---------------cut here---------------end--------------->8---