From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: hash strangeness Date: Mon, 3 Nov 2014 19:04:49 -0800 (PST) Message-ID: <0041d5f2-b328-4017-a748-ead21589f05e@default> References: < <87fve1v50t.fsf@zigzag.favinet> > <> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415070335 16465 80.91.229.3 (4 Nov 2014 03:05:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 03:05:35 +0000 (UTC) To: Barry Margolin , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 04:05:28 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 1XlUQw-0002QX-5f for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 04:05:26 +0100 Original-Received: from localhost ([::1]:38268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlUQv-0003EE-IZ for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 22:05:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlUQd-0003BO-U6 for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 22:05:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlUQW-00045r-OC for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 22:05:07 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:28307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlUQW-00045d-Hd for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 22:05:00 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sA434uhD016504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Nov 2014 03:04:57 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sA434ssp023196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 4 Nov 2014 03:04:55 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sA434sLN023190; Tue, 4 Nov 2014 03:04:54 GMT In-Reply-To: <> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:100718 Archived-At: > > I expect '(a b c) to create a new list with these symbols > > every time it runs. >=20 > 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. >=20 > 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. Here is one place: the Elisp manual, node `Rearrangement`. Search for "a common pitfall". https://www.gnu.org/software/emacs/manual/html_node/elisp/Rearrangement.htm= l