"aldrin d'souza" <[email protected]> writes:
> hello org-mode users,
>
> for some reason, my agenda export isn't working as it used to in the
> past.
>
> (setq org-agenda-custom-commands '(("x" agenda "export to html" nil
> ("~/agenda.html"))))
If you want the agenda to show up when you select "x", then you need to
use an empty string after agenda:
--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
'(("x" agenda "" nil
("~/agenda.html"))))
--8<---------------cut here---------------end--------------->8---
If you want to name the agenda view, then you should use:
--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
'(("x" "Export to html" agenda "" nil
("~/agenda.html"))))
--8<---------------cut here---------------end--------------->8---
> with this in my org configuration, i get 'x' as an accepted keystroke
> in the agenda command selection buffer. however, when i use it, it does
> not export my agenda. how should i troubleshoot, can someone point me
> to where do i start looking? this used to work in the past, but now
> that i use it after a gap, it doesn't seem to do its thing.
When you select "x", it will only display the agenda in an emacs buffer.
To export the agenda, you need to use:
C-c a e (export agenda views)
This command exports all agenda views for which you have defined an
export target (in this case, "~/agenda.html").
Best,
Matt
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode