emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: References?? (feature idea)


From: David Masterson
Subject: Re: References?? (feature idea)
Date: Sun, 14 Mar 2021 18:10:07 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> You could define a new org link with this behavior. You just need to
> work out a syntax for a link to the heading that also includes the
> property name. e.g.  [[property:file.org::*Heading::property]]
>
> then, define a :follow function that probably opens the heading when
> you open it, and an :export function that looks up the property and
> uses that value on export.
>
> You would split your path on ::, then you should have a list like
> (file heading property-name). For the follow function, just find-file
> on the filename, then search for the heading. For the export, wrap
> that in save-window-excursion, and use (org-entry-get) on the heading
> to get the property value.

Hmm. Interesting. I'll have to think about that.
-- 
David Masterson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]