From: David Bremner <david@tethera.net>
To: inwit <inwit@sindominio.net>, notmuch@notmuchmail.org
Cc: Julien Masson <massonju.eseo@gmail.com>
Subject: Re: [PATCH] emacs: Re-apply an old patch to fold/unfold threads in tree-view
Date: Tue, 31 Aug 2021 08:15:52 -0700 [thread overview]
Message-ID: <87y28h4pcn.fsf@tethera.net> (raw)
In-Reply-To: <20210831110111.3148499-1-inwit@sindominio.net>
inwit <inwit@sindominio.net> writes:
Thanks for reviving this. Eventually you'll want to add a proper commit
message and address some of the previous review. But first, I think I
found a bug, see below
> ---
> emacs/notmuch-tree.el | 92 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 92 insertions(+)
>
> diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
> index b48a132d..24b4105b 100644
> --- a/emacs/notmuch-tree.el
> +++ b/emacs/notmuch-tree.el
> @@ -131,6 +131,11 @@ Note that the author string should not contain whitespace
> notmuch-unthreaded-result-format
> notmuch-tree-result-format))
>
> +(defcustom notmuch-tree-overlay-string " [...]"
> + "String displayed at the beginning of the overlay"
> + :type 'string
> + :group 'notmuch-tree)
There seems to be problems introducing this overlay. I either don't see
it, or it is added to the wrong buffer.
To reproduce, go to *scratch*, write
(notmuch-tree "thread:{id:20210831110111.3148499-1-inwit@sindominio.net}")
at the end, of the line, C-x C-e
in the resulting tree-view, type 't' to toggle thread hiding.
For me the tree-view goes away and [...] is applied to the *scratch*
buffer. I suspect this bug was in the original patch.
About the binding, have a look at devel/emacs-key-bindings.org to help
choose a key; a final version of the patch should update that file and
doc/notmuch-emacs.rst
next prev parent reply other threads:[~2021-08-31 15:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 11:01 [PATCH] emacs: Re-apply an old patch to fold/unfold threads in tree-view inwit
2021-08-31 15:15 ` David Bremner [this message]
2021-08-31 19:28 ` inwit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y28h4pcn.fsf@tethera.net \
--to=david@tethera.net \
--cc=inwit@sindominio.net \
--cc=massonju.eseo@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).