unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Multiple files per message in emacs
@ 2022-06-03 17:20 Rafael Ávila de Espíndola
  2022-06-03 20:43 ` David Bremner
  2022-07-30 13:33 ` David Bremner
  0 siblings, 2 replies; 6+ messages in thread
From: Rafael Ávila de Espíndola @ 2022-06-03 17:20 UTC (permalink / raw)
  To: notmuch

Hi,

I got a few emails which all have the same Message-ID:

$ notmuch search subject:'"MB WAY"'
thread:0000000000089926 34 mins. ago [1/1(3)] MB WAY....

$ notmuch search --output=files subject:'"MB WAY"' | xargs grep -i Message-ID
.../Inbox/cur/1654275120.5360_1.dell,U=16229:2,S:Message-ID: MB Way
.../Inbox/cur/1654275303.6122_1.dell,U=16230:2,S:Message-ID: MB Way
.../Inbox/cur/1654275508.11919_1.dell,U=16231:2,S:Message-ID: MB Way

In emacs I only see the content of the first file, and there is no
indication that others are present. I am using notmuch 0.36. Is that a
known limitation?

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple files per message in emacs
  2022-06-03 17:20 Multiple files per message in emacs Rafael Ávila de Espíndola
@ 2022-06-03 20:43 ` David Bremner
  2022-07-30 13:33 ` David Bremner
  1 sibling, 0 replies; 6+ messages in thread
From: David Bremner @ 2022-06-03 20:43 UTC (permalink / raw)
  To: Rafael Ávila de Espíndola, notmuch

Rafael Ávila de Espíndola <rafael@espindo.la> writes:

> Hi,
>
> I got a few emails which all have the same Message-ID:
>
> $ notmuch search subject:'"MB WAY"'
> thread:0000000000089926 34 mins. ago [1/1(3)] MB WAY....
>
> $ notmuch search --output=files subject:'"MB WAY"' | xargs grep -i Message-ID
> .../Inbox/cur/1654275120.5360_1.dell,U=16229:2,S:Message-ID: MB Way
> .../Inbox/cur/1654275303.6122_1.dell,U=16230:2,S:Message-ID: MB Way
> .../Inbox/cur/1654275508.11919_1.dell,U=16231:2,S:Message-ID: MB Way
>
> In emacs I only see the content of the first file, and there is no
> indication that others are present. I am using notmuch 0.36. Is that a
> known limitation?

It is a known limitation of the emacs UI. It should not be too hard to
add the total number of files to notmuch-search-mode (similar to the
default out put of notmuch search above.  Selecting between versions of
a message would probably require a substantial rewrite of
notmuch-show-mode. Such a rewrite might be desirable anyway, to fix the
slow rendering of large threads. It is probably easier to add the
viewing of alternate versions to notmuch-tree-mode, but I'm still not
sure what the UI should be like.\r

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple files per message in emacs
  2022-06-03 17:20 Multiple files per message in emacs Rafael Ávila de Espíndola
  2022-06-03 20:43 ` David Bremner
@ 2022-07-30 13:33 ` David Bremner
  2022-07-31 10:49   ` Rafael Ávila de Espíndola
  1 sibling, 1 reply; 6+ messages in thread
From: David Bremner @ 2022-07-30 13:33 UTC (permalink / raw)
  To: Rafael Ávila de Espíndola, notmuch

Rafael Ávila de Espíndola <rafael@espindo.la> writes:

> Hi,
>
> I got a few emails which all have the same Message-ID:
>
> $ notmuch search subject:'"MB WAY"'
> thread:0000000000089926 34 mins. ago [1/1(3)] MB WAY....
>
> $ notmuch search --output=files subject:'"MB WAY"' | xargs grep -i Message-ID
> .../Inbox/cur/1654275120.5360_1.dell,U=16229:2,S:Message-ID: MB Way
> .../Inbox/cur/1654275303.6122_1.dell,U=16230:2,S:Message-ID: MB Way
> .../Inbox/cur/1654275508.11919_1.dell,U=16231:2,S:Message-ID: MB Way
>
> In emacs I only see the content of the first file, and there is no
> indication that others are present. I am using notmuch 0.36. Is that a
> known limitation?
>

If you can build from source, there is new support for viewing
duplicates in master.

d\r

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple files per message in emacs
  2022-07-30 13:33 ` David Bremner
@ 2022-07-31 10:49   ` Rafael Ávila de Espíndola
  2022-09-06 22:24     ` Rafael Ávila de Espíndola
  0 siblings, 1 reply; 6+ messages in thread
From: Rafael Ávila de Espíndola @ 2022-07-31 10:49 UTC (permalink / raw)
  To: David Bremner, notmuch

David Bremner <david@tethera.net> writes:

> Rafael Ávila de Espíndola <rafael@espindo.la> writes:
>
>> Hi,
>>
>> I got a few emails which all have the same Message-ID:
>>
>> $ notmuch search subject:'"MB WAY"'
>> thread:0000000000089926 34 mins. ago [1/1(3)] MB WAY....
>>
>> $ notmuch search --output=files subject:'"MB WAY"' | xargs grep -i Message-ID
>> .../Inbox/cur/1654275120.5360_1.dell,U=16229:2,S:Message-ID: MB Way
>> .../Inbox/cur/1654275303.6122_1.dell,U=16230:2,S:Message-ID: MB Way
>> .../Inbox/cur/1654275508.11919_1.dell,U=16231:2,S:Message-ID: MB Way
>>
>> In emacs I only see the content of the first file, and there is no
>> indication that others are present. I am using notmuch 0.36. Is that a
>> known limitation?
>>
>
> If you can build from source, there is new support for viewing
> duplicates in master.

Thanks!

Cheers,
Rafael\r

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple files per message in emacs
  2022-07-31 10:49   ` Rafael Ávila de Espíndola
@ 2022-09-06 22:24     ` Rafael Ávila de Espíndola
  2024-05-26 11:43       ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Rafael Ávila de Espíndola @ 2022-09-06 22:24 UTC (permalink / raw)
  To: David Bremner, notmuch

Rafael Ávila de Espíndola <rafael@espindo.la> 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, there is no way to mark
a new duplicated message as read.

Thanks,
Rafael\r

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple files per message in emacs
  2022-09-06 22:24     ` Rafael Ávila de Espíndola
@ 2024-05-26 11:43       ` David Bremner
  0 siblings, 0 replies; 6+ messages in thread
From: David Bremner @ 2024-05-26 11:43 UTC (permalink / raw)
  To: Rafael Ávila de Espíndola, notmuch

Rafael Ávila de Espíndola <rafael@espindo.la> writes:

> Rafael Ávila de Espíndola <rafael@espindo.la> 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, there is no way to mark
> a new duplicated message as read.

Catching up on old messages in the mailing list, I'm not sure I
understand the desired behaviour. In principle if you get a second copy
of the same message, it should inherit the read/unread status of the
other copies (since tags are associated with message-ids). There are
some known limitations/bugs with that, but they are not emacs related
afaik.\r

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-26 11:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03 17:20 Multiple files per message in emacs Rafael Ávila de Espíndola
2022-06-03 20:43 ` David Bremner
2022-07-30 13:33 ` David Bremner
2022-07-31 10:49   ` Rafael Ávila de Espíndola
2022-09-06 22:24     ` Rafael Ávila de Espíndola
2024-05-26 11:43       ` David Bremner

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).