From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mEhEF2YJ+1+qdQAA0tVLHw (envelope-from ) for ; Sun, 10 Jan 2021 14:04:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QIDmEmYJ+1/KRAAAbx9fmQ (envelope-from ) for ; Sun, 10 Jan 2021 14:04:22 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9BBA9402A9 for ; Sun, 10 Jan 2021 14:04:21 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C604829E60; Sun, 10 Jan 2021 09:02:14 -0500 (EST) Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by mail.notmuchmail.org (Postfix) with ESMTPS id B2BF029E1A for ; Sun, 10 Jan 2021 09:01:18 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id A97FD166C2 for ; Sun, 10 Jan 2021 15:01:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=sel2011a; t=1610287274; bh=DKrT7kGpixWtkgK Mr3xop0LyOOXM+Ad6BhcSALDT65E=; b=f/g8vdktwo5VnvXlHBNpxwvCWEowcMw ns81vyogHo2bQJnWKN+vxEQjSl1Zdaioiv+6oJIPtKxa3AwEH82dhESSJ62AGcpQ JP0JUFrOjJxYBZDzI0fSaBrO6/kyuBIU3Vq+J866R+p3PDdKJby2ZZGJOhjcnOKi G7CpfocRbIzM= 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 10224) with ESMTP id vH1J9_PIIC67 for ; Sun, 10 Jan 2021 15:01:14 +0100 (CET) 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 7C385166BD for ; Sun, 10 Jan 2021 15:01:14 +0100 (CET) From: Jonas Bernoulli To: notmuch@notmuchmail.org Subject: [PATCH v2 32/36] emacs: make subr-x available in all libraries Date: Sun, 10 Jan 2021 15:01:08 +0100 Message-Id: <20210110140112.25930-33-jonas@bernoul.li> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20210110140112.25930-1-jonas@bernoul.li> References: <20201214162401.19569-1-jonas@bernoul.li> <20210110140112.25930-1-jonas@bernoul.li> MIME-Version: 1.0 Message-ID-Hash: NNB3UAQWHIRIAT3EBAOSK5KIKPQKVX2J X-Message-ID-Hash: NNB3UAQWHIRIAT3EBAOSK5KIKPQKVX2J X-MailFrom: jonas@bernoul.li X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.06 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=bernoul.li header.s=sel2011a header.b=f/g8vdkt; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: D9BBA9402A9 X-Spam-Score: 0.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: ib5bAvOD5+8b Like `cl-lib' and `pcase', which are already available in all libraries, `subr-x' also provided many useful functions that we would like to use. Making `subr-x' available in every library from the get-go means that we can use the functions it defines without having to double check every single time, whether the feature is already available in the current library. --- emacs/notmuch-draft.el | 1 + emacs/notmuch-lib.el | 1 + emacs/notmuch-message.el | 1 + emacs/notmuch-parser.el | 1 + 4 files changed, 4 insertions(+) diff --git a/emacs/notmuch-draft.el b/emacs/notmuch-draft.el index 2939da55..a68b7d8d 100644 --- a/emacs/notmuch-draft.el +++ b/emacs/notmuch-draft.el @@ -27,6 +27,7 @@ (require 'cl-lib) (require 'pcase) +(require 'subr-x) (require 'notmuch-maildir-fcc) (require 'notmuch-tag) diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 6130309a..05d3be10 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -23,6 +23,7 @@ (require 'cl-lib) (require 'pcase) +(require 'subr-x) (require 'mm-util) (require 'mm-view) diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el index b90c934a..0856a2e9 100644 --- a/emacs/notmuch-message.el +++ b/emacs/notmuch-message.el @@ -23,6 +23,7 @@ (require 'cl-lib) (require 'pcase) +(require 'subr-x) (require 'message) (require 'notmuch-tag) diff --git a/emacs/notmuch-parser.el b/emacs/notmuch-parser.el index 9749a6be..f04b07c2 100644 --- a/emacs/notmuch-parser.el +++ b/emacs/notmuch-parser.el @@ -23,6 +23,7 @@ (require 'cl-lib) (require 'pcase) +(require 'subr-x) (defun notmuch-sexp-create-parser () "Return a new streaming S-expression parser. -- 2.29.1