emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programatically generate an agenda


From: Alan Schmitt
Subject: Re: programatically generate an agenda
Date: Mon, 15 Feb 2021 14:26:08 +0100

On 2021-02-14 12:12, John Kitchin <jkitchin@andrew.cmu.edu> 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-commands set to
> "w".
>
> that generates an agenda buffer for me, which I assume you can then use
> the org-agenda-write command on.

Thank you for the suggestion, this is most useful.

Best,

Alan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]