From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Okam via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50053: [PATCH]: Add new macro `seq-setq` Date: Sat, 14 Aug 2021 01:25:40 +0000 Message-ID: <847b7ede-bcb5-1bd1-b91e-f1134a91fe52@protonmail.com> Reply-To: Okam Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_j1F0gq0VJkkLXjDZCdFHWvXeUoFaLoUQ3pDwbnctRc" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12670"; mail-complaints-to="usenet@ciao.gmane.io" To: 50053@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 14 03:27:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEiS6-00033l-UH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Aug 2021 03:27:11 +0200 Original-Received: from localhost ([::1]:36520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEiS4-0006L2-KB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 21:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEiRz-0006Ku-2I for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 21:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEiRy-000765-S0 for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 21:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEiRy-0003St-LW for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 21:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Okam Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Aug 2021 01:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162890439313277 (code B ref -1); Sat, 14 Aug 2021 01:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Aug 2021 01:26:33 +0000 Original-Received: from localhost ([127.0.0.1]:43316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEiRV-0003S5-8l for submit@debbugs.gnu.org; Fri, 13 Aug 2021 21:26:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEiRT-0003Rx-3M for submit@debbugs.gnu.org; Fri, 13 Aug 2021 21:26:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEiRS-0006JM-SV for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 21:26:30 -0400 Original-Received: from mail-0201.mail-europe.com ([51.77.79.158]:37664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEiRR-0006Nc-0x for bug-gnu-emacs@gnu.org; Fri, 13 Aug 2021 21:26:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1628904343; bh=N1sA8bZZ2R+99lzs5HQHnmuVtViSRk8RFQWV/cfujl8=; h=Date:To:From:Reply-To:Subject:From; b=Ra4H1kdSJiELXcR54ZS7dBZZooDeMYMznGifzVbUG3Pa82pKrF4Zw5/WcXhgJelke 4Ot7DFMNcMynLgKljjB+qjRnNjlv05PKE74WW0D1F5rox28OEcstRAPa19VQk1E6r7 yrNPL0Bnpy8qwSyHpg6UGNikXGEXxpwkG85ToG3M= Received-SPF: pass client-ip=51.77.79.158; envelope-from=okamsn@protonmail.com; helo=mail-0201.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , Okam Xref: news.gmane.io gmane.emacs.bugs:211795 Archived-At: This is a multi-part message in MIME format. --b1_j1F0gq0VJkkLXjDZCdFHWvXeUoFaLoUQ3pDwbnctRc Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, This patch adds the macro `seq-setq`, which is the `setq` version of `seq-let`. This builds upon the new macro `pcase-setq`, which was added in #49809. Thank you. --b1_j1F0gq0VJkkLXjDZCdFHWvXeUoFaLoUQ3pDwbnctRc Content-Type: text/x-patch; name=0001-Add-macro-seq-setq.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-Add-macro-seq-setq.patch RnJvbSBiYWE0MGY5NTY4ZmM1MjgyNTQ1M2FiZWM1OWYxMjBjZjdjYTA2YmNjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQ0KRnJvbTogRWFybCBIeWF0dCA8b2thbXNuQHByb3Rvbm1haWwuY29tPg0K RGF0ZTogRnJpLCAxMyBBdWcgMjAyMSAyMTowNTowMyAtMDQwMA0KU3ViamVjdDogW1BBVENIXSBB ZGQgbWFjcm8gYHNlcS1zZXRxYC4NCg0KKiBsaXNwL2VtYWNzLWxpc3Avc2VxLmVsIChzZXEtc2V0 cSk6IE5ldyBtYWNyby4NCg0KVGhpcyBtYWNybyBpcyB0aGUgJ3NldHEnIHZlcnNpb24gb2YgJ3Nl cS1sZXQnLg0KDQoqIGRvYy9saXNwcmVmL3NlcXVlbmNlcy50ZXhpIChzZXEtc2V0cSk6IERvY3Vt ZW50IHRoaXMgbWFjcm8uDQoNCiogdGVzdC9saXNwL2VtYWNzLWxpc3Avc2VxLXRlc3RzLmVsICh0 ZXN0LXNlcS1zZXRxKToNClRlc3QgdGhpcyBtYWNyby4NCi0tLQ0KIGRvYy9saXNwcmVmL3NlcXVl bmNlcy50ZXhpICAgICAgICB8IDE3ICsrKysrKysrKysrKysrKysrDQogbGlzcC9lbWFjcy1saXNw L3NlcS5lbCAgICAgICAgICAgIHwgIDggKysrKysrKysNCiB0ZXN0L2xpc3AvZW1hY3MtbGlzcC9z ZXEtdGVzdHMuZWwgfCAyNCArKysrKysrKysrKysrKysrKysrKysrKysNCiAzIGZpbGVzIGNoYW5n ZWQsIDQ5IGluc2VydGlvbnMoKykNCg0KZGlmZiAtLWdpdCBhL2RvYy9saXNwcmVmL3NlcXVlbmNl cy50ZXhpIGIvZG9jL2xpc3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