From: zwz <zhangweize@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [feature request] use relative path in the file set by org-agenda-files
Date: Tue, 23 Mar 2010 07:32:59 +0000 (UTC) [thread overview]
Message-ID: <loom.20100323T081822-474@post.gmane.org> (raw)
The variable "org-agenda-files" can be a list of file names or a single file
name. I prefer the latter, since it is much easier to maintain one ordinary
file without modifying the .emacs.
So in my .emacs I just use:
(setq org-agenda-files (expand-file-name "agenda" org-directory))
However, it seems that only absolute path works in that agenda file, e.g.
---------------------------------
in /path/to/org-directory/agenda:
/path/to/org-directory/home.org
/path/to/org-directory/lab.org
---------------------------------
Here I hope that I can use "./home.org" and "./lab.org" instead, so that when
I copy the "/path/to/org-directory/" to another place, I do not have to modify
the agenda file at all.
next reply other threads:[~2010-03-23 7:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 7:32 zwz [this message]
2010-03-23 10:30 ` [feature request] use relative path in the file set by org-agenda-files Mikael Fornius
2010-03-24 12:00 ` Carsten Dominik
2010-03-25 11:01 ` Mikael Fornius
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=loom.20100323T081822-474@post.gmane.org \
--to=zhangweize@gmail.com \
--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).