From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: cannot batch export agenda Date: Sun, 30 Jun 2013 23:47:54 +0200 Message-ID: <87mwq7p6j4.fsf@bzg.ath.cx> References: <51AA2B61.2000401@online.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQOz-0003G5-P0 for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 18:47:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtQOy-0001gS-KJ for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 18:47:25 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:47311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQOy-0001gN-Du for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 18:47:24 -0400 Received: by mail-wg0-f41.google.com with SMTP id y10so3081318wgg.0 for ; Sun, 30 Jun 2013 15:47:23 -0700 (PDT) In-Reply-To: <51AA2B61.2000401@online.de> (Rainer Stengele's message of "Sat, 01 Jun 2013 19:12:01 +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: Rainer Stengele Cc: emacs-orgmode@gnu.org Hi Rainer, Rainer Stengele writes: > I found this: > > (setq org-agenda-sticky nil) > > to be working, which might indicate a bug in the batch export when using sticky agenda views. > > So this does what I want: > emacs -batch -l ~/.emacs -eval ' (progn (setq org-agenda-sticky > nil)(org-batch-agenda "0w"))' Indeed! `org-batch-agenda' uses `org-agenda-buffer-name' which only make sense when `org-agenda-sticky' is nil. This should be fixed now, thanks for reporting this. -- Bastien