From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#25929: 25.2; plists and map-* Date: Wed, 29 Mar 2017 17:25:46 +0200 Message-ID: References: <87k288p2oq.fsf@gmail.com> <87k288kkqr.fsf@petton.fr> <87efyfluvi.fsf@petton.fr> <87efydlxfh.fsf@drachen> <878tnxa5l4.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490801180 18729 195.159.176.226 (29 Mar 2017 15:26:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2017 15:26:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25929@debbugs.gnu.org, Nicolas Petton , Stefan Monnier , Tino Calancha To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 29 17:26:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctFU6-0003iC-Rg for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Mar 2017 17:26:06 +0200 Original-Received: from localhost ([::1]:59609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctFUC-0002cc-NO for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Mar 2017 11:26:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctFU6-0002cM-7V for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2017 11:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctFU2-00077y-QJ for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2017 11:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ctFU2-00077q-MT for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2017 11:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ctFU2-0005mc-Dw for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2017 11:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Mar 2017 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25929-submit@debbugs.gnu.org id=B25929.149080115722216 (code B ref 25929); Wed, 29 Mar 2017 15:26:02 +0000 Original-Received: (at 25929) by debbugs.gnu.org; 29 Mar 2017 15:25:57 +0000 Original-Received: from localhost ([127.0.0.1]:51478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctFTx-0005mG-6k for submit@debbugs.gnu.org; Wed, 29 Mar 2017 11:25:57 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:41191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctFTv-0005m8-Mw for 25929@debbugs.gnu.org; Wed, 29 Mar 2017 11:25:56 -0400 Original-Received: from cm-84.213.17.174.getinternet.no ([84.213.17.174] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ctFTm-0000Pu-Qa; Wed, 29 Mar 2017 17:25:48 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX96tf6xbb82MVeJSr8 zbzRnJX1ua3++e1OenqcAAACbklEQVQ4jVWUTXPaMBCGNc5Qzpsq7tXZmJ7bOOZcqeucA2Y5RwTr zI2/33dlIKmGGQ/7eD9frd0+1ynlXBN55ja2ws7O2eWUvSdPEiKzq5gNLM8zEB8lwIGbiqviYYC8 CNkveCnoApJIQPwQFOeANAUsz+5YAIVxRzWpZyQ/F5B8oJzpoxOqc73lEJ2rdgiFt+ucaOwk1Iky tyLNorsCmrruiIgyMMfo7tSAUE519wk4ukUBoc75A0AuQJpKf5RQOecRIBp4iKutc2NlAA7I0PXW fJiaJ3Wr72srl2aHNUCgTfyr7mlsLgD27gWjlSHFYXy/ey5DnCMBsPiwi+3rr8Xb+xewi2iaaxQ7 dqqfoBdhCftF5ap+vRiXBpLlfgZoH3WFQenvb3o+AVjbABGDbRbVKvdv57OBRCW3QO7Ij9vVeIBM mDwUtFAvMbYRKm1/dr0JeMIQX0tRNtZWVodhrbw0F4p/DUBuFpFB+x27ArzMA4HagfzwkO8bU/bk ZM5tgLwfpDZgJ003IJSUfJztrojUbcT6UN2QuKr5AnLykV83ZA7lyp2uAKSdyG62c7G4FJUAchrg QALjfEtnoACKq2hgWZU1mAz0k+ajOYQ5TFFQrb+c1QPIdW1suuYCUG9QKmqe7UXBsaTwmqS97dMM IDKqHbzZ+eJgYBr7PVQJmAk26gvI2kPG2A6T7lWnz1D4n5P8aQc1oJ8ee2RAnY/TZGs4udMtFEqS e25rLDxzdQ2lNg1sOreTbhRhr6HU5hfRGRnAWS5nsLdQ9yG29FBvjofIs/2WA58GfFDifENuIJmZ TMXmf0DBFg5Pj84v4B9iUwo2+Yp4vQAAAABJRU5ErkJggg== In-Reply-To: <878tnxa5l4.fsf@drachen> (Michael Heerdegen's message of "Wed, 22 Mar 2017 12:55:35 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131061 Archived-At: A thing just occurred to me: Does the map-* functions work for plists, too? plists are, like, the fourth major mapping structure we have in Lisp. Wouldn't it be easy to extend map-* to handle plists, too? For instance, map-delete (of course) knows whether it's looking at a hash table or an array, but it can also easily distinguish between an alist and a plist by just looking at the first element, can't it? It's a bit hacky, though. But might be nice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no