From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: cannot batch export agenda Date: Sat, 01 Jun 2013 17:37:13 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uins0-00024L-Jh for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 11:37:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uinrz-0004zB-Na for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 11:37:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:58247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uinrz-0004z2-Gs for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 11:37:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uinrx-0002c7-KD for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 17:37:25 +0200 Received: from dslb-188-099-041-158.pools.arcor-ip.net ([188.99.41.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 17:37:25 +0200 Received: from rainer.stengele by dslb-188-099-041-158.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 17:37:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi! Trying to export an agenda view by command line I get this error: No buffer named *Org Agenda* How can I track the reason on the comand line? I use sticky agenda views. The command is here: emacs -batch -l ~/.emacs -eval '(org-batch-agenda "01")' The agenda view config looks like this: ("01" "agenda - prio A,B todos - sorted prio up - today" ;; ( ;; show ONGOING todos first, but only if unscheduled, skip if scheduled (tags-todo "ONGOING" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'scheduled)) (org-agenda-overriding-header "ONGOING todos: "))) (agenda "todays agenda" ( (org-agenda-span 'day) (org-agenda-start-with-log-mode t) (org-agenda-start-with-clockreport-mode t) (org-agenda-overriding-header "Today's Agenda"))) (alltodo "todos Prio A+B - skip ONGOING todos" ( (org-agenda-skip-function (lambda nil (or (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\|#B\\]") (org-agenda-skip-entry-if 'regexp ":ONGOING:") (org-agenda-skip-entry-if 'scheduled 'deadline )))) (org-agenda-overriding-header "All todos prio A+B - skip ONGOING todos: ") ))) ((org-agenda-sorting-strategy '(time-up priority-down todo-state-up))))todo-state-up)))) Thanks, Rainer