From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#33998: 27.0.50; cl-delete does not delete the first list element Date: Mon, 7 Jan 2019 18:04:29 +0000 Message-ID: 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 1546884836 24710 195.159.176.226 (7 Jan 2019 18:13:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2019 18:13:56 +0000 (UTC) Cc: 33998@debbugs.gnu.org, Deus Max To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 07 19:13:51 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 1ggZPL-0006K4-Cs for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Jan 2019 19:13:51 +0100 Original-Received: from localhost ([127.0.0.1]:40687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggZRS-0000tB-6L for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Jan 2019 13:16:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggZGu-00086w-6X for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:05:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggZGq-0000k8-Dy for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:05:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49646) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggZGo-0000io-Mf for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:05:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggZGo-0002mW-9C for bug-gnu-emacs@gnu.org; Mon, 07 Jan 2019 13:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Jan 2019 18:05: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.154688429010670 (code B ref 33998); Mon, 07 Jan 2019 18:05:02 +0000 Original-Received: (at 33998) by debbugs.gnu.org; 7 Jan 2019 18:04:50 +0000 Original-Received: from localhost ([127.0.0.1]:48927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggZGc-0002m1-Fq for submit@debbugs.gnu.org; Mon, 07 Jan 2019 13:04:50 -0500 Original-Received: from mail-qt1-f175.google.com ([209.85.160.175]:40762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggZGY-0002ll-Dh for 33998@debbugs.gnu.org; Mon, 07 Jan 2019 13:04:47 -0500 Original-Received: by mail-qt1-f175.google.com with SMTP id k12so1450931qtf.7 for <33998@debbugs.gnu.org>; Mon, 07 Jan 2019 10:04:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3wQMduq8hhEcOxR9bONxmeVmZYoGiBeZRh1jT4YLxTU=; b=sbugff8l5dJBvwK5BLOB7G5t9OWVxRegUSoTBvF7UcOkvaYzGtUk78oMgIo1gzMXc0 MLAsBdfavIAomYHXXMM0ExPL569m1Q4FeU7Fx6MA1Cmq5IS+EyKyjkuZhGhndecS5Hy0 SROP8y2c9W265Ae4uMNTk7ReSJRmBAb4zmV5LhCr2JC1YSvCxiC9o5BPQxvUYpIMXcCD djPF4LJiQGbxbtfXppFE8EwcYhEUhfy8DUDNst0wzaZWb1bPuRLfD+JpdL2EBy3DkkpZ u+PxEN6qkVEPRnDzRFc5lLS/vNN3ojJKL/PfUuhJVwHyCxSLJ0cGneHvxwKJhBrouDT1 gNpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3wQMduq8hhEcOxR9bONxmeVmZYoGiBeZRh1jT4YLxTU=; b=EgM8EWdRto2oZQC6+gqO6AueB5gRebCm33VKPL5ZRLlpvpWk0oESnOQ7TT0g4LaX8K tmec9muhIIJWAUbH6Fc16W7NjjDUxE3qX/Dye7sMd6t4HaCYmZX+v6gYlGDZ8Q6DYEIu dT2OZlpHlOqXCmMjXklAi6GM7IEX/1uzLQqShvrcCWN5gsNF6Wx5Nv4jD92WicePzRgc +AQIufCiwP/l1Er/pCPLmZD9Adk6a5cSahzwcm4zINWUFknaee2CP9AfiNra3MTYs8nC YIjkREcBbiwy84q9Iug/kmOspyxK2HuTreW6qfT8h0O33iSwFv9z7548mYdR/CYhNHAZ GM5w== X-Gm-Message-State: AJcUukfy8hMQG2DW6cfQKyc7pCGNpL26PmAo0J7NF0Fuu9shXrYrfyCw sFZbOUOsxwYrOcN9viI0KKcwtsWDt37JvNWTROw= X-Google-Smtp-Source: ALg8bN6TJl6YVfnYOA+UPlLpAfyQcYURhnVVhcAsUVXisI7OFYP6b/gyH1b7dJevbyU+WJJOyQgpIDZDGzoPBbHSUYM= X-Received: by 2002:ac8:3e91:: with SMTP id y17mr32712090qtf.390.1546884280854; Mon, 07 Jan 2019 10:04:40 -0800 (PST) In-Reply-To: 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:154226 Archived-At: On Mon, Jan 7, 2019 at 5:29 PM Drew Adams wrote: > > > 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. But this is what he wanted, so what's the point in making this more confusing than it needs to be? (rethorical btw, but type away if you so wish...). Jo=C3=A3o