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 20:40:25 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <41055019.8060606@math.ku.dk> 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> <86y8l6ycrw.fsf@rumba.de.uu.net> 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 1090867296 32543 80.91.224.253 (26 Jul 2004 18:41:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2004 18:41:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 20:41:21 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 1BpAPW-00057E-00 for ; Mon, 26 Jul 2004 20:41:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpASZ-0002Up-VN for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2004 14:44:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BpASI-0002Px-4s for emacs-devel@gnu.org; Mon, 26 Jul 2004 14:44:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BpASF-0002Op-79 for emacs-devel@gnu.org; Mon, 26 Jul 2004 14:44:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpASF-0002Oa-2k for emacs-devel@gnu.org; Mon, 26 Jul 2004 14:44:07 -0400 Original-Received: from [213.170.224.162] (helo=smtp.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpAOh-0003Fa-1F for emacs-devel@gnu.org; Mon, 26 Jul 2004 14:40:27 -0400 Original-Received: from math.ku.dk (0x52b410eb.dhcp.kabelnettet.dk [82.180.16.235]) by smtp.kabelnettet.dk (Postfix) with ESMTP id B0F14609A6D; Mon, 26 Jul 2004 20:40:24 +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: Kai Grossjohann In-Reply-To: <86y8l6ycrw.fsf@rumba.de.uu.net> 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:25981 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25981 Kai Grossjohann wrote: > 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 ...)) > ...)) I guess one wants to avoid unnessary loading. So maybe it should be (defun bar-func () (require 'foo) (let ((foo-var ...)) ...)) At least that was what I did in wdired.el.