Re: quotation marks in table cell vs. org-babel-ref-resolve

2022-10-23 Thread Ihor Radchenko
Greg Minshall 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. > > | oxymo...@example.com

Re: quotation marks in table cell vs. org-babel-ref-resolve

2022-02-28 Thread Greg Minshall
i have a problem similar to this from a few months ago. in this case, it seems to be when trying to pass a column with a quoted-string inside of it. (this is on the "bugfix" branch.) my e-lisp code seems to get just the initial part of the string from the cell with "odd" contents. #+name:

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-06 Thread Greg Minshall
sigh. the following is pretty much a lie. apologies. > =org-babel-ref-resolve= is convenient to use (as you provide a REF, > rather than create a [temp] buffer, visit the file, whatever). the creating a temp buffer, visiting the file, are *not* provided by =org-babel-ref-resolve=. cheers (or,

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-05 Thread Greg Minshall
hi, Tim, thanks for the reply. > 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. if anyone has any knowledge in this area, i'd be curious to hear. > I tend to use the function org-table-to-list

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-04 Thread Tim Cross
Greg Minshall 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. > > | oxymo...@example.com

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-03 Thread Greg Minshall
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. | oxymo...@example.com | | Greg Oxymoron |

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-03 Thread Tim Cross
Greg Minshall writes: > fwiw, tracing, the problem appears to be this line > > ((eq (string-to-char cell) ?\") (read cell)) > > in =org-babel-read=. > > presumably there are many cases where this is the right thing to do. > > but, maybe look for a simple =^"[^"]*"$= (i.e., a quotation

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-03 Thread Greg Minshall
fwiw, tracing, the problem appears to be this line ((eq (string-to-char cell) ?\") (read cell)) in =org-babel-read=. presumably there are many cases where this is the right thing to do. but, maybe look for a simple =^"[^"]*"$= (i.e., a quotation mark, some other stuff, a quotation mark,