all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: batch-bytecomp backtrace?
Date: 16 Apr 2004 07:31:15 +0900	[thread overview]
Message-ID: <87oepszxe4.fsf@tc-1-100.kawasaki.gol.ne.jp> (raw)

Hi Stefan, I notice this change:

   2004-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

           * emacs-lisp/bytecomp.el (batch-byte-compile-file):
           Give a backtrace if requested.

which looks very handy, but I can't figure out how to make it work.

I'm having the following error when bootstrapping emacs:

   Compiling /home/m/miles/src/emacs/lisp/./eshell/esh-module.el
   Loading ange-ftp (source)...
   Loading vc-arch (source)...

   In toplevel form:
   ../../../src/emacs/lisp/eshell/esh-module.el:29:13:Error: Lisp nesting exceeds max-lisp-eval-depth
   make[1]: *** [compile] Error 1
   make[1]: Leaving directory `/home/m/miles/build/emacs/lisp'
   make: *** [bootstrap] Error 2

So I thought it would be perfect time to see a backtrace (compiling
interactively succeeds!); I tried:

   src/bootstrap-emacs -batch -f toggle-debug-on-error -f batch-byte-compile ~/src/emacs/lisp/eshell/esh-module.el

   src/bootstrap-emacs -batch --eval '(setq debug-on-error t)' -f batch-byte-compile ~/src/emacs/lisp/eshell/esh-module.el

   src/bootstrap-emacs -batch --eval '(let ((debug-on-error t)) (batch-byte-compile "~/src/emacs/lisp/eshell/esh-module.el"))'

but all simply printed an error message and quit like a normal
(debug-on-error = nil) batch byte-compile.

So what magic is necessary to get a backtrace??

Thanks,

-Miles

p.s. The option `-e' should really do `--eval' ...!
-- 
`Cars give people wonderful freedom and increase their opportunities.
 But they also destroy the environment, to an extent so drastic that
 they kill all social life' (from _A Pattern Language_)

             reply	other threads:[~2004-04-15 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 22:31 Miles Bader [this message]
2004-04-15 22:35 ` batch-bytecomp backtrace? Stefan Monnier
2004-04-15 23:04   ` Miles Bader
2004-04-18  0:58     ` Miles Bader
2004-04-19 16:54       ` Lőrentey Károly

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=87oepszxe4.fsf@tc-1-100.kawasaki.gol.ne.jp \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.