From mboxrd@z Thu Jan 1 00:00:00 1970 From: shripad sinari Subject: Re: Fwd: request regarding code chunk options in org-babel. Date: Wed, 13 Mar 2013 11:14:14 -0700 Message-ID: References: <87txofcp7c.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff2514aa4733804d7d25f4b Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFqBt-0002P3-01 for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 14:14:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFqBr-0003SF-EM for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 14:14:16 -0400 Received: from mail-oa0-f41.google.com ([209.85.219.41]:46896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFqBr-0003S1-7L for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 14:14:15 -0400 Received: by mail-oa0-f41.google.com with SMTP id i10so1444440oag.0 for ; Wed, 13 Mar 2013 11:14:14 -0700 (PDT) In-Reply-To: <87txofcp7c.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --e89a8ff2514aa4733804d7d25f4b Content-Type: text/plain; charset=ISO-8859-1 Hello Eric, The posted solution works. But the issue is that I have to do this a lot of times for selective code chunks in multiple documents. Writing the sexp each time is not very elegant. Besides, if I were to come up with some solution than I did not want it to break anything else. Perhaps my question is still ambiguous and the right question should be does value of ":results" plist overrride the one from ":exports", i.e., is there any precedence order to the chunk options that is implicit, that i have not yet grasped from the documentation? Thanks for your patience and help. Regards, Shripad. Shripad Tucson, AZ On Wed, Mar 13, 2013 at 8:08 AM, Eric Schulte wrote: > shripad sinari writes: > > > Hello all, > > I have been using org-mode and particularly org-babel for reproducible > > research. From reading most of the code chunk options in the org manual > > it seems that the follwoing table would be how one would expect output > > in various formats to behave: > > > > | :results value | :exports value | In Buffer | In PDF | Evaluation | > > |----------------+----------------+-----------+--------+------------| > > | silent | results | no | yes | yes | > > | replace/other | none | yes | no | yes | > > | silent | none | no | no | yes | > > > > Perhaps the documentation should be changed to more clearly express that > adding ":results silent" will inhibit insertion of results in the buffer > even during export. > > > > > However from this thread: > > http://comments.gmane.org/gmane.emacs.orgmode/46625 > > Is there a reason that the solution posted in that thread does not work > for you? > > Best, > > > > > it appears that this is not the case. Is there a way, to get this > > table to be valid out of the box? This might be useful. > > > > Please let me know. > > Thanks and regards, > > > > Shripad > > Tucson, AZ > > -- > Eric Schulte > http://cs.unm.edu/~eschulte > --e89a8ff2514aa4733804d7d25f4b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Eric,
The posted solution works. But the i= ssue is that I have to do this a lot of times for selective code chunks in = multiple documents. Writing the sexp each time is not very elegant. Besides= , if I were to come up with some solution than I did not want =A0it to brea= k anything else. Perhaps my question is still ambiguous and the right quest= ion should be does value of ":results" plist overrride the one fr= om ":exports", i.e., is there any precedence order to the chunk o= ptions that is implicit, that i have not yet grasped from the documentation= ?

Thanks for your patience and help.
Regards,
Shripad.

Shripad
Tucson, AZ


On Wed, Mar 13, 2013 at 8:08 AM, Eric Sc= hulte <schulte.eric@gmail.com> wrote:
shripad sinari <shripad.sinari@gmail.com> writes:

> Hello all,
> =A0I have been using org-mode and particularly org-babel for reproduci= ble
> research. From reading most of the code chunk options in the org manua= l
> =A0it seems that the follwoing table would be how one would expect out= put
> in various formats to behave:
>
> | :results value | :exports value | In Buffer | In PDF | Evaluation |<= br>
> |----------------+----------------+-----------+--------+--------= ----|
> | silent =A0 =A0 =A0 =A0 | results =A0 =A0 =A0 =A0| = no =A0 =A0 =A0 =A0| yes =A0 =A0| yes =A0 =A0 =A0 =A0|
> | replace/other =A0| none =A0 =A0 =A0 =A0 =A0 | yes =A0 =A0 =A0 | no = =A0 =A0 | yes =A0 =A0 =A0 =A0|
> | silent =A0 =A0 =A0 =A0 | none =A0 =A0 =A0 =A0 =A0 | no =A0 =A0 =A0 = =A0| no =A0 =A0 | yes =A0 =A0 =A0 =A0|
>

Perhaps the documentation should be changed to more clearly express t= hat
adding ":results silent" will inhibit insertion of results in the= buffer
even during export.

>
> However from this thread:
> http://comments.gmane.org/gmane.emacs.orgmode/46625

Is there a reason that the solution posted in that thread does not wo= rk
for you?

Best,

>
> =A0it appears that this is not the case. Is there a way, to get this > table to be valid out of the box? This might be useful.
>
> Please let me know.
> Thanks and regards,
>
> Shripad
> Tucson, AZ


--e89a8ff2514aa4733804d7d25f4b--