From: Matt Lundin <mdl@imapmail.org>
To: aldrin d'souza <aldrindsouza@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda-custom-commands - what's wrong with my setup
Date: Sun, 30 Aug 2009 14:11:55 -0400 [thread overview]
Message-ID: <8763c5cgt0.fsf@fastmail.fm> (raw)
In-Reply-To: <dd3cb46b0908301035tb5a7234k4bbe74ac62465f3d@mail.gmail.com> (aldrin d'souza's message of "Sun, 30 Aug 2009 23:05:29 +0530")
"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
prev parent reply other threads:[~2009-08-30 18:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8763c5cgt0.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=aldrindsouza@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.