From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: org-agenda-custom-commands - what's wrong with my setup Date: Sun, 30 Aug 2009 14:11:55 -0400 Message-ID: <8763c5cgt0.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mhoss-0003TZ-Ua for emacs-orgmode@gnu.org; Sun, 30 Aug 2009 14:12:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mhosn-0003QJ-MO for emacs-orgmode@gnu.org; Sun, 30 Aug 2009 14:12:09 -0400 Received: from [199.232.76.173] (port=39631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mhosn-0003Pz-EL for emacs-orgmode@gnu.org; Sun, 30 Aug 2009 14:12:05 -0400 Received: from mx20.gnu.org ([199.232.41.8]:24268) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mhosm-00078U-QI for emacs-orgmode@gnu.org; Sun, 30 Aug 2009 14:12:04 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mhosm-000838-6V for emacs-orgmode@gnu.org; Sun, 30 Aug 2009 14:12:04 -0400 In-Reply-To: (aldrin d'souza's message of "Sun, 30 Aug 2009 23:05:29 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: aldrin d'souza Cc: emacs-orgmode@gnu.org "aldrin d'souza" 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=C2=A0 '(("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=20 '(("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=20 '(("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