* Problem with org-batch-agenda
@ 2009-01-23 0:28 Mark Elston
2009-01-24 15:58 ` Carsten Dominik
0 siblings, 1 reply; 5+ messages in thread
From: Mark Elston @ 2009-01-23 0:28 UTC (permalink / raw
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with org-batch-agenda
2009-01-23 0:28 Problem with org-batch-agenda Mark Elston
@ 2009-01-24 15:58 ` Carsten Dominik
2009-01-26 18:39 ` Mark Elston
0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-01-24 15:58 UTC (permalink / raw
To: m.elston; +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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with org-batch-agenda
2009-01-24 15:58 ` Carsten Dominik
@ 2009-01-26 18:39 ` Mark Elston
2009-01-27 6:39 ` Carsten Dominik
0 siblings, 1 reply; 5+ messages in thread
From: Mark Elston @ 2009-01-26 18:39 UTC (permalink / raw
To: Org Mode List
Carsten,
Thanks. The quoting was the problem. I changed the line from what
I had below to:
c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval \
"(org-batch-agenda \"S\")"
and it now works like I expect.
Perhaps there should be somewhere to deal with some of these platform
specific issues so we don't run into them multiple times...
Mark
* Carsten Dominik wrote (on 1/24/2009 7:58 AM):
>
> 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
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with org-batch-agenda
2009-01-26 18:39 ` Mark Elston
@ 2009-01-27 6:39 ` Carsten Dominik
2009-01-27 19:51 ` Mark Elston
0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-01-27 6:39 UTC (permalink / raw
To: m.elston; +Cc: Org Mode List
I guess this would be a good FAQ entry. Would you like to write one?
- Carsten
On Jan 26, 2009, at 7:39 PM, Mark Elston wrote:
> Carsten,
>
> Thanks. The quoting was the problem. I changed the line from what
> I had below to:
>
> c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval \
> "(org-batch-agenda \"S\")"
>
> and it now works like I expect.
>
> Perhaps there should be somewhere to deal with some of these platform
> specific issues so we don't run into them multiple times...
>
> Mark
>
> * Carsten Dominik wrote (on 1/24/2009 7:58 AM):
>> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with org-batch-agenda
2009-01-27 6:39 ` Carsten Dominik
@ 2009-01-27 19:51 ` Mark Elston
0 siblings, 0 replies; 5+ messages in thread
From: Mark Elston @ 2009-01-27 19:51 UTC (permalink / raw
To: Carsten Dominik; +Cc: Org Mode List
Carsten,
I'll give it a try. Mannish already pointed me to Worg. I installed
git and am trying to get started but am running into a problem with
even using git to get editable files. It seems I need access to
ssh-keygen which I don't have (being on Windows...)
I'll keep trying (in my spare time) to get this set up.
Mark
* Carsten Dominik wrote (on 1/26/2009 10:39 PM):
> I guess this would be a good FAQ entry. Would you like to write one?
>
> - Carsten
>
> On Jan 26, 2009, at 7:39 PM, Mark Elston wrote:
>
>> Carsten,
>>
>> Thanks. The quoting was the problem. I changed the line from what
>> I had below to:
>>
>> c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval \
>> "(org-batch-agenda \"S\")"
>>
>> and it now works like I expect.
>>
>> Perhaps there should be somewhere to deal with some of these platform
>> specific issues so we don't run into them multiple times...
>>
>> Mark
>>
>> * Carsten Dominik wrote (on 1/24/2009 7:58 AM):
>>> 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
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-27 19:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 0:28 Problem with org-batch-agenda Mark Elston
2009-01-24 15:58 ` Carsten Dominik
2009-01-26 18:39 ` Mark Elston
2009-01-27 6:39 ` Carsten Dominik
2009-01-27 19:51 ` Mark Elston
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.