From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Problem with org-batch-agenda Date: Thu, 22 Jan 2009 16:28:27 -0800 Message-ID: <49790F2B.9020708@advantest-ard.com> Reply-To: m.elston@advantest-ard.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ9vh-00057f-Uy for emacs-orgmode@gnu.org; Thu, 22 Jan 2009 19:29:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ9vg-00057T-Gb for emacs-orgmode@gnu.org; Thu, 22 Jan 2009 19:29:49 -0500 Received: from [199.232.76.173] (port=39068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ9vg-00057Q-BJ for emacs-orgmode@gnu.org; Thu, 22 Jan 2009 19:29:48 -0500 Received: from [192.84.20.196] (port=2923 helo=mailhub.ardeng.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQ9vf-00026Q-SN for emacs-orgmode@gnu.org; Thu, 22 Jan 2009 19:29:48 -0500 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: Org Mode List I am trying to export information from my org files and am getting an error every time I run the batch file (Windows XP) I am starting with a stripped down .emacs file which just sets up my load path then does the following: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ORG MODE (require 'org-install) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (setq org-log-done 'time) (setq org-agenda-include-diary t) (setq org-directory "~/org/") (setq org-agenda-custom-commands '(("S" "Schedule for the week plus TODO's" ((agenda "") (todo "TODO"))))) My batch file looks like this: c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval '(org-batch-agenda "S")' When I run this from the command line I get: Loading c:/Home/emacs-22/precompile.el (source)... Loading c:/Home/emacs-22/all_org.el (source)... Loading c:/Home/emacs-22/melston-note-paths.el (source)... Done loading ~/emacs/all_org Loading c:/Home/emacs-22/custom.el (source)... Loading gnus... Done loading init file End of file during parsing I saw this mentioned in the list at gmane but never saw any resolution for it. Any ideas? Mark