From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Table (used a "spreadsheet") org-sbe issues when the value is a string Date: Wed, 06 Sep 2017 18:14:45 +0200 Message-ID: <87fubzajnu.fsf@nicolasgoaziou.fr> References: <35a64fca-7d01-b382-15f0-568d93af4f61@fgiasson.com> <87k2hgakna.fsf@saiph.selenimh> <87efrjn8pu.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpcya-0007TE-Fz for emacs-orgmode@gnu.org; Wed, 06 Sep 2017 12:14:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpcyW-0001ru-N5 for emacs-orgmode@gnu.org; Wed, 06 Sep 2017 12:14:52 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:35461) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpcyW-0001rS-H9 for emacs-orgmode@gnu.org; Wed, 06 Sep 2017 12:14:48 -0400 In-Reply-To: <87efrjn8pu.fsf@linaro.org> ("Alex =?utf-8?Q?Benn=C3=A9e=22's?= message of "Wed, 06 Sep 2017 16:32:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Alex =?utf-8?Q?Benn=C3=A9e?= Cc: emacs-orgmode@gnu.org, Frederick Giasson Hello, Alex Benn=C3=A9e writes: > So calling scramble-string works as expected... > > #+tblname: reversed-strings > | abcde | #ERROR | > > | flibble | #ERROR | > | dibble | #ERROR | > | xyzzy | #ERROR | > | another | #ERROR | > > #+TBLFM: $2=3D'(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=3D'(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=3D"thing" > > (org-sbe scramble-string (str val)) > #+end_src AFAIK, `org-sbe' is limited to tables. Regards, --=20 Nicolas Goaziou