From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: void variable Date: Mon, 26 Jul 2004 21:59:38 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200407270259.i6R2xcc17737@raven.dms.auburn.edu> References: <410353ED.1090107@math.ku.dk> <4104091E.4040007@math.ku.dk> <200407252046.i6PKkFH29813@raven.dms.auburn.edu> <200407262041.i6QKfFu15523@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090897406 6855 80.91.224.253 (27 Jul 2004 03:03:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2004 03:03:26 +0000 (UTC) Cc: larsh@math.ku.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 27 05:03:12 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BpIFE-0004yu-00 for ; Tue, 27 Jul 2004 05:03:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpIII-0000yi-QH for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2004 23:06:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BpIIC-0000yT-RX for emacs-devel@gnu.org; Mon, 26 Jul 2004 23:06:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BpIIB-0000yH-BP for emacs-devel@gnu.org; Mon, 26 Jul 2004 23:06:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpIIB-0000yE-86 for emacs-devel@gnu.org; Mon, 26 Jul 2004 23:06:15 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpIF3-0005la-3a for emacs-devel@gnu.org; Mon, 26 Jul 2004 23:03:01 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i6R32suE007839; Mon, 26 Jul 2004 22:02:54 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i6R2xcc17737; Mon, 26 Jul 2004 21:59:38 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier@iro.umontreal.ca In-reply-to: (message from Stefan Monnier on 26 Jul 2004 17:13:57 -0400) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26001 Stefan Monnier wrote: I don't think it can be done half-reliably by the byte-compiler. I was suggesting a runtime check in Fdefvar. In that case I definitely believe that it would be important not to throw an error if the defvar is autoloaded, because that is definitely an acceptable way to get around the problem (regardless of whether or not it should be considered the only acceptable way). Also, it would be very important not to throw errors for compiler pacifiers like `(defvar foo)'. Otherwise, we would get tons of irrelevant error messages and that would be very annoying for the user. Would there be a way for the user to turn off these messages? Sincerely, Luc.