From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Tables: remote reference fails with umlaut (and in other cases) Date: Tue, 19 Jan 2016 16:29:10 +0100 Message-ID: <2016-01-19T16-25-22@devnull.Karl-Voit.at> References: <2016-01-19T14-08-22@devnull.Karl-Voit.at> <877fj5eh8f.fsf@delle7240.chemeng.ucl.ac.uk> Reply-To: Karl Voit Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLYDv-0006X5-8t for emacs-orgmode@gnu.org; Tue, 19 Jan 2016 10:29:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLYDr-0000wz-7S for emacs-orgmode@gnu.org; Tue, 19 Jan 2016 10:29:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:50415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLYDr-0000wq-1f for emacs-orgmode@gnu.org; Tue, 19 Jan 2016 10:29:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aLYDp-0003MD-D0 for emacs-orgmode@gnu.org; Tue, 19 Jan 2016 16:29:29 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 16:29:29 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 16:29:29 +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: emacs-orgmode@gnu.org Hi Eric, * Eric S Fraga wrote: > On Tuesday, 19 Jan 2016 at 14:10, Karl Voit wrote: >> >> #+NAME: 2016-01-19-srctbl >> | Testdata | >> |----------| >> | foobar | >> | fooübar | >> | fooßbar | >> | 1er | >> | 23,42 | >> | 23.42 | >> >> | Result | Expected Result | Comparison | >> |----------+-----------------+----------------| >> | foobar | foobar | OK | >> | #ERROR | fooübar | fail | >> | #ERROR | fooßbar | fail | >> | er | 1er | fail | >> | 23.42 | 23.42 | OK | >> | (23, 42) | 23,42 | probably fail? | >> >> #+TBLFM: $1=remote(2016-01-19-srctbl,@@#$1) > > I cannot get this to work either but I do think you want to enclose the > remote() within (identity) to copy values and not try to evaluate an > expression, as noted in the info page: > > $1=(identity remote(2016-01-19-srctbl,@@#$1)) | Result | Expected Result | |------------------+-----------------| | identity(foobar) | foobar | | #ERROR | fooübar | | #ERROR | fooßbar | | identity(er) | 1er | | identity(23, 42) | 23.42 | | identity(23.42) | 23,42 | #+TBLFM: $1=(identity remote(2016-01-19-srctbl,@@#$1)) > Also, I don't think you want an indirection using #. I never understood the @@#-syntax anyway. On [1] I referenced to [2]. > But I cannot get this to work so I could be completely off base... Interesting. I thought I am using only standard Org functionality here. I'm using the most current Git maint version, btw. [1] https://github.com/novoid/org-mode-workshop/blob/master/featureshow/org-mode-teaser.org#1131-referencing-example-with-detailed-explanation [2] http://orgmode.org/worg/org-hacks.html#field-coordinates-in-formulas -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github