From: Samuel Wales <samologist@gmail.com>
To: Julius Dittmar <Julius.Dittmar@gmx.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Q: setting/changing search path for links by id
Date: Wed, 2 May 2018 12:53:46 -0700 [thread overview]
Message-ID: <CAJcAo8s146iGrkWrhn_BT8af=kTyt8Ng8=PGFuGz3hUJUVkwqA@mail.gmail.com> (raw)
In-Reply-To: <72a9ebdd-e793-c3fe-fa4a-303aef0035e6@gmx.de>
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 <Julius.Dittmar@gmx.de> 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.
prev parent reply other threads:[~2018-05-02 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 9:27 Q: setting/changing search path for links by id Julius Dittmar
2018-05-02 13:58 ` John Kitchin
2018-05-02 19:53 ` Samuel Wales [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJcAo8s146iGrkWrhn_BT8af=kTyt8Ng8=PGFuGz3hUJUVkwqA@mail.gmail.com' \
--to=samologist@gmail.com \
--cc=Julius.Dittmar@gmx.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).