emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* remote refs in spreadsheet
@ 2014-03-15 23:18 Alan Bram
  2014-03-16 16:41 ` Alan Bram
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Bram @ 2014-03-15 23:18 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

I'm having trouble using a remote reference in an Org-mode spreadsheet.

The Info node entitled "References" says that the first argument to the
"remote()" expression "... can also be the ID of an entry, even in a
different file, ...". What does this mean? What is the syntax for defining
and referring to an "ID"?

I tried making a file called "report.org" like this:

* report output
:PROPERTIES:
:CUSTOM_ID: foo
:END:

| abcde | 17 |
| xyzzy | 42 |


And then I tried to refer to it from an Org-mode spreadsheet in a different
file, like this:

#+TBLFM: @2$1=remote(file:report.org#foo, @2$2)


But it said "invalid reference".

[-- Attachment #2: Type: text/html, Size: 1623 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: remote refs in spreadsheet
  2014-03-15 23:18 remote refs in spreadsheet Alan Bram
@ 2014-03-16 16:41 ` Alan Bram
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Bram @ 2014-03-16 16:41 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On Sat, Mar 15, 2014 at 4:18 PM, Alan Bram <alanbram@speakeasy.net> wrote:

> I'm having trouble using a remote reference in an Org-mode spreadsheet.
>

Finally found Carsten's answer (1) to this same question from four years
ago. Don't know why I missed it while searching the archives yesterday.

Still, I've fumbled around for a while trying to understand how to get the
org-id module turned on, and how to write the syntax in the "remote()"
formula. (No syntax at all, it turns out. Just the ID value itself.)

(1) https://www.mail-archive.com/emacs-orgmode@gnu.org/msg21313.html

[-- Attachment #2: Type: text/html, Size: 1135 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-16 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-15 23:18 remote refs in spreadsheet Alan Bram
2014-03-16 16:41 ` Alan Bram

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).