emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Q: setting/changing search path for links by id


From: Samuel Wales
Subject: Re: [O] Q: setting/changing search path for links by id
Date: Wed, 2 May 2018 12:53:46 -0700

there is org-id-extra-files.  you will need to code around it to set it right.

by default it is set to text search extra files, as a symbol.
however, that symbol probably cannot be put in as a pseudo-file.  i.e.
part of a list with files.  [it seems that perhaps 'agenda-archives
/can/ be put in as a pseudo-file, but this is not seem to be
documented in the docstring or the manual.  and there is also a
separate variable controlling whether agenda files are searched.]  so
it's slightly confusing.

if you want the default, plus some files of your own, which is what
most people want to do with the variable, i think you need to get the
value of text search extra files, append or concatenate your own,
remove duplicates, and set it.  [*org feature suggestion*] perhaps org
could do the remove duplicates step for the user, and maybe allow text
search extra files as a pseudo-file, so that the user need only set
the variable to a list.  org already does a remove duplicates for the
user for org-agenda-files.


On 5/2/18, Julius Dittmar <address@hidden> wrote:
> Is there a way of adding a directory to this search path from inside an
> org file?

i'm not sure, but i don't think it searches directories either
recursively or at top level.  you will need to do that yourself in
lisp using something like (directory-files (getenv "dorg") t regexp)).
exercise caution if any files are compressed or you changed org or org
archive extensions.



reply via email to

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