Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Michael Brand <michael.ch.brand <at> gmail.com>
Subject: outline path in links
Newsgroups: gmane.emacs.orgmode
Date: Thursday 13th January 2011 18:18:21 UTC (over 5 years ago)
Hi all

What do you think about having _outline path in links_ as described in
the following?

I have seen that an outline path like `Bach/Prelude' can be used to
refile notes into a heading `Prelude' that has a parent heading named
`Bach'. An outline path like `Chopin/Prelude' refiles into a different
heading with the same name `Prelude' but with a different parent
heading named `Chopin'.

Now I wondered if the link type [[*Bach/Prelude]] could be used to
_link_ to the first outline path above. This link type would be even
_plainer plain text_ and easier to add to a Org buffer than the link
type [[#Bach/Prelude]] because the latter requires to manually add the
property `:CUSTOM_ID: Bach/Prelude'

I think that such an outline path in links could be possible even
without the need of adding a new variable org-link-use-outline-path
similar to the existing variable org-refile-use-outline-path: Like
today the link [[*Orchestersuite/Ouverture]] would still match a
heading named `Orchestersuite/Ouverture' (both words on the same
heading level with a literal slash as part of the heading name) but
additionally the link [[*Bach/Orchestersuite/Ouverture]] then would
match this heading only if it has a parent heading named `Bach'. This
would not be the simplest way to implement but in my opinion the
priority should be to have as less config variables as possible. Even
better if the code that gives this flexibility could also be used for
refiling with outline path and the variable
org-refile-use-outline-path could be dropped.

Michael

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
CD: 2ms