From: Bastien <bzg@gnu.org>
To: Stefan Huchler <stefan.huchler@mail.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to force org-mode to interpret number as string
Date: Thu, 13 Mar 2014 15:37:32 +0100 [thread overview]
Message-ID: <87txb2upub.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87iorqksl3.fsf@mars.lan> (Stefan Huchler's message of "Fri, 07 Mar 2014 15:10:16 +0100")
Stefan Huchler <stefan.huchler@mail.de> writes:
> So to complete your solution, is there a way to wrap "" around of all
> values in a table (or only on numbers)?
>
> something like:
>
> #tblfm: $3 = "$3" (or for all columns?)
>
> Then I think I am satisfied ;)
This may help:
| a | 3 |
|----+---|
| z3 | |
#+TBLFM: @2$1='(concat "z" "@1$2");L
The quotes around @1$2 tells to use the @1$2 reference as a string in
the sexp. If you remove them, you get an error.
HTH,
--
Bastien
prev parent reply other threads:[~2014-03-13 14:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 3:45 how to force org-mode to interpret number as string Stefan Huchler
2014-03-05 15:09 ` Bastien
2014-03-05 21:06 ` Stefan Huchler
2014-03-06 17:14 ` Eric Schulte
2014-03-07 4:12 ` Stefan Huchler
2014-03-07 5:34 ` Eric Schulte
2014-03-07 14:10 ` Stefan Huchler
2014-03-13 14:37 ` Bastien [this message]
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=87txb2upub.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=stefan.huchler@mail.de \
/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).