From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: strange byte compiler behavior Date: Fri, 04 Jan 2008 00:27:27 -0500 Message-ID: References: <200712312055.lBVKteSa012881@oogie-boogie.ics.uci.edu> <200801021948.m02JmJ1Y005211@oogie-boogie.ics.uci.edu> <200801022317.m02NHVSC017328@oogie-boogie.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199424491 26277 80.91.229.12 (4 Jan 2008 05:28:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 05:28:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 06:28:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JAf6P-0004qM-NV for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 06:28:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAf63-0008LS-1R for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 00:27:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAf5e-0008Cw-9H for emacs-devel@gnu.org; Fri, 04 Jan 2008 00:27:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAf5c-0008CI-Lf for emacs-devel@gnu.org; Fri, 04 Jan 2008 00:27:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAf5c-0008CD-GW for emacs-devel@gnu.org; Fri, 04 Jan 2008 00:27:28 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAf5c-0006p1-EU for emacs-devel@gnu.org; Fri, 04 Jan 2008 00:27:28 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JAf5b-00027Y-P5; Fri, 04 Jan 2008 00:27:27 -0500 In-reply-to: <200801022317.m02NHVSC017328@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Wed, 02 Jan 2008 15:17:30 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86037 Archived-At: `byte-recompile-directory' contains a form: "(dolist (file files)" that calls `byte-compile-file'. As a consequence (boundp 'file) to be t when `byte-compile-file' is called. That's a joke on us. The easy solution is to rename the variables in `byte-recompile-directory' and maybe a few other relevant functions. A deeper solution would be to get rid of the boundp test. I'm sure it was added for a reason -- there must have been lots of spurious warnings without that boundp test. But nowadays we have done a lot to eliminate such warnings with defvars. Perhaps now if we get rid of that boundp test the results would be ok. Does someone want to try it?