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: plist-put modification by side effect Date: Sun, 01 Feb 2009 13:22:17 -0500 Organization: A noiseless patient Spider Message-ID: References: <20090131210630.GC17573@stats.ox.ac.uk> <87d4e3w031.fsf@ambire.localdomain> <20090201162314.GA13754@stats.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233513658 30717 80.91.229.12 (1 Feb 2009 18:40:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2009 18:40:58 +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 Feb 01 19:42:12 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 1LThGf-0003Ut-J3 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 19:42:05 +0100 Original-Received: from localhost ([127.0.0.1]:52261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LThFM-0004TI-Od for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 13:40:44 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: news.eternal-september.org U2FsdGVkX1+UcMVou2HJrziISOmayeclEgddZOh8UnJJe8dNqGNnFvZSAhfjIEFdMGXgwYQH362xPOAyReFI3rtfyZAGPyw4EXQSeQi8996s6Uid4B1TaB2Xgpc+Ovw/QUgy5XYNEGc= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Sun, 1 Feb 2009 18:22:17 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/ql+NHS2S1j3HnMEx9sihLFAYQPQkQpxo= Cancel-Lock: sha1:nGXAZfy2U4U/niEe6q752PX/5Fg= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:166518 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:61835 Archived-At: In article , Dan Davison wrote: > I want to modify a plist inside a function, in such a way that > the modifications are available outside the function. Does Thi's > answer mean that I should use something like nconc and not > plist-put? That still won't help for the case where the plist is empty when your function is called, because there's nothing to nconc to. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***