From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: batch-bytecomp backtrace? Date: Thu, 15 Apr 2004 19:04:06 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040415230406.GA2446@fencepost> References: <87oepszxe4.fsf@tc-1-100.kawasaki.gol.ne.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082070480 21215 80.91.224.253 (15 Apr 2004 23:08:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Apr 2004 23:08:00 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 01:07:54 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEFxZ-0000QB-00 for ; Fri, 16 Apr 2004 01:07:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEFxZ-0003C7-00 for ; Fri, 16 Apr 2004 01:07:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEFvY-0000qz-25 for emacs-devel@quimby.gnus.org; Thu, 15 Apr 2004 19:05:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEFv2-0000pB-6B for emacs-devel@gnu.org; Thu, 15 Apr 2004 19:05:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEFuQ-0000LU-Hj for emacs-devel@gnu.org; Thu, 15 Apr 2004 19:05:09 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEFuQ-0000L8-6h for emacs-devel@gnu.org; Thu, 15 Apr 2004 19:04:38 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.24) id 1BEFtu-00010U-9G; Thu, 15 Apr 2004 19:04:06 -0400 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21721 On Thu, Apr 15, 2004 at 06:35:27PM -0400, Stefan Monnier wrote: > Well, the original code was *very* careful to make it virtually impossible > to get the backtrace. Now it's possible, tho it still requires insistence: > > (setq debug-on-error t) > (setq byte-compile-debug t) Thanks; that seems to have done something... For the problems with esh-module.el though, it seems to make it compile! Without those options, it fails: $ src/bootstrap-emacs -batch -f batch-byte-compile /usr/local/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 But with them: $ src/bootstrap-emacs -batch --eval '(setq debug-on-error t byte-compile-debug t)' -f batch-byte-compile /usr/local/src/emacs/lisp/eshell/esh-module.el Loading ange-ftp (source)... Loading vc-arch (source)... Loading defgroup from `em-alias.el' Loading defgroup from `em-banner.el' Loading defgroup from `em-basic.el' Loading defgroup from `em-cmpl.el' Loading defgroup from `em-dirs.el' Loading defgroup from `em-glob.el' Loading defgroup from `em-hist.el' Loading defgroup from `em-ls.el' Loading defgroup from `em-pred.el' Loading defgroup from `em-prompt.el' Loading defgroup from `em-rebind.el' Loading defgroup from `em-script.el' Loading defgroup from `em-smart.el' Loading defgroup from `em-term.el' Loading defgroup from `em-unix.el' Loading defgroup from `em-xtra.el' Wrote /usr/local/src/emacs/lisp/eshell/esh-groups.el Loading defgroup from `em-alias.el' Loading defgroup from `em-banner.el' Loading defgroup from `em-basic.el' Loading defgroup from `em-cmpl.el' Loading defgroup from `em-dirs.el' Loading defgroup from `em-glob.el' Loading defgroup from `em-hist.el' Loading defgroup from `em-ls.el' Loading defgroup from `em-pred.el' Loading defgroup from `em-prompt.el' Loading defgroup from `em-rebind.el' Loading defgroup from `em-script.el' Loading defgroup from `em-smart.el' Loading defgroup from `em-term.el' Loading defgroup from `em-unix.el' Loading defgroup from `em-xtra.el' Wrote /usr/local/src/emacs/lisp/eshell/esh-groups.el In end of data: esh-module.el:157:1:Warning: the following functions might not be defined at runtime: eshell-load-defgroups, eshell-subgroups esh-module.el:157:1:Warning: the function `msdos-long-file-names' is not known to be defined. Wrote /usr/local/src/emacs/lisp/eshell/esh-module.elc Someone's doing something funny... esh-module.el is full of nasty-looking code, but it doesn't seem to have been changed recently, so I'm not sure what's going on. Is anyone else having this same problem? -Miles -- In New York, most people don't have cars, so if you want to kill a person, you have to take the subway to their house. And sometimes on the way, the train is delayed and you get impatient, so you have to kill someone on the subway. [George Carlin]