Re: show a single message in a huge thread

Subject: Re: show a single message in a huge thread

Date: Tue, 01 Jun 2021 15:33:35 -0300

To: Alan Schmitt, notmuch

Cc:

From: David Bremner


Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> Hello,
>
> On 2021-05-28 16:16, Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> Thank you for the suggestion. Here is what I did:
>> - run the search
>> - execute notmuch-tree-from-search-current-query
>> - hit RET on a message deep in the thread
>> - I get this error
>>
>> Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
>
> Is this a bug of notmuch-emacs? Is there a way to display a single
> message independently of its context?
>

I'm not sure what the best UI is, but here is a start:

(defun notmuch-show-single-message (query)
  (interactive "sQuery: ")
  (message query)
  (let ((notmuch-show-indent-messages-width 0)
        (notmuch-show-only-matching-messages t))
    (notmuch-show query)))
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: