[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Search links in a list of files
From: |
Bernt Hansen |
Subject: |
Re: [O] Search links in a list of files |
Date: |
Mon, 12 Dec 2011 19:59:30 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
Daniel Dehennin <address@hidden> writes:
> As I want to write some documentation with org-mode, I'm looking for a
> way to manage an list of files in which org-mode will look for links, or
> better, a list or directory to scan.
>
> For example:
>
> - in file1.org, I link something like
> [[file:file2.org::#some-point][some point in some file]]
>
> - in file2.org I have a property "CUSTOM_ID: some-point" somewhere.
>
> If I reorganize my documentation and move file2.org in some
> subdirectory, like examples/file2.org, I would like to avoid changing
> all the references to "file2::#some-point".
>
> Maybe a link like [[search:PATH::SOMETHING]], with SOMETHING like in
> search-options[1].
>
> We could define a per-org file PATH, with something like
> "#+LINK_SEARCH_PATH: path1, path2, ..."
>
> Any idea about this issue?
Use global id's - then if you move headings around the links still work.
See org-id.el for more info
Regards,
Bernt