From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem with org-batch-agenda Date: Sat, 24 Jan 2009 16:58:09 +0100 Message-ID: <71801556-D068-4BFC-A679-3AB25255E807@uva.nl> References: <49790F2B.9020708@advantest-ard.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQktl-0006OU-4w for emacs-orgmode@gnu.org; Sat, 24 Jan 2009 10:58:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQkti-0006OG-Ou for emacs-orgmode@gnu.org; Sat, 24 Jan 2009 10:58:15 -0500 Received: from [199.232.76.173] (port=58934 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQkti-0006OD-Hl for emacs-orgmode@gnu.org; Sat, 24 Jan 2009 10:58:14 -0500 Received: from mail-ew0-f18.google.com ([209.85.219.18]:58024) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQkti-0001T1-2Y for emacs-orgmode@gnu.org; Sat, 24 Jan 2009 10:58:14 -0500 Received: by ewy11 with SMTP id 11so182450ewy.18 for ; Sat, 24 Jan 2009 07:58:13 -0800 (PST) In-Reply-To: <49790F2B.9020708@advantest-ard.com> 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: m.elston@advantest-ard.com Cc: Org Mode List On Jan 23, 2009, at 1:28 AM, Mark Elston wrote: > 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")' This works for me, but it is possible that quoting in a windows batch file works differently? The error message looks to me as if there is a parsing error for the - eval form. - Carsten > > > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode