From: Carsten Dominik <carsten.dominik@gmail.com>
To: Noorul Islam <noorul@noorul.com>
Cc: emacs-orgmode@gnu.org, Bastien <bastien.guerry@wikimedia.fr>
Subject: Re: [PATCH] question about org-agenda-files
Date: Sat, 7 Aug 2010 08:18:03 +0200 [thread overview]
Message-ID: <70C0FD6B-09A8-463E-AC6E-86CFC2DC369F@gmail.com> (raw)
In-Reply-To: <AANLkTikjtzB+Cip_F1VOj1CustsUtCTcS5gNtKqjZ12m@mail.gmail.com>
On Aug 6, 2010, at 4:14 PM, Noorul Islam wrote:
>
>
> On Fri, Aug 6, 2010 at 4:12 PM, Carsten Dominik <carsten.dominik@gmail.com
> > wrote:
>
> On Aug 6, 2010, at 10:30 AM, Bastien wrote:
>
> Rustom Mody <rustompmody@gmail.com> writes:
>
> Why is it that if org-agenda-files is a list the list should have
> absolute file names whereas when it (points to) a single file
> containing the names those names are allowed to be relative to
> org-directory?
>
> I guess this is a small historical contingency. We might indeed allow
> relative filenames when `org-agenda-files' is a list.
>
> I agree and would welcome a patch for this.
>
>
> Changing this behavior is going to be a significant one as far as
> the current users are concerned. I started working towards a patch
> for this and now I am thinking how not to break existing
> functionality. Or should we force everyone to be relative to org-
> directory?
Hmm, indeed, it might not be as simple, because there are a number of
commands
that manipulate these files.
Let's not do this for now - it needs a careful look.
- Carsten
>
> Here is the simple patch which straight away expands the file names
> with org-directory.
>
> * org.el:
> + org-expand-file-list ()
> Expand the list of agenda files in "org-agenda-files" with "org-
> directory" as base directory.
> + org-agenda-files ()
> Call org-expand-file-list() if "org-agenda-files" is a list.
>
> Thanks and Regards
> Noorul
>
> - Carsten
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> <org-agenda-files.txt>
- Carsten
prev parent reply other threads:[~2010-08-07 6:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-01 17:50 question about org-agenda-files Rustom Mody
2010-08-06 8:30 ` Bastien
2010-08-06 10:42 ` Carsten Dominik
2010-08-06 14:14 ` [PATCH] " Noorul Islam
2010-08-07 6:18 ` Carsten Dominik [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70C0FD6B-09A8-463E-AC6E-86CFC2DC369F@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=bastien.guerry@wikimedia.fr \
--cc=emacs-orgmode@gnu.org \
--cc=noorul@noorul.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.