[Orgmode] Re: Problem with agenda file list

2008-04-26 Thread Jose A. Ortega Ruiz
Dan Griswold <[EMAIL PROTECTED]> writes: > Hello all, > > I've encountered a strange problem with the org-agenda-files > variable. > > When I start up org-mode (which I do from my .emacs) the following > unsavory events happen: > > 1. org-agenda-files is set to only the first file in the list; >

[Orgmode] Re: Problem with agenda file list

2008-04-26 Thread Dan Griswold
"Jose A. Ortega Ruiz" <[EMAIL PROTECTED]> writes: > The latter can be fixed by loading custom-file before org, and i had > to explicitly set the value of org-agenda-files in > custom-set-variables to get the value i want. This was the problem for me. (Thanks, Carsten!) It works fine now. Thanks,

[Orgmode] conditionally setting org-agenda-files

2008-04-26 Thread Dan Griswold
Hi all, I have come up with the following snippet of elisp, which I designed to include or exclude certain files in org-agenda-files based on the week day and the time: / ;;; conditionally remove agendas based on time and day (require 'tinylibm) (setq nowday (nth 4 (t

Re: [Orgmode] Re: Problem with agenda file list

2008-04-26 Thread Carsten Dominik
On Apr 26, 2008, at 1:06 PM, Jose A. Ortega Ruiz wrote: Dan Griswold <[EMAIL PROTECTED]> writes: Hello all, I've encountered a strange problem with the org-agenda-files variable. When I start up org-mode (which I do from my .emacs) the following unsavory events happen: 1. org-agenda-files