From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: Tables: remote reference fails with umlaut (and in other cases)
Date: Tue, 19 Jan 2016 16:29:10 +0100 [thread overview]
Message-ID: <2016-01-19T16-25-22@devnull.Karl-Voit.at> (raw)
In-Reply-To: 877fj5eh8f.fsf@delle7240.chemeng.ucl.ac.uk
Hi Eric,
* Eric S Fraga <e.fraga@ucl.ac.uk> 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
next prev parent reply other threads:[~2016-01-19 15:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-19 13:10 Tables: remote reference fails with umlaut (and in other cases) Karl Voit
2016-01-19 15:12 ` Eric S Fraga
2016-01-19 15:29 ` Karl Voit [this message]
2016-01-19 19:04 ` Michael Brand
2016-01-25 14:48 ` Karl Voit
2016-01-25 17:57 ` Michael Brand
2016-01-19 16:40 ` Nick Dokos
2016-01-19 22:28 ` Stefan Huchler
2016-01-20 12:01 ` Karl Voit
2016-01-19 16:32 ` Stefan Huchler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2016-01-19T16-25-22@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).