From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Seeger" Subject: Exporting with block agenda Date: Tue, 22 Jul 2008 19:49:59 +0200 Message-ID: <87y73tajw8.wl%jan.seeger@thenybble.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLLzp-0006yU-7B for emacs-orgmode@gnu.org; Tue, 22 Jul 2008 13:49:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLLzn-0006y9-3p for emacs-orgmode@gnu.org; Tue, 22 Jul 2008 13:49:56 -0400 Received: from [199.232.76.173] (port=49598 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLLzm-0006y2-SX for emacs-orgmode@gnu.org; Tue, 22 Jul 2008 13:49:54 -0400 Received: from thenybble.de ([87.230.95.74]:41196) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLLzm-0007J7-M7 for emacs-orgmode@gnu.org; Tue, 22 Jul 2008 13:49:54 -0400 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: emacs-orgmode Greetings, I almost went crazy today trying to export my block agenda. I had my agenda set up like this: (setq org-agenda-custom-commands '( ("c" "" ((todo "NEXT|TODO") (agenda)) ((org-agenda-with-colors nil) (ps-font-size '(8 . 8)) (org-agenda-compact-blocks t) (ps-landscape-mode t) (ps-number-of-columns 2) ) ("/tmp/todo-list.ps") ) )) , which seemed correct (show todos and an agenda together and export it to the /tmp/todo-list.ps file. However, orgmode refused to export the agenda. Looking at org-agenda.el, I edebugged org-batch-store-agenda-views, and saw that in line 1774, block agendas are (seemingly) not parsed correctly. With the syntax from the documentation and! customize-variable, file and settings are the third and fourth elements respectively. So I inserted a nil between the commands and the settings, and my block agenda miraculously exported. Is the above setting wrong, or is that a bug in org-mode? (I'm using 6.04c with emacs 22.2-r2). Regards, Jan Seeger