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: hash strangeness Date: Sun, 02 Nov 2014 17:48:09 -0500 Organization: A noiseless patient Spider Message-ID: References: <87fve1v50t.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1414968628 13231 80.91.229.3 (2 Nov 2014 22:50:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2014 22:50:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 02 23:50:23 2014 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 1Xl3yW-0008SV-20 for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Nov 2014 23:50:20 +0100 Original-Received: from localhost ([::1]:59580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl3yV-0000e9-J8 for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Nov 2014 17:50:19 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="27799"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18umgBCZ3lgMTJ4jQie1uRE" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:rl2IIs4ee1MHil+two8/hulcfWQ= Original-Xref: usenet.stanford.edu gnu.emacs.help:208418 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:100693 Archived-At: In article , Tom wrote: > Thien-Thi Nguyen gnu.org> writes: > > > > > () Tom gmail.com> > > () Sun, 2 Nov 2014 12:09:31 +0000 (UTC) > > > > At least I did not expect that. :) > > > > a quote before literal data w/ latent intent to modify? > > I expect '(a b c) to create a new list with these symbols > every time it runs. Why do you expect that? '(a b c) is short for (quote (a b c)). quote returns its argument, it doesn't make a copy of it. I'm sure somewhere in the Elisp programming manual it mentions that you shouldn't use destructive functions on literal lists, like the Common Lisp spec does. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***