From: "Vladimir Alexiev" <vladimir@sirma.bg>
To: emacs-orgmode@gnu.org
Subject: RE: [HOW] no way to escape vertical bar (pipe char) in tables?
Date: Mon, 7 Mar 2011 10:16:12 +0200 [thread overview]
Message-ID: <009801cbdc9f$ec0dcfb0$c4296f10$@bg> (raw)
In-Reply-To: <8762s0o4dt.fsf@gnu.org>
> > what is the best way to manage
> > leading/trailing spaces in a table cell?
> This i don't understand -- you want to *keep* the spaces
> in the exported table?
Not all spaces, but some spaces some of the time is needed.
The recent patch to org-babel-read by Erik Schulte makes this possible. See second sentence below:
If a value starts with one of ('` it is read as an emacs lisp sexp.
If it starts with " then it's read as a quoted string: start/end quotes are stripped, \" and \\ are unescaped
(this is useful for embedding leading/trailing whitespace in strings).
If it looks like a number, it's read as a number.
Else it's read as a literal string, without any quotation or escaping.
(Please note that | in tables is always interpreted as column separator and currently there is no way to quote it)
next prev parent reply other threads:[~2011-03-07 8:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 11:59 [HOW] no way to escape vertical bar (pipe char) in tables? Vladimir Alexiev
2011-03-03 11:00 ` Bastien
2011-03-03 16:00 ` Camille persson
2011-03-07 8:16 ` Vladimir Alexiev [this message]
2011-03-07 8:29 ` Bastien
2011-03-07 15:47 ` Eric Schulte
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='009801cbdc9f$ec0dcfb0$c4296f10$@bg' \
--to=vladimir@sirma.bg \
--cc=emacs-orgmode@gnu.org \
/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).