emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Problem with org-batch-agenda


From: Mark Elston
Subject: [Orgmode] Problem with org-batch-agenda
Date: Thu, 22 Jan 2009 16:28:27 -0800
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]