From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EFAZE2pSl15OZAAA0tVLHw (envelope-from ) for ; Wed, 15 Apr 2020 18:28:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +E0lJm1Sl17FPAAA1q6Kng (envelope-from ) for ; Wed, 15 Apr 2020 18:29:01 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5BAED941EE0 for ; Wed, 15 Apr 2020 18:28:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id F28D16DE0355; Wed, 15 Apr 2020 11:28:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w1NosPWIDbgR; Wed, 15 Apr 2020 11:28:46 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 1501C6DE0E8B; Wed, 15 Apr 2020 11:28:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ACA5B6DE0A6C for ; Wed, 15 Apr 2020 11:28:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ExKtuizDKJiD for ; Wed, 15 Apr 2020 11:28:28 -0700 (PDT) Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by arlo.cworth.org (Postfix) with ESMTPS id 6335F6DE0937 for ; Wed, 15 Apr 2020 11:28:27 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 6DBC816693 for ; Wed, 15 Apr 2020 20:28:23 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id VGQ2HVi-VkSG for ; Wed, 15 Apr 2020 20:28:22 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id B5BDA1610F for ; Wed, 15 Apr 2020 20:28:22 +0200 (CEST) From: Jonas Bernoulli To: notmuch@notmuchmail.org Subject: [PATCH 0/4] Use cl-lib instead of deprecated cl Date: Wed, 15 Apr 2020 20:28:18 +0200 Message-Id: <20200415182822.10841-1-jonas@bernoul.li> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 X-Spam-Score: -0.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Scan-Result: default: False [-0.01 / 13.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.45189634253118]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; SPF_REPUTATION_HAM(0.00)[-0.45047580398974]; R_SPF_ALLOW(-0.20)[+a]; IP_REPUTATION_HAM(0.00)[asn: 27017(-0.18), country: US(-0.01), ip: 50.126.95.6(-0.45)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[notmuch@notmuchmail.org]; TO_DN_NONE(0.00)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[bernoul.li]; MX_GOOD(-0.50)[cached: notmuchmail.org]; FORGED_SENDER_MAILLIST(0.00)[]; MID_CONTAINS_FROM(1.00)[]; MAILLIST(-0.20)[mailman]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:27017, ipnet:50.126.64.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[jonas@bernoul.li,notmuch-bounces@notmuchmail.org]; RCVD_COUNT_SEVEN(0.00)[10] X-TUID: 2lV9apg+omUC It is said that beginning with a cleanup of the existing code isn't the nicest thing to do but I tend to do it anyway. So I am glad that David mentioned yesterday that doing this cleanup would be an ideal way to get started. I have done quite a bit more cleanup already, some of which may be more controversial, but am limiting this initial patch series to just the cl-lib commit and a few harmless fixes. Jonas Bernoulli (4): gitignore: Ignore generated python-cffi files emacs: Declare function notmuch-show-get-message-id emacs: Explicitly depend on Emacs 24 emacs: Use `cl-lib' instead of deprecated `cl' .gitignore | 1 + emacs/notmuch-company.el | 5 +- emacs/notmuch-crypto.el | 2 + emacs/notmuch-draft.el | 2 +- emacs/notmuch-hello.el | 147 ++++++++++++++++++----------------- emacs/notmuch-jump.el | 45 +++++------ emacs/notmuch-lib.el | 18 ++--- emacs/notmuch-maildir-fcc.el | 35 +++++---- emacs/notmuch-mua.el | 76 +++++++++--------- emacs/notmuch-parser.el | 18 ++--- emacs/notmuch-pkg.el.tmpl | 3 +- emacs/notmuch-show.el | 103 ++++++++++++------------ emacs/notmuch-tag.el | 45 ++++++----- emacs/notmuch-tree.el | 20 ++--- emacs/notmuch.el | 62 +++++++-------- test/test-lib.el | 2 +- 16 files changed, 295 insertions(+), 289 deletions(-) -- 2.26.0