From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: Using gv in map and seq? Date: Tue, 16 Jun 2015 23:28:55 +0200 Message-ID: <87twu79wbs.fsf@petton.fr> References: <87egldxn7p.fsf@petton.fr> <878ublkrqe.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1434490156 25882 80.91.229.3 (16 Jun 2015 21:29:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2015 21:29:16 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 16 23:29:07 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Z4yPq-0001Eu-79 for ged-emacs-devel@m.gmane.org; Tue, 16 Jun 2015 23:29:06 +0200 Original-Received: from localhost ([::1]:42916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4yPp-0004Vp-Nh for ged-emacs-devel@m.gmane.org; Tue, 16 Jun 2015 17:29:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4yPl-0004T1-Ah for emacs-devel@gnu.org; Tue, 16 Jun 2015 17:29:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4yPi-0002D2-01 for emacs-devel@gnu.org; Tue, 16 Jun 2015 17:29:01 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:58509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4yPh-0002Cx-Sh for emacs-devel@gnu.org; Tue, 16 Jun 2015 17:28:57 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4BD2821546 for ; Tue, 16 Jun 2015 17:28:57 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 16 Jun 2015 17:28:57 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=YDFrurJg4Y+tng5KX+HE2N0eEfU=; b=uqXka jE/fbTHdKJadf/6aiTqXXOUkNNBmVdyH9/+NUI+0XXvSrWJ/QAEZqBgZTKyxs7kI rANC5PfBnj9G/tpMnC53Og0cELRkl2ovDF58mAmbmbPfX1kCNV3qTm9FQrgmYw8i l+h09xIVjOzc6Cx/sR46lZVOjzbRsjZTQ/gF2s= X-Sasl-enc: cyWn467a5VYusCB1MzDNBmo7pMVzN6hCN7wogsyYanKt 1434490136 Original-Received: from blueberry (unknown [80.216.74.58]) by mail.messagingengine.com (Postfix) with ESMTPA id 9D0036801B6; Tue, 16 Jun 2015 17:28:56 -0400 (EDT) In-Reply-To: User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.3 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187222 Archived-At: --=-=-= Content-Type: text/plain Stefan Monnier writes: > Something like the patch below seems to work (and it generalizes > map-put to accept for MAP not only symbols but any "lvalue"). For lists, yes indeed. I was looking for a simple way to do that, thanks! Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVgJUXAAoJECM1h6R8IHkQy+AIAKUokO2yDIM9DnoPfcSMqp0K 9XDUoWiHhexwamSQAZjcYkCwDy9caoMAoOx2aMNBdf+qd8OpD9fVyYj1kwzz3yDh 7CPYw+vaxSG12BQ3C8Xygbvymi3706Jsj1o5mJ4wDSVaKIEVUP2T0H1wuc1MQ1BR IYNT4ZxFWYjttRgaxetLs4r7fnNUHShuM57oWq+PYVCOGTUPClVz8nSPOXlsGyNR 0+v+gZKR/U2COC/zUKZg7WPUahN2+5+Z6o+ShPwSMicyjKUKFmjNEf6/SfR+KfXo VQU/NtXBnTcmPXXEHaH06OjIIYDAS6Yg00NA6kF2yvHe1lQcpCd72nS9qSPR7nM= =NVVR -----END PGP SIGNATURE----- --=-=-=--