From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: void variable Date: Mon, 26 Jul 2004 21:46:27 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <41055F93.9020209@math.ku.dk> References: <410353ED.1090107@math.ku.dk> <4104091E.4040007@math.ku.dk> <200407252046.i6PKkFH29813@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090871237 10635 80.91.224.253 (26 Jul 2004 19:47:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2004 19:47:17 +0000 (UTC) Cc: Luc Teirlinck , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 21:47:06 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 1BpBRB-0002b2-00 for ; Mon, 26 Jul 2004 21:47:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpBUE-0005qm-Bz for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2004 15:50:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BpBU3-0005qf-2b for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BpBU1-0005qT-0R for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:50:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpBU0-0005qQ-SP for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:50:00 -0400 Original-Received: from [213.170.224.162] (helo=smtp.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpBQg-0005mz-KO for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:46:34 -0400 Original-Received: from math.ku.dk (0x52b410eb.dhcp.kabelnettet.dk [82.180.16.235]) by smtp.kabelnettet.dk (Postfix) with ESMTP id C89B7609A3C; Mon, 26 Jul 2004 21:46:25 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk X-Accept-Language: en Original-To: Stefan Monnier In-Reply-To: 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:25988 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25988 Stefan Monnier wrote: >I think adding such warnings won't help much. I know damn well how those >variable bindings work, but I get burned every once in a while anyway. > I did not know it. And there is a fair chance that I might have read the docstring. Maybe it won't *solve* the problem, but I am sure it will help. >Maybe we could arrange for defvar to burp a warning if the var is currently >let-bound? > > Yes, why not?