Re: Xapian commits unexpectedly slow

2024-05-26 Thread Matthew Schauer
On Sun, May 26, 2024 at 09:12:57AM -0300, David Bremner wrote: > Apologies, it looks like I never replied to this thread. Probably you > are not longer interested, but I can make a few observations, mainly > that there are a few relevant improvements in later notmuch. Wow! What reminded you of

Re: emacs warnings related to notmuch

2024-05-26 Thread David Bremner
Daniel Kahn Gillmor writes: > Hey notmuch folks-- > > when i launch emacs these days i see the following in my *Warnings* > buffer: > > Warning (comp): notmuch-hello.el:719:22: Warning: docstring wider than 80 > characters Disable showing Disable logging > Warning (comp):

[PATCH 1/3] test/corpora: add example with text/calendar attachment

2024-05-26 Thread David Bremner
Initially for testing rendering in Emacs. --- test/corpora/attachment/text-calendar.eml | 55 +++ 1 file changed, 55 insertions(+) create mode 100644 test/corpora/attachment/text-calendar.eml diff --git a/test/corpora/attachment/text-calendar.eml

[PATCH 2/3] test/emacs: add regression test for display of calendar parts.

2024-05-26 Thread David Bremner
This will hopefully catch breakage due to either changes in Emacs (especially Gnus) or changes to the notmuch-show code. --- test/T450-emacs-show.sh | 22 ++ 1 file changed, 22 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index

[PATCH 3/3] WIP/test: add tests for rendering text/calendar parts

2024-05-26 Thread David Bremner
The second test should apparently fail, but it doesn't. --- test/T450-emacs-show.sh | 26 ++ 1 file changed, 26 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 438a7b9b..85851e70 100755 --- a/test/T450-emacs-show.sh +++

notmuch-show-insert-part-text/calendar

2024-05-26 Thread David Bremner
Dear Al; I'm not able to reproduce the problem you mention. Can you try (or look at) the tests in this series and see if the second one matches the problem you are trying to fix? d ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send

Re: notmuch.el question: reading all messages in thread

2024-05-26 Thread David Bremner
Matt Armstrong writes: > Sometimes a notmuch query matches only a subset of messages in a thread. > When this happens only that subset of messages will be "open". Many > notmuch commands operate on the "open" messages only. For example: SPC, > 'n', 'p'. > > Often this is what I want. It works

[PATCH] test/cli: Add known broken test for (missing) quoting in From

2024-05-26 Thread David Bremner
In [1], Jakub Wilk observes that the current behaviour is confusing since it looks like there are two mailboxes in From, while in fact there is only one. It seems to me that notmuch should at least quote the display-name part of a mailbox if it has "funny" characters in it, and perhaps always

Re: Xapian commits unexpectedly slow

2024-05-26 Thread David Bremner
Matthew Schauer writes: > > Nifty! Here are the results -- I assume you know how to interpret them > better than I do: > > T00-new.sh: Testing notmuch new [0.4 large] > Wall(s) Usr(s) Sys(s) Res(K) In/Out(512B) > Initial notmuch new 1163.05

Re: Multiple files per message in emacs

2024-05-26 Thread David Bremner
Rafael Ávila de Espíndola writes: > Rafael Ávila de Espíndola writes: > >>> If you can build from source, there is new support for viewing >>> duplicates in master. >> > > Just tested with 0.37 and it works. One thing that still seems to be > missing is handling different tags. For example,

Re: Meaning of offset in notmuch search --output=files --offset=

2024-05-26 Thread Teemu Likonen
* 2024-05-25 13:20:58+0200, Michael J. Gruber wrote: >> Teemu Likonen writes: >>> --offset=[-]N >>> Skip displaying the first N results. With the leading '-', >>> start at the Nth result from the end. >>> >>> What if we change the first sentence to "Skip displaying