emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: maurizio.vitale@polymath-solutions.com, emacs-orgmode@gnu.org
Subject: Re: [babel] passing strings in
Date: Thu, 25 Mar 2010 13:48:15 -0600	[thread overview]
Message-ID: <87wrx041z4.fsf@gmail.com> (raw)
In-Reply-To: <87bpecxl2j.fsf@stats.ox.ac.uk> (Dan Davison's message of "Thu, 25 Mar 2010 15:23:00 -0400")

Dan Davison <davison@stats.ox.ac.uk> writes:

> Dan Davison <davison@stats.ox.ac.uk> writes:
>

[...]

>> Hi Eric,
>>
>> Thanks for the much better answer. I think my vote goes for your second
>> option.
>
> Actually, although I think what I said below is valid, it's much less
> obvious what a good solution is because I completely ignored the
> (common) possibility of referring to a table:
>
> :var x=tablename
>
> In that case it is less appealing, although a possibility, to demand
> that we write :var x=tablename()      [1]
>

My problem with this path is that then we can't pass a string value into
a variable in which the last two characters are "(" and ")" because it
would be interpreted as a reference.  I'm liking the current solution at
http://eschulte.github.com/babel-dev/DONE-literal-values-from-tables.html

Cheers -- Eric

  reply	other threads:[~2010-03-25 19:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 15:21 [babel] passing strings in Maurizio Vitale
2010-03-25 16:00 ` Eric Schulte
2010-03-25 16:17   ` Maurizio Vitale
2010-03-25 17:12     ` Eric Schulte
2010-03-25 16:49   ` Dan Davison
2010-03-25 19:05     ` Thomas S. Dye
2010-03-25 19:23     ` Dan Davison
2010-03-25 19:48       ` Eric Schulte [this message]
2010-03-25 16:09 ` Dan Davison
2010-03-25 16:21   ` Maurizio Vitale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrx041z4.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=maurizio.vitale@polymath-solutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).