🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99441

Re: behavior of buffer-local variables

#99441
From: Joseph Wells
Date: Mon, 10 Sep 1990 02:17
15 lines
1402 bytes
In article <DAVEG.90Sep8014218@near.cs.caltech.edu> daveg@near.cs.caltech.edu (Dave Gillespie) writes:

   That is, once you have made a variable local to a buffer, it no
   longer sees the default...  *unless* the variable was flagged to
   become buffer-local automagically but had not yet actually done so.

make-local-variable is a no-op if make-variable-buffer-local has already
been applied to the symbol.  Thus it doesn't have the effect of
initializing the buffer's local value of the symbol, contrary to the
documentation.

Took me a while to figure that out ...

-- 
Joe Wells <jbw@bu.edu>
Technical Details
Message-ID: <JBW.90Sep9221714@bucsf.bu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!xylogics!bu.edu!nntp-read!jbw
References: <9008310740.AA04666@csvax.cs.caltech.edu> <JBW.90Sep6230227@bucsf.bu.edu> <DAVEG.90Sep8014218@near.cs.caltech.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,740930ec93aa18ac
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-09 19:17:14 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!xylogics!bu.edu!nntp-read!jbw
From: jbw@bucsf.bu.edu (Joseph Wells)
Newsgroups: gnu.emacs.bug
Subject: Re: behavior of buffer-local variables
Message-ID: <JBW.90Sep9221714@bucsf.bu.edu>
Date: 10 Sep 90 02:17:14 GMT
References: <9008310740.AA04666@csvax.cs.caltech.edu>
 <JBW.90Sep6230227@bucsf.bu.edu>
 <DAVEG.90Sep8014218@near.cs.caltech.edu>
Sender: news@bu.edu.bu.edu
Distribution: gnu
Organization: Boston University Computer Science Department
Lines: 15
Posted: Mon Sep 10 03:17:14 1990
In-reply-to: daveg@near.cs.caltech.edu's message of 8 Sep 90 08:42:18 GMT