Re: [O] Recursive org-agenda-files

2011-10-14 Thread Neilen Marais
Matthew, Matthew Sauer gmail.com> writes: > > My understanding is that you want a file that gets moved into the > active directory to be automatically included in the agenda? > From worg: > You can simply include the directory (as one of the items) in the > value of the variable org-agenda-file

Re: [O] Recursive org-agenda-files

2011-10-14 Thread Neilen Marais
Hi Nick, Nick Dokos hp.com> writes: > Seek and ye shall find: > > C-h v org-agenda--hook RET > > will list all the matching hooks. Which one to choose? I'll leave that up > to the interested reader Indeed, doing (load-library "find-lisp") (add-hook 'org-agenda-mode-hook (lambda () (setq o

Re: [O] Recursive org-agenda-files

2011-10-04 Thread Matthew Sauer
My understanding is that you want a file that gets moved into the active directory to be automatically included in the agenda? >From worg: You can simply include the directory (as one of the items) in the value of the variable org-agenda-files: (setq org-agenda-files '("/my/special/path/org/active

Re: [O] Recursive org-agenda-files

2011-10-04 Thread Nick Dokos
Neilen Marais wrote: > Jambunatha, > > > > > Have you considered adding it to say org-mode-hook? > > > > Seems like a Wrong suggestion to me. > > > > Try using `C-c [' to add the current org file. I am assuming that org > > files are created by hand and not by some daemon that spits out agend

Re: [O] Recursive org-agenda-files

2011-10-04 Thread Neilen Marais
Jambunatha, > > Have you considered adding it to say org-mode-hook? > > Seems like a Wrong suggestion to me. > > Try using `C-c [' to add the current org file. I am assuming that org > files are created by hand and not by some daemon that spits out agenda > files when you are away from emacs.

Re: [O] Recursive org-agenda-files

2011-10-04 Thread Jambunathan K
Jambunathan K writes: > Neilen Marais writes: > >> Hi, >> >> netty hacky gmail.com> writes: >> >>> >>> Hi Neilen, >>> >>> I think you want these in your .emacs (from >>> http://orgmode.org/worg/org-faq.html, "Can I add files recursively to >>> my list of agenda files?"): >>> (load-library "fi

Re: [O] Recursive org-agenda-files

2011-10-04 Thread Jambunathan K
Neilen Marais writes: > Hi, > > netty hacky gmail.com> writes: > >> >> Hi Neilen, >> >> I think you want these in your .emacs (from >> http://orgmode.org/worg/org-faq.html, "Can I add files recursively to >> my list of agenda files?"): >> (load-library "find-lisp") >> (setq org-agenda-files (f

Re: [O] Recursive org-agenda-files

2011-10-04 Thread Neilen Marais
Hi, netty hacky gmail.com> writes: > > Hi Neilen, > > I think you want these in your .emacs (from > http://orgmode.org/worg/org-faq.html, "Can I add files recursively to > my list of agenda files?"): > (load-library "find-lisp") > (setq org-agenda-files (find-lisp-find-files "~/org" "\.org$"))

Re: [O] Recursive org-agenda-files

2011-10-03 Thread netty hacky
Hi Neilen, I think you want these in your .emacs (from http://orgmode.org/worg/org-faq.html, "Can I add files recursively to my list of agenda files?"): (load-library "find-lisp") (setq org-agenda-files (find-lisp-find-files "~/org" "\.org$")) Or you can add each project directory to org-agenda-f

[O] Recursive org-agenda-files

2011-10-03 Thread Neilen Marais
Hi, I like to have a directory per project, with an .org file in each directory. Is there a way to set org-agenda-files such that it can recursively scan my whole projects dir for all org files? Thanks Neilen