From: Carsten Dominik <carsten.dominik@gmail.com>
To: Daniel Clemente <n142857@gmail.com>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: ignoring non-existent agenda files
Date: Wed, 9 Sep 2009 14:50:30 +0200 [thread overview]
Message-ID: <FF66DBEB-B5D9-44C7-ACAF-5A13D2B09BB1@gmail.com> (raw)
In-Reply-To: <ae9590aa0909090053x3c0f36cfrcc7ffdbb29c44ad6@mail.gmail.com>
On Sep 9, 2009, at 9:53 AM, Daniel Clemente wrote:
> Hi, I recently got this message after starting Emacs daemon:
>
> non-existent file ~/some/repo/index.org.. [R]emove from list or
> [A]bort?
>
> 1. It wasn't clear to me who issued this message; I thought it would
> be recentf or tramp rather than org-mode. Maybe the message could give
> some hint about the agenda: „non-existent agenda file …“
>
> 2. This question prevented emacs --daemon from starting
> non-interactively; that's not nice. I think this minor question
> shouldn't block emacs' startup. Maybe via (3.)
>
> 3. I don't mind if an agenda file doesn't exist. I have a different
> set of .org files in each computer, and my org-agenda-files is a
> superset of all. I would prefer a preference to request all
> non-existing agenda files to be ignored.
Hi Daniel,
I think the real mistake here is that you call org-agenda,
or maybe `org-agenda-to-appt' from .emacs, also in the case when
you are only starting the daemon. Any such operaions should
be avoided in the daemon, I think.
Silently ignoring non-existing files on the agenda list does
not seem a good idea to me. If you want to do this, you can do it lke
this:
(eval-after-load "org"
(setq org-agenda-files
(delq nil (mapcar (if (file-exists-p file)
file)
org-agenda-files))))
Make sure this runs after ou custom-file has been loaded.
(setq org-agenda-files (mapcar (if (file-exists-p file) file)
HTH
- Carsten
>
>
> Thanks
> -- Daniel
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-09-09 12:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-09 7:53 ignoring non-existent agenda files Daniel Clemente
2009-09-09 10:39 ` Bastien
2009-09-09 12:50 ` Carsten Dominik [this message]
2009-09-14 8:44 ` andrea Crotti
2009-09-17 15:17 ` Daniel Clemente
-- strict thread matches above, loose matches on Subject: below --
2010-05-24 12:34 Ignoring " Clifford Caoile
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=FF66DBEB-B5D9-44C7-ACAF-5A13D2B09BB1@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n142857@gmail.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 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).