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 qM4AOMkI+1+2bAAA0tVLHw (envelope-from ) for ; Sun, 10 Jan 2021 14:01:45 +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 oGmzM8kI+18lRAAAbx9fmQ (envelope-from ) for ; Sun, 10 Jan 2021 14:01:45 +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 83B939402D4 for ; Sun, 10 Jan 2021 14:01:45 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3F0AF29E0B; Sun, 10 Jan 2021 09:01:24 -0500 (EST) Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by mail.notmuchmail.org (Postfix) with ESMTPS id 07AA529CF8 for ; Sun, 10 Jan 2021 09:01:15 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 299D316645 for ; Sun, 10 Jan 2021 15:01:13 +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=1610287272; bh=p2ICZH2TxR+k/bo qXimFdagYisrYUoM5ugQHiMiOobY=; b=3YdSBTJ98dX6Vm4ekm7hJ5+FkIUB7Hj AOs7wAymtWYDRtvc+BJqWqGBi72QE5x14B2NF1+KQXA9YXgutSh0vlzkEJVSyiy1 WiW1DedMFP1F0ymPNqD5i1p/TOadZPou70YVvqsqNGumaF9+o5j6zfl8aw/Cf2mO owOJJtO9jivU= 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 9ae__hO5b5GZ for ; Sun, 10 Jan 2021 15:01:12 +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 DCD7E165C3 for ; Sun, 10 Jan 2021 15:01:12 +0100 (CET) From: Jonas Bernoulli To: notmuch@notmuchmail.org Subject: [PATCH v2 00/36] [emacs] Add outline headings and switch to lexical scope Date: Sun, 10 Jan 2021 15:00:36 +0100 Message-Id: <20210110140112.25930-1-jonas@bernoul.li> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201214162401.19569-1-jonas@bernoul.li> References: <20201214162401.19569-1-jonas@bernoul.li> MIME-Version: 1.0 Message-ID-Hash: YO6QUCP7FHTDSNQALIS3OSP66ONGC5Z3 X-Message-ID-Hash: YO6QUCP7FHTDSNQALIS3OSP66ONGC5Z3 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=3YdSBTJ9; 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: 83B939402D4 X-Spam-Score: 0.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: bGcqTVgMj6Iv This fixes a minor whitespace bug that Tomi notices in (1). This also adds for commits, two of them in response to a concern raised by Tomi, who didn't "see enough point for requiring subr-x just [for string-empty-p]", which I agree with: 2) Changes how `cl-lib' and `pcase' are required. I did that first because I want to do it the same way as for `subr-x'. 3) Require `subr-x', so that we can use it without having to worry whether we have now reached the threshold where it becomes justified to require an additional library. Personally I consider this library to be part of core elisp libraries, and wish it were autoloaded like, say `subr'. I am not the only one with that opinion and some other package is bound to load this very small library anyways, so we might as well benefit from the goodies that it provides too. The remaining two new commits (4,5) I have already submitted earlier in a separate thread. Unfortunately they did not get merged or even just discussed so far, so I am including them here again. Cheers, Jonas Jonas Bernoulli (36): emacs: use setq instead of set emacs: sanitize dedicated widget action/notify functions emacs: define new notmuch-search-item widget type emacs: notmuch-start-notmuch: remove backward compatibility code emacs: notmuch-start-notmuch-error-sentinel: assert buffer is alive emacs: notmuch-start-notmuch-sentinel: assert buffer is alive emacs: notmuch-start-notmuch: avoid storing process buffer twice emacs: avoid passing around some redundant information emacs: avoid killing process buffer when process is still alive emacs: make headings outline-minor-mode compatible emacs: use lexical-bindings in all libraries emacs: deal with unused lexical arguments and variables emacs: notmuch-tag--get-formats: silence byte-compiler emacs: inline notmuch-sexp-eof into only caller emacs: notmuch-wash-region-to-button: remove unused MSG argument emacs: silence compiler wrt notmuch-show-insert-part-text/plain emacs: define notmuch-message-queued-tag-changes as buffer-local emacs: notmuch-message-apply-queued-tag-changes: cosmetics emacs: notmuch-wash.el: require diff-mode at beginning of code emacs: notmuch-mua-prompt-for-sender: don't force Ido on users emacs: notmuch-mua.el: move all options into "Options" section emacs: notmuch-crypto-status-button-type: fix potential bug 1 emacs: various cosmetic improvements emacs: various comment improvements emacs: various doc-string improvements emacs: remove variable notmuch-search-disjunctive-regexp emacs: define a few variables as automatically buffer-local emacs: notmuch-search-stash-thread-id: use notmuch-search-query-string emacs: reorder notmuch.el a bit emacs: avoid unnecessary let-bindings 2 emacs: improve how cl-lib and pcase are required 3 emacs: make subr-x available in all libraries emacs: use string-empty-p emacs: notmuch-tree-get-match: No longer define as command 4 emacs: allow opting out of notmuch's address completion 5 emacs: notmuch-address-expand-name: use the actual initial-input emacs/coolj.el | 14 +- emacs/make-deps.el | 2 +- emacs/notmuch-address.el | 103 +++++++------- emacs/notmuch-company.el | 3 - emacs/notmuch-compat.el | 4 +- emacs/notmuch-crypto.el | 14 +- emacs/notmuch-draft.el | 27 +++- emacs/notmuch-hello.el | 229 +++++++++++++++--------------- emacs/notmuch-jump.el | 18 +-- emacs/notmuch-lib.el | 199 +++++++++++++------------- emacs/notmuch-maildir-fcc.el | 114 +++++++-------- emacs/notmuch-message.el | 25 ++-- emacs/notmuch-mua.el | 124 +++++++++-------- emacs/notmuch-parser.el | 22 ++- emacs/notmuch-print.el | 16 ++- emacs/notmuch-query.el | 21 ++- emacs/notmuch-show.el | 130 ++++++++++------- emacs/notmuch-tag.el | 103 ++++++++------ emacs/notmuch-tree.el | 61 ++++---- emacs/notmuch-wash.el | 54 ++++---- emacs/notmuch.el | 261 ++++++++++++++++++----------------- emacs/rstdoc.el | 2 +- test/test-lib.el | 4 +- 23 files changed, 813 insertions(+), 737 deletions(-) -- 2.29.1