From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs-25 2460cfa: * doc/lispref/lists.texi (Association Lists): Document 'alist-get'. Date: Thu, 21 Jan 2016 20:00:06 +0200 Message-ID: <83fuxq95jt.fsf@gnu.org> References: <20160116143238.27391.97533@vcs.savannah.gnu.org> <8737ttx5dm.fsf@web.de> <83oachbgz0.fsf@gnu.org> <87vb6pih39.fsf@web.de> <83h9i9besq.fsf@gnu.org> <87mvs1ieql.fsf@web.de> <83bn8hbcpp.fsf@gnu.org> <87a8o1ics6.fsf@web.de> <838u3lbbe8.fsf@gnu.org> <87vb6osb0o.fsf@web.de> <87h9i86tke.fsf@web.de> <878u3in7ye.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1453399216 18721 80.91.229.3 (21 Jan 2016 18:00:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2016 18:00:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 21 19:00:16 2016 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 1aMJWp-0004NF-MI for ged-emacs-devel@m.gmane.org; Thu, 21 Jan 2016 19:00:15 +0100 Original-Received: from localhost ([::1]:49213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMJWp-0002Ti-7n for ged-emacs-devel@m.gmane.org; Thu, 21 Jan 2016 13:00:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMJWZ-0002TM-AN for emacs-devel@gnu.org; Thu, 21 Jan 2016 13:00:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMJWT-00014H-GI for emacs-devel@gnu.org; Thu, 21 Jan 2016 12:59:59 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMJWT-000146-D0; Thu, 21 Jan 2016 12:59:53 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4470 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMJWR-0007Ux-7k; Thu, 21 Jan 2016 12:59:52 -0500 In-reply-to: <878u3in7ye.fsf@web.de> (message from Michael Heerdegen on Thu, 21 Jan 2016 18:44:25 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:198513 Archived-At: > From: Michael Heerdegen > Date: Thu, 21 Jan 2016 18:44:25 +0100 > > --8<---------------cut here---------------start------------->8--- > (defmacro alist-put (key value place &optional default remove) > (gv-letplace (_ setter) `(alist-get ,key ,place ,default ,remove) > (funcall setter value))) > --8<---------------cut here---------------end--------------->8--- > > Would it make sense to add something like this? Not without a decent doc string. Thanks.