emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a


From: Nicolas Goaziou
Subject: Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string
Date: Wed, 06 Sep 2017 18:14:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Alex Bennée <address@hidden> writes:

> So calling scramble-string works as expected...
>
>     #+tblname: reversed-strings
>     | abcde   | #ERROR |
>
>     | flibble | #ERROR |
>     | dibble  | #ERROR |
>     | xyzzy   | #ERROR |
>     | another | #ERROR |
>
>     #+TBLFM: $2='(org-sbe scramble-string (str $$1))

I cannot reproduce it. I get:

    #+name: reversed-strings
    | abcde   | edcba   |
    | flibble | elbbilf |
    | dibble  | elbbid  |
    | xyzzy   | yzzyx   |
    | another | rehtona |
    #+TBLFM: $2='(org-sbe scramble-string (str $$1))

> Even calling org-sbe directly from a source block:
>
>     #+name: call-scramble-string-via-sbe
>     #+begin_src emacs-lisp :var val="thing"
>
>     (org-sbe scramble-string (str val))
>     #+end_src

AFAIK, `org-sbe' is limited to tables.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]