From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: obarray Date: Mon, 16 Dec 2013 12:44:31 -0500 Organization: A noiseless patient Spider Message-ID: References: <87haabq6gl.fsf@nl106-137-194.student.uu.se> <87bo0irj13.fsf@nl106-137-194.student.uu.se> <87wqj6pva0.fsf@nl106-137-194.student.uu.se> <87txeaxb4l.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1387215920 21789 80.91.229.3 (16 Dec 2013 17:45:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2013 17:45:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 16 18:45:27 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VscER-0000U9-0b for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 18:45:27 +0100 Original-Received: from localhost ([::1]:57421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VscEQ-0002UR-MI for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 12:45:26 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="24114"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DrlXkb2aONKjqZSXkNq7Y" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:IckVDSwSUosJXMJsM6l/xWWp+Dg= Original-Xref: usenet.stanford.edu gnu.emacs.help:202752 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95021 Archived-At: In article <87txeaxb4l.fsf@nl106-137-194.student.uu.se>, Emanuel Berg wrote: > Barry Margolin writes: > > > uninterned-symbol is an interned symbol. Its *value* > > is the symbol foo, which is not interned; foo > > shouldn't show up in the function you wrote earlier > > in the thread; unless you happen to have interned > > some other symbol by that name -- it would probably > > be clearer if I'd done: > > > > (setq uninterned-symbol (make-symbol > > "something-you-have-never-typed")) > > OK, get it, thank you. > > > Now try your function and see if > > something-you-have-never-typed shows up. > > > > The value of the symbol > > something-you-have-never-typed would then be bar. > > Is there a way to confirm this? How can I access a > symbol's value, if the symbol isn't in the obarray? If > it isn't in the obarray, where is it? Is there a buffer > and/or "scope" (i.e. form or process) local/temporary > object array or anything of the like? You can access it the same way you can access the contents of arrays and lists -- by getting to it from some other variable (or cons cell or array element) that references it. That's what the variable uninterned-symbol is for. (symbol-value uninterned-symbol) => bar -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***