From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: how to force org-mode to interpret number as string Date: Thu, 13 Mar 2014 15:37:32 +0100 Message-ID: <87txb2upub.fsf@bzg.ath.cx> References: <87siqx9um0.fsf@mars.lan> <871tygptqa.fsf@bzg.ath.cx> <87ha7c9xdn.fsf@mars.lan> <87lhwnug5t.fsf@gmail.com> <87r46elk95.fsf@mars.lan> <87k3c6vaff.fsf@gmail.com> <87iorqksl3.fsf@mars.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO6lW-0006VB-B8 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 10:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO6lR-0007mG-1f for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 10:37:46 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:49306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO6lQ-0007m8-Qq for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 10:37:40 -0400 In-Reply-To: <87iorqksl3.fsf@mars.lan> (Stefan Huchler's message of "Fri, 07 Mar 2014 15:10:16 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stefan Huchler Cc: emacs-orgmode@gnu.org Stefan Huchler writes: > So to complete your solution, is there a way to wrap "" around of all > values in a table (or only on numbers)? > > something like: > > #tblfm: $3 = "$3" (or for all columns?) > > Then I think I am satisfied ;) This may help: | a | 3 | |----+---| | z3 | | #+TBLFM: @2$1='(concat "z" "@1$2");L The quotes around @1$2 tells to use the @1$2 reference as a string in the sexp. If you remove them, you get an error. HTH, -- Bastien