From: Carsten Dominik <carsten.dominik@gmail.com>
To: "David A. Gershman" <dagershman@dagertech.net>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: iCalendar export using wrong directory?
Date: Tue, 6 Apr 2010 12:01:17 +0200 [thread overview]
Message-ID: <23BE7D79-B904-4E4C-BE24-803FB739B2A6@gmail.com> (raw)
In-Reply-To: <20100324022727.63FD832001C@mail.dagertech.net>
Hi David,
On Mar 24, 2010, at 3:27 AM, David A. Gershman wrote:
>
> Hello,
>
> My .emacs includes these lines:
> '(org-agenda-files (quote ("projects.org" "calendar.org")))
> '(org-directory "~/")
> '(org-combined-agenda-icalendar-file "~/webdav/org.ics")
>
> ~/webdav is used for my MobileOrg staging area also. In my
> 'org-directory' are my source .org files including one called
> 'calendar.org'. My ~/webdav directory normally also has the 'staged'
> version for MobileOrg. During debugging this problem though, I
> removed
> it from ~/webdav so I have only the source in ~/.
>
> In short, directory state is:
>
> ~/
> projects.org
> calendar.org
> webdav/
> projects.org
> checksum.dat
> index.org
> {no calendar.org}
>
> When I issue 'org-export-icalendar-combine-agenda-files', I get the
> following error:
>
> non-existent agenda file calendar.org. [R]emove from list or [A]bort?
>
> This leads me to believe, 'org-export-icalendar-combine-agenda-
> files' is
> using files in the '~/webdav' directory and not my source files for
> the
> export. Is this how it's supposed to work?? i.e. use the "path"
> included in 'org-combined-agenda-icalendar-file'?
org-agenda-files should contain absolute files names, not relative
ones. The best way to make this variable is to use `C-c [' in the
buffers you want to add.
So you should clear the list first, then add the files you want
again. Or, write
(setq org-agenda-files '("~/calendar.org" "~/projects.org"))
but note that this will then always overwrite this variable. Even if
you add files later with `C-c [', the list will be baack to the old
value with the next Emacs restart.
HTH
- Carsten
prev parent reply other threads:[~2010-04-06 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 2:27 iCalendar export using wrong directory? David A. Gershman
2010-04-06 10:01 ` 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
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=23BE7D79-B904-4E4C-BE24-803FB739B2A6@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=dagershman@dagertech.net \
--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).