From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: daniel@bigwalter.net (Daniel Jensen) Newsgroups: gmane.emacs.help Subject: Re: elisp from CL transition guide Date: Thu, 16 Aug 2007 14:43:12 +0200 Message-ID: <873ayjy7j3.fsf@orme.bigwalter.net> References: <87bqd7g7tx.fsf@pu100877.student.princeton.edu> <87lkcbyccy.fsf@orme.bigwalter.net> <873ayjfzaa.fsf@pu100877.student.princeton.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187271648 27176 80.91.229.12 (16 Aug 2007 13:40:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2007 13:40:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 16 15:40:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILfaZ-0001hD-D4 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2007 15:40:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILfaZ-0003zA-1v for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2007 09:40:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-X-Trace: individual.net fYZ8tQngDIn6Bc8Kr1s97gy9hIii/3vZ5QSq7qYHPdTUDDXXdI Cancel-Lock: sha1:XfBNZoq9JSgqd4t15jZf8kJPKRc= sha1:DD5w+DTOuGmt2lH5EqBGTzp1A0E= X-Face: SNGmwsN&0DaHhS0!*%\@y"Wc^).,<; VsqY#}K/NJ:A Z6_>Md7x$Z9C1%BAu41M'12-8(f2{H*8OsnYv,K+y.szl1K>}{uC/>2?; k[KUiD=$}@z>odk|7Tk7i $A|{j7LhTt!:SdVp5Z, kKA247}--"-QLedxCbw|#&bh=R]Rd)kx{q+T'fG)9ayG`+\@g'3vx1Fd3bl -`3}Guvr!A"Z);"$|]CXW>YR5m"<[L User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:151036 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46611 Archived-At: Tamas Papp writes: > One thing I don't understand yet is namespaces in Elisp: if I set fill-column in > a buffer (setq fill-column 80), that doesn't seem to affect fill-column in other > buffers. But if I set some other variable eg (setq foo 12), foo will evaluate > to 12 in other buffers. What would be a correct mental model for this? Think of it as a special kind of scoping; buffer-local scoping. To read more, see the Elisp manual in (info "(elisp) Buffer-Local Variables"). You can see whether a variable is buffer-local when you describe it with C-h v (describe-variable).