From: "Eric Schulte" <schulte.eric@gmail.com>
To: Maurizio Vitale <maurizio.vitale@polymath-solutions.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] passing strings in
Date: Thu, 25 Mar 2010 11:12:20 -0600 [thread overview]
Message-ID: <874ok4jpfv.fsf@gmail.com> (raw)
In-Reply-To: <87k4t0v0in.fsf@polymath-solutions.com> (Maurizio Vitale's message of "Thu, 25 Mar 2010 12:17:36 -0400")
Hi Maurizio,
Thanks for the "$$" suggestion, I think that sounds like the simplest
solution. I've just applied it, so your original table should now work
if you double the "$" before the column number.
Dan, I think this is preferable to forcing the addition of "()" for
interpretation as a reference both for reasons of backwards
compatibility, and also I somehow feel that reference interpretation by
default and string interpretation only in the presence of double quotes
is somehow more intuitive and natural. Definitely an open area for
discussion...
Thanks -- Eric
Maurizio Vitale <maurizio.vitale@polymath-solutions.com> writes:
>>>>>> "Eric" == Eric Schulte <schulte.eric@gmail.com> writes:
>
> Eric> Hi Maurizio, The ip addresses in your table are being
> Eric> interpreted as source/reference names which org-babel is
> Eric> trying to resolve. In order to differentiate between strings
> Eric> and reference names, we either must surround all strings in
> Eric> double quotes (as below) or we must end all references with
> Eric> "()" and disallow any strings which end in "()". Currently we
> Eric> are taking the former approach, which means your table will
> Eric> require the following to work...
>
> That was a quick replay! Thanks.
>
> If I understand you, the problem is not with org-babel, but with
> org-mode itself expanding column references. In this case, wouldn't it
> be possible to consider a general "quoting" mechanism preventing that
> expansion? obviously "'" cannot be used, but maybe $$2 could be made to
> mean "threat the value literally".
>
> I'd be ok with the quotes in the source, but they look terrible in
> exported documents.
>
> Anyhow, I can live with the workaround you suggested.
> Thanks again,
>
> Maurizio
next prev parent reply other threads:[~2010-03-25 17:12 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874ok4jpfv.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.