From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#33998: 27.0.50; cl-delete does not delete the first list element Date: Mon, 7 Jan 2019 10:14:19 -0800 (PST) Message-ID: <39367b1c-ea27-4627-99e3-eb7d0745c60f@default> References: <87muodud4d.fsf@aia00054aia.gr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546885052 9133 195.159.176.226 (7 Jan 2019 18:17:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2019 18:17:32 +0000 (UTC) Cc: 33998@debbugs.gnu.org, Deus Max To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 07 19:17:28 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggZSq-0002HZ-Bj for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Jan 2019 19:17:28 +0100 Original-Received: from localhost ([127.0.0.1]:41560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggZUx-0003uV-3i for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Jan 2019 13:19:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggZQW-0008RB-Mc for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:15:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggZQU-0008PZ-Ug for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:15:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49652) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggZQU-0008OQ-Mj for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggZQU-00032T-6X for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Jan 2019 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33998 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33998-submit@debbugs.gnu.org id=B33998.154688487611631 (code B ref 33998); Mon, 07 Jan 2019 18:15:02 +0000 Original-Received: (at 33998) by debbugs.gnu.org; 7 Jan 2019 18:14:36 +0000 Original-Received: from localhost ([127.0.0.1]:48933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggZQ3-00031W-Gl for submit@debbugs.gnu.org; Mon, 07 Jan 2019 13:14:36 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:48942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggZQ0-00031F-Ri for 33998@debbugs.gnu.org; Mon, 07 Jan 2019 13:14:33 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x07IEMt6115848; Mon, 7 Jan 2019 18:14:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=fyy48tmeKpmdFhGmHbVL/rice07lFncL1hdpHfSWpWc=; b=t9VZMjSPup5rePJC2K3Q5cfoyBW/AT0qe01ai7VZqe/iEHsDwWXy9ZUj/VmUC1bMhWcL bahMdNiXsyuzLi8A/6jpfnvkn8eeGom1Gw00xC2E+j1k/gCsN0pz11a6a90x9cuVXpWH jQcbYPRH3gRGYtCFZOm27xLFtPzs+quGDhY1cb58BlHtlDqMqALo7ZbC0hBiC94OxMrV fZzBurHsuH3851f4570CPjJLFHed0R02KkepsCva1vVnYPdJAX68MuQPfHDuJJnpb7a3 aCVGL080T281+JZ+7gyzchnaFXGAcy/VQ8AG/5aCOi1vLucyatD1OM5iAC+bQOAIQyVc Ng== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2ptm0tybe1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 07 Jan 2019 18:14:26 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x07IEKsR023424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 Jan 2019 18:14:21 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x07IEKZB027306; Mon, 7 Jan 2019 18:14:20 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4783.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9129 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=707 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901070156 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: 209.51.188.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:154227 Archived-At: > > > So, cumbersome as it is, you should always use: > > ^^^^^^^^^^^^^ > > > (setq seq (cl-delete thing seq)) > > > > FWIW, this is not really true. > > > > `cl-delete' deletes THING from the > > _value_ of SEQ. You might or you > > might not want variable SEQ to have > > the updated value. >=20 > But this is what he wanted, so what's > the point in making this more confusing > than it needs to be? It's enough to suggest that he might want to do that, and point to the manual for explanation. It's the "always" that's misleading.