From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt Date: Sat, 04 Mar 2017 01:16:46 +0100 Message-ID: <87a891lwup.fsf@drachen> References: <87k288p2oq.fsf@gmail.com> <87k288kkqr.fsf@petton.fr> <87efyfluvi.fsf@petton.fr> <87efydlxfh.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488586694 14607 195.159.176.226 (4 Mar 2017 00:18:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2017 00:18:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25929@debbugs.gnu.org, Nicolas Petton , Tino Calancha To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 04 01:18:11 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 1cjxOf-0002rl-G6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Mar 2017 01:18:05 +0100 Original-Received: from localhost ([::1]:32976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjxOl-0003H1-J0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 19:18:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjxOf-0003Gg-Aw for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 19:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjxOc-0003cA-6s for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 19:18:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjxOc-0003c6-2y for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 19:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cjxOb-0007CI-UY for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 19:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2017 00:18:01 +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.148858662527600 (code B ref 25929); Sat, 04 Mar 2017 00:18:01 +0000 Original-Received: (at 25929) by debbugs.gnu.org; 4 Mar 2017 00:17:05 +0000 Original-Received: from localhost ([127.0.0.1]:38946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjxNh-0007B6-1f for submit@debbugs.gnu.org; Fri, 03 Mar 2017 19:17:05 -0500 Original-Received: from mout.web.de ([212.227.15.4]:62908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjxNe-0007AZ-KN for 25929@debbugs.gnu.org; Fri, 03 Mar 2017 19:17:03 -0500 Original-Received: from drachen.dragon ([109.44.2.231]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MK2FR-1clKI3193l-001TyY; Sat, 04 Mar 2017 01:16:50 +0100 In-Reply-To: <87efydlxfh.fsf@drachen> (Michael Heerdegen's message of "Sat, 04 Mar 2017 01:04:18 +0100") X-Provags-ID: V03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Bk7pGe7uYX 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:130139 Archived-At: Michael Heerdegen writes: > With other words, I would fix this issue by altering the docstring > ("return the result" instead of "return MAP") When the MAP is an alist with only one entry, the return value will be something different than MAP anyway (a cons cannot be altered to become nil) - unless we look at "MAP" as a place expression and rewrite the thing accordingly. I don't think that is necessary. Michael.