* Emacs hangs when converting gnus.texi
@ 2000-12-03 17:09 Jesper Harder
2000-12-20 2:10 ` ShengHuo ZHU
0 siblings, 1 reply; 4+ messages in thread
From: Jesper Harder @ 2000-12-03 17:09 UTC (permalink / raw)
Hi!
With recent Gnus snapshots ntEmacs hangs while trying to convert gnus.texi
to Info files, i.e. the command:
emacs -batch -q -no-site-file gnus.texi -eval %EMACSINFOHACK%
-f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer
But if I remove the -batch option everything works fine. I'm a bit
puzzled -- why does batch mode make Emacs hang on this task?
--
Cheers,
Jesper Harder
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs hangs when converting gnus.texi
2000-12-03 17:09 Emacs hangs when converting gnus.texi Jesper Harder
@ 2000-12-20 2:10 ` ShengHuo ZHU
2000-12-20 2:58 ` Jesper Harder
0 siblings, 1 reply; 4+ messages in thread
From: ShengHuo ZHU @ 2000-12-20 2:10 UTC (permalink / raw)
Jesper Harder <harder@ifa.au.dk> writes:
> Hi!
>
> With recent Gnus snapshots ntEmacs hangs while trying to convert gnus.texi
> to Info files, i.e. the command:
>
> emacs -batch -q -no-site-file gnus.texi -eval %EMACSINFOHACK%
> -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer
>
> But if I remove the -batch option everything works fine. I'm a bit
> puzzled -- why does batch mode make Emacs hang on this task?
It works fine when I use make.bat. Anyone else sees the problem?
ShengHuo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs hangs when converting gnus.texi
2000-12-20 2:10 ` ShengHuo ZHU
@ 2000-12-20 2:58 ` Jesper Harder
2000-12-20 6:15 ` ShengHuo ZHU
0 siblings, 1 reply; 4+ messages in thread
From: Jesper Harder @ 2000-12-20 2:58 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> Jesper Harder <harder@ifa.au.dk> writes:
>
> > With recent Gnus snapshots ntEmacs hangs while trying to convert
> > gnus.texi to Info files, [...] But if I remove the -batch option
> > everything works fine.
>
> It works fine when I use make.bat. Anyone else sees the problem?
It turned out that I had to increase max-lisp-eval-depth to make it
work. Does this limit work differently in batch mode?
Anyway, it works for me with this change:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: make.bat.diff --]
[-- Type: text/x-patch, Size: 812 bytes --]
--- make.bat Wed Dec 20 03:37:08 2000
+++ make.bat Wed Dec 20 03:43:04 2000
@@ -44,7 +44,7 @@
cd ..\texi
call %1\bin\%emacs% -batch -q -no-site-file message.texi -eval %EMACSINFOHACK% -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer
call %1\bin\%emacs% -batch -q -no-site-file emacs-mime.texi -eval %EMACSINFOHACK% -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer
-call %1\bin\%emacs% -batch -q -no-site-file gnus.texi -eval %EMACSINFOHACK% -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer
+call %1\bin\%emacs% -batch -q -no-site-file gnus.texi -eval %EMACSINFOHACK% -eval "(setq max-lisp-eval-depth 600)" -f texinfo-every-node-update -f texinfo-format-buffer -f save-buffer
if not "%2" == "copy" goto done
copy gnus %1\info
copy gnus-?? %1\info
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs hangs when converting gnus.texi
2000-12-20 2:58 ` Jesper Harder
@ 2000-12-20 6:15 ` ShengHuo ZHU
0 siblings, 0 replies; 4+ messages in thread
From: ShengHuo ZHU @ 2000-12-20 6:15 UTC (permalink / raw)
Jesper Harder <harder@ifa.au.dk> writes:
> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>
> > Jesper Harder <harder@ifa.au.dk> writes:
> >
> > > With recent Gnus snapshots ntEmacs hangs while trying to convert
> > > gnus.texi to Info files, [...] But if I remove the -batch option
> > > everything works fine.
> >
> > It works fine when I use make.bat. Anyone else sees the problem?
>
> It turned out that I had to increase max-lisp-eval-depth to make it
> work. Does this limit work differently in batch mode?
I don't know.
> Anyway, it works for me with this change:
It is in the CVS.
ShengHuo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-12-20 6:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-03 17:09 Emacs hangs when converting gnus.texi Jesper Harder
2000-12-20 2:10 ` ShengHuo ZHU
2000-12-20 2:58 ` Jesper Harder
2000-12-20 6:15 ` ShengHuo ZHU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).