Re: show a single message in a huge thread

2021-06-12 Thread Tomi Ollila
On Fri, Jun 11 2021, Jonathan Wilner wrote: > I definitely also have this problem with large threads - big time hangs > using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, > not using Notmuch at the command line, though that can also take quite a > long time to return. > >

Re: show a single message in a huge thread

2021-06-11 Thread Jonathan Wilner
I definitely also have this problem with large threads - big time hangs using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, not using Notmuch at the command line, though that can also take quite a long time to return. I'm suspicious that there's something with HTML parsing

Re: show a single message in a huge thread

2021-06-03 Thread Alan Schmitt
Hello, On 2021-06-02 09:18, David Bremner writes: > The code I posted worked fine for me for one message from a thread of > 323 messages. The thread that used to crash (before your patch) was from DeltaChat, which is an email-based chat app. The thread it produces are like lists more than

Re: show a single message in a huge thread

2021-06-02 Thread Tomi Ollila
On Wed, Jun 02 2021, David Bremner wrote: > David Bremner writes: > >> Alan Schmitt writes: >> >>> Hello, >>> >>> On 2021-06-01 15:33, David Bremner writes: >>> > Is this a bug of notmuch-emacs? Is there a way to display a single > message independently of its context? >

Re: show a single message in a huge thread

2021-06-02 Thread David Bremner
David Bremner writes: > Alan Schmitt writes: > >> Hello, >> >> On 2021-06-01 15:33, David Bremner writes: >> 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:

Re: show a single message in a huge thread

2021-06-02 Thread David Bremner
Alan Schmitt writes: > Hello, > > On 2021-06-01 15:33, David Bremner writes: > >>> 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

Re: show a single message in a huge thread

2021-06-02 Thread Alan Schmitt
Hello, On 2021-06-01 15:33, David Bremner writes: >> 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:

Re: show a single message in a huge thread

2021-06-01 Thread Jameson Graef Rollins
On Tue, Jun 01 2021, David Bremner wrote: > Alan Schmitt writes: > >> Hello, >> >> On 2021-05-28 16:16, Alan Schmitt 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

Re: show a single message in a huge thread

2021-06-01 Thread David Bremner
Alan Schmitt writes: > Hello, > > On 2021-05-28 16:16, Alan Schmitt 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

Re: show a single message in a huge thread

2021-06-01 Thread Alan Schmitt
Hello, On 2021-05-28 16:16, Alan Schmitt 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

Re: show a single message in a huge thread

2021-05-28 Thread Jameson Graef Rollins
On Fri, May 28 2021, alan.schm...@polytechnique.org wrote: > Hello, > > I want to see a message in a huge thread (too big for notmuch to > display). To find it, I switch to unthreaded mode, I select the message > (I hit RET), but then notmuch tries to show all the other messages as > well (which

Re: show a single message in a huge thread

2021-05-28 Thread Alan Schmitt
Hello, On 2021-05-28 09:37, David Bremner writes: > Did you try M-x notuch-tree ? > > It displays messages one at a time. > > Starting from notmuch-search-mode, you could > > - use Z to switch to tree mode, then select the message you > want. > > - If that is too tedious, use 'z' to search