* iCalendar export using wrong directory?
@ 2010-03-24 2:27 David A. Gershman
2010-04-06 10:01 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: David A. Gershman @ 2010-03-24 2:27 UTC (permalink / raw)
To: Org-Mode List
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'?
Thanks!
----------------------------------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iCalendar export using wrong directory?
2010-03-24 2:27 iCalendar export using wrong directory? David A. Gershman
@ 2010-04-06 10:01 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-04-06 10:01 UTC (permalink / raw)
To: David A. Gershman; +Cc: Org-Mode List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-06 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 2:27 iCalendar export using wrong directory? David A. Gershman
2010-04-06 10:01 ` Carsten Dominik
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).