emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-custom-commands - what's wrong with my setup
@ 2009-08-30 17:35 aldrin d'souza
  2009-08-30 18:11 ` Matt Lundin
  0 siblings, 1 reply; 2+ messages in thread
From: aldrin d'souza @ 2009-08-30 17:35 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

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"))))

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.

i use emacs version 23.1.1 and org-mode version - 6.28trans

thanks,
--
ajd.

[-- Attachment #1.2: Type: text/html, Size: 721 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-agenda-custom-commands - what's wrong with my setup
  2009-08-30 17:35 org-agenda-custom-commands - what's wrong with my setup aldrin d'souza
@ 2009-08-30 18:11 ` Matt Lundin
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2009-08-30 18:11 UTC (permalink / raw)
  To: aldrin d'souza; +Cc: emacs-orgmode

"aldrin d'souza" <aldrindsouza@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-30 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-30 17:35 org-agenda-custom-commands - what's wrong with my setup aldrin d'souza
2009-08-30 18:11 ` Matt Lundin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).