From: Carsten Dominik <dominik@science.uva.nl>
To: m.elston@advantest-ard.com
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-batch-agenda
Date: Sat, 24 Jan 2009 16:58:09 +0100 [thread overview]
Message-ID: <71801556-D068-4BFC-A679-3AB25255E807@uva.nl> (raw)
In-Reply-To: <49790F2B.9020708@advantest-ard.com>
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
next prev parent reply other threads:[~2009-01-24 15:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 0:28 Problem with org-batch-agenda Mark Elston
2009-01-24 15:58 ` Carsten Dominik [this message]
2009-01-26 18:39 ` Mark Elston
2009-01-27 6:39 ` Carsten Dominik
2009-01-27 19:51 ` Mark Elston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71801556-D068-4BFC-A679-3AB25255E807@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=m.elston@advantest-ard.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.