Re: programatically generate an agenda

2021-02-15 Thread Alan Schmitt
On 2021-02-14 12:12, John Kitchin writes: > If it is possible to set up what you want in an entry in > org-agenda-custom-commands, then you can call it in a program like > > #+BEGIN_SRC emacs-lisp > (org-agenda nil "w" nil) > #+END_SRC This is what I ended up doing. - set up an agenda view with

Re: programatically generate an agenda

2021-02-15 Thread Alan Schmitt
On 2021-02-14 12:12, John Kitchin writes: > If it is possible to set up what you want in an entry in > org-agenda-custom-commands, then you can call it in a program like > > #+BEGIN_SRC emacs-lisp > (org-agenda nil "w" nil) > #+END_SRC > > In that snippet, I have the key in an org-agenda-custom-c

Re: programatically generate an agenda

2021-02-14 Thread John Kitchin
If it is possible to set up what you want in an entry in org-agenda-custom-commands, then you can call it in a program like #+BEGIN_SRC emacs-lisp (org-agenda nil "w" nil) #+END_SRC In that snippet, I have the key in an org-agenda-custom-commands set to "w". that generates an agenda buffer for

programatically generate an agenda

2021-02-13 Thread Alan Schmitt
Hello, In my quest/endeavor/struggle to generate an org file for what I want to do during the day, I’m trying to leverage the power of org-agenda (that does a lot of what I want to do) to create an org file. I learned of org-agenda-write, which I could use to write to file what I want then include