From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Basic questions about elisp Date: Tue, 10 Nov 2009 19:53:35 +0100 Organization: Organization?!? Message-ID: <87ljietdn4.fsf@lola.goethe.zz> References: <1e9f8449-09ec-4a84-a332-9f05fadb8aa3@z41g2000yqz.googlegroups.com> <87iqdpdog1.fsf@galatea.local> <871vkdm2p1.fsf@lola.goethe.zz> <4d5245de-4a71-4be7-a445-6d033be48490@g23g2000yqh.googlegroups.com> <87zl6ziooo.fsf@lola.goethe.zz> <878wejcpys.fsf@galatea.local> <871vk99c08.fsf@galatea.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1257882059 7608 80.91.229.12 (10 Nov 2009 19:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Nov 2009 19:40:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 10 20:40:53 2009 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 1N7waC-00037x-Lr for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Nov 2009 20:40:53 +0100 Original-Received: from localhost ([127.0.0.1]:56664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7waC-0005qo-3r for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Nov 2009 14:40:52 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:o/V7rNo4nah7pFhAwXPmDFPNQIo= Original-Lines: 30 Original-NNTP-Posting-Date: 10 Nov 2009 19:53:35 CET Original-NNTP-Posting-Host: 70d6339b.newsspool1.arcor-online.net Original-X-Trace: DXC=`OO8R47AR^`016@cHD@m; jic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbJeHRnOLT]on1_LiI6ENVam3>5MOK` 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:69644 Archived-At: Francis Moreau writes: > On Nov 10, 1:11 pm, Joost Kremers wrote: >> Francis Moreau wrote: >> > p...@informatimago.com (Pascal J. Bourguignon) writes: >> >> Well, there are several places where it's covered, but here is one >> >> where it's explicitely explained: >> >> >> (info "(elisp)Rearrangement") >> [...] >> >> > ok that tells: "don't do that !" but it doesn't tell why not... >> >> just imagine a list as an object living somewhere in the memory of >> your computer. then try to figure out which list gets *modified* by >> the call to nconc, keeping in mind that nconc does *not* copy its >> arguments before doing its job. > > I don't really want to imagine some scenarios when reading this kind > of documentation. > > BTW, the documentation is actually taking about the non-last argument, > however I was using a constant list for the last argument. So it > wouldn't apply in my case... In the second iteration, your constant list has become part of the first argument. -- David Kastrup