From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: void variable Date: Mon, 26 Jul 2004 18:05:39 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <86y8l6ycrw.fsf@rumba.de.uu.net> References: <410353ED.1090107@math.ku.dk> <4104091E.4040007@math.ku.dk> <200407252046.i6PKkFH29813@raven.dms.auburn.edu> <41042C27.90902@math.ku.dk> <200407260152.i6Q1qbA00327@raven.dms.auburn.edu> <200407260213.i6Q2DNV00353@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090857987 7120 80.91.224.253 (26 Jul 2004 16:06:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2004 16:06:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 18:06:15 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 1Bp7zS-0008M3-00 for ; Mon, 26 Jul 2004 18:06:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bp82U-0006sV-Lz for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2004 12:09:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bp82J-0006rr-Vx for emacs-devel@gnu.org; Mon, 26 Jul 2004 12:09:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bp82I-0006rR-UG for emacs-devel@gnu.org; Mon, 26 Jul 2004 12:09:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bp82I-0006rH-PE for emacs-devel@gnu.org; Mon, 26 Jul 2004 12:09:10 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bp7yx-0001Eu-Am for emacs-devel@gnu.org; Mon, 26 Jul 2004 12:05:43 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bp7yw-0007Zs-00 for ; Mon, 26 Jul 2004 18:05:42 +0200 Original-Received: from 139.4.37.213 ([139.4.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2004 18:05:42 +0200 Original-Received: from kai by 139.4.37.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2004 18:05:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 139.4.37.213 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:9AycWSK1Za45+nfzFS6xkgm/Wcg= 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:25978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25978 Richard Stallman writes: > Actually, on second thought I am not that sure anymore. Several > variables, that are important enough for people to want to bind them, > are not autoloaded. The situation is potentially dangerous, as we > saw with wdired. So we should warn about it _somewhere_. Either the > manual or the docstrings or both. > > The manual should direct people to autoload variables used by > autoloaded functions, if programs might want to bind them. If foo.el defines a variable foo-var, and bar.el wishes to let-bind this variable, then perhaps the manual should suggest the *caller* (ie, bar.el) to require foo: (require 'foo) (defun bar-func () (let ((foo-var ...)) ...)) WDYT? Kai