From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt Date: Tue, 21 Mar 2017 16:29:46 -0400 Message-ID: References: <87k288p2oq.fsf@gmail.com> <87k288kkqr.fsf@petton.fr> <87efyfluvi.fsf@petton.fr> <87a88eq2uw.fsf@petton.fr> <871stqpkqn.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490128231 19779 195.159.176.226 (21 Mar 2017 20:30:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 20:30:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25929@debbugs.gnu.org, Tino Calancha To: Nicolas Petton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 21 21:30:22 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 1cqQPy-0003Hx-H3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Mar 2017 21:30:10 +0100 Original-Received: from localhost ([::1]:42323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqQQ4-0002Ml-Ig for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Mar 2017 16:30:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqQPv-0002KW-UF for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 16:30:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqQPq-00075Z-VS for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 16:30:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqQPq-00075I-Rt for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 16:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cqQPq-00066N-J5 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2017 20:30: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.149012819023416 (code B ref 25929); Tue, 21 Mar 2017 20:30:02 +0000 Original-Received: (at 25929) by debbugs.gnu.org; 21 Mar 2017 20:29:50 +0000 Original-Received: from localhost ([127.0.0.1]:38357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqQPe-00065c-AY for submit@debbugs.gnu.org; Tue, 21 Mar 2017 16:29:50 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqQPb-00065S-7u for 25929@debbugs.gnu.org; Tue, 21 Mar 2017 16:29:48 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v2LKTktA002232; Tue, 21 Mar 2017 16:29:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 22E9A61DCC; Tue, 21 Mar 2017 16:29:46 -0400 (EDT) In-Reply-To: <871stqpkqn.fsf@petton.fr> (Nicolas Petton's message of "Tue, 21 Mar 2017 19:06:56 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV5978=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5978> : inlines <5752> : streams <1737948> : uri <2396328> 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:130793 Archived-At: >> I was thinking of providing map-remove additionally to map-delete (and >> make map-delete signal an error when it can't do its job). IOW declare >> that some parts of the API can't be used with all types. > Yes, that's what I want as well, but then `map-remove' would be > functional (return another map), and it means that it would copy > hash-tables. That's right. Or it could signal an error, if copying is considered to be "never the right thing to do". Stefan