From: Tim Cross <theophilusx@gmail.com>
To: Greg Minshall <minshall@umich.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: quotation marks in table cell vs. org-babel-ref-resolve
Date: Sun, 05 Dec 2021 08:34:16 +1100 [thread overview]
Message-ID: <87a6hgujob.fsf@gmail.com> (raw)
In-Reply-To: <4107465.1638587764@apollo2.minshall.org>
Greg Minshall <minshall@umich.edu> writes:
> hi, Tim,
>
>> The key question is what is the use case for having this 'mixed' content
>> in a table cell?
>
> in my case, i am putting RFC822('ish) e-mail addresses in a column of an
> org-mode table. and, i want to extract them.
> ----
> | oxymoron@example.com |
> | Greg Oxymoron <oxymoron@example.com> |
> | "Greg G. Oxymoron" <oxymoron@example.com> |
> ----
> for the third row returns =Greg G. Oxymoron=, rather than my desired
> ="Greg G. Oxymoron" <oxymoron@example.com>=.
>
> by the way, do you know the use case for the current behavior for
> strings that start with a ="=? i couldn't find anything in the manual.
>
> i wonder if maybe the existing parameter =inhibit-lisp-eval= (which, in
> the path i am exercising, is non-nil) could also be used to not do the
> check for a ="=? (maybe that's also a hack, but i think it would solve
> my problem. :)
>
I don't know. It could be related to the spreadsheet capabilities or it
could simply be an oversight in how the code extracts values from
tables.
I tend to use the function org-table-to-list to extract the data from a
table. It gives me a nested list which I can then process with elisp in
any way I want. I don't know if that would help or how it will interpret
a cell whic contains both quoted and unquoted data.
next prev parent reply other threads:[~2021-12-04 21:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 17:28 quotation marks in table cell vs. org-babel-ref-resolve Greg Minshall
2021-12-03 18:26 ` Greg Minshall
2021-12-03 23:45 ` Tim Cross
2021-12-04 3:16 ` Greg Minshall
2021-12-04 21:34 ` Tim Cross [this message]
2021-12-06 18:02 ` Greg Minshall
2021-12-06 9:20 ` Greg Minshall
2022-10-23 7:09 ` Ihor Radchenko
2022-03-01 0:20 ` Greg Minshall
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=87a6hgujob.fsf@gmail.com \
--to=theophilusx@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=minshall@umich.edu \
/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).