all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org babel question: reference tables in remote file
@ 2014-04-05 21:03 Arun Persaud
  2014-04-17 14:36 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Persaud @ 2014-04-05 21:03 UTC (permalink / raw)
  To: emacs-orgmode

Hi

I would like to reference a table in a different file in some org-babel
python code via the :var variables.  The manual mentions that you can
use #+NAME for tables in the same file or IDs for tables in other files.
Is there a reason not to allow link-syntax like
remote(file:<path>::<tablename>, <cellref>)?

Thanks

Arun

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

* Re: org babel question: reference tables in remote file
  2014-04-05 21:03 org babel question: reference tables in remote file Arun Persaud
@ 2014-04-17 14:36 ` Bastien
  2014-04-17 16:26   ` Arun Persaud
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2014-04-17 14:36 UTC (permalink / raw)
  To: Arun Persaud; +Cc: emacs-orgmode

Hi Arun,

Arun Persaud <apersaud@lbl.gov> writes:

> Is there a reason not to allow link-syntax like
> remote(file:<path>::<tablename>, <cellref>)?

Well, probably histerical raisins, as Stefan would say...

But the concept of a link is really twofold: it's a reference,
and an object you can interactively act uppon by following it.

Using the link syntax for something is used solely as a ref
would be confusing IMHO.

-- 
 Bastien

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

* Re: org babel question: reference tables in remote file
  2014-04-17 14:36 ` Bastien
@ 2014-04-17 16:26   ` Arun Persaud
  2014-04-17 18:45     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Persaud @ 2014-04-17 16:26 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Hi

>> Is there a reason not to allow link-syntax like
>> remote(file:<path>::<tablename>, <cellref>)?
> 
> Well, probably histerical raisins, as Stefan would say...
> 
> But the concept of a link is really twofold: it's a reference,
> and an object you can interactively act uppon by following it.
> 
> Using the link syntax for something is used solely as a ref
> would be confusing IMHO.

thanks for the answer. It would be nice to be able to reference tables
in other files easily though, so some form of <path>:<tablename> would
be great for the remote call. Is there some special ref syntax that
could be used here?

Arun

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

* Re: org babel question: reference tables in remote file
  2014-04-17 16:26   ` Arun Persaud
@ 2014-04-17 18:45     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2014-04-17 18:45 UTC (permalink / raw)
  To: Arun Persaud; +Cc: emacs-orgmode

Hi Arun,

Arun Persaud <apersaud@lbl.gov> writes:

> thanks for the answer. It would be nice to be able to reference tables
> in other files easily though, so some form of <path>:<tablename> would
> be great for the remote call. Is there some special ref syntax that
> could be used here?

     remote(NAME-OR-ID,REF)

describes a reference to a table in a section, possibly in a different
file, and the ID property is probably more stable than a filename, so
I'd argue that what we have is enough.

-- 
 Bastien

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

end of thread, other threads:[~2014-04-17 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05 21:03 org babel question: reference tables in remote file Arun Persaud
2014-04-17 14:36 ` Bastien
2014-04-17 16:26   ` Arun Persaud
2014-04-17 18:45     ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.