From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: strange byte compiler behavior Date: Sat, 05 Jan 2008 21:00:41 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199584871 17141 80.91.229.12 (6 Jan 2008 02:01:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 02:01:11 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 03:01:31 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 1JBKpP-0006Vm-BX for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 03:01:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBKp2-00062G-S7 for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 21:01:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBKoy-00061b-KI for emacs-devel@gnu.org; Sat, 05 Jan 2008 21:01:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBKox-000603-8x for emacs-devel@gnu.org; Sat, 05 Jan 2008 21:01:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBKox-0005zy-24 for emacs-devel@gnu.org; Sat, 05 Jan 2008 21:01:03 -0500 Original-Received: from 206-248-175-132.dsl.teksavvy.com ([206.248.175.132] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBKos-0005b7-Vu; Sat, 05 Jan 2008 21:00:59 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 429E2B40FF; Sat, 5 Jan 2008 21:00:41 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Sat, 05 Jan 2008 09:29:48 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86277 Archived-At: > No need to try: the boundp test is still needed to catch the case of > a variable defined globally in all cases (e.g. in C code or in preloaded > packages) as well as for variables defined in packages that are > `require'd (or loaded transitively by some of the `require'd packages). > Would you please fill in the gaps in that argument? > I don't see why it is needed for those. Shouldn't those > variables be defvar'd? They are, but elsewhere and the byte-compiler only knows about it via `boundp': it doesn't keep its own list of defvar'd variables. Stefan