then runs notmuch search and notmuch show
. The former shows the subject of the first message, and the latter
the subject of the second message.
Best wishes
Mark
#!/usr/bin/env bash
test_description='Do duplicate message ids get shown in arrival order'
. ./test-lib.sh || exit 1
find
2 [date]="Fri, 05 Jan
2001 15:43:52 +"'
cat < EXPECTED
[
[
diff --git a/test/T670-duplicate-mid.sh b/test/T670-duplicate-mid.sh
index ced28a21..137cb6a5 100755
--- a/test/T670-duplicate-mid.sh
+++ b/test/T670-duplicate-mid.sh
@@ -5,8 +5,14 @@ test_description="duplica
-duplicate-mid.sh
@@ -5,6 +5,13 @@ test_description="duplicate message ids"
add_message '[id]="duplicate"' '[subject]="message 1" [filename]=copy1'
add_message '[id]="duplicate"' '[subject]="message 2" [filename]=copy2'
+test_begin_subtest 'Fi
ect "Re: [patch v3 06/12] lib: do *not* index message
>> files with duplicate message-ids". that's a bit odd, no?
>
> Yes, I agree that's a bit strange. We should make some effort to
> display the subject that belongs with a given message body. I think it's
> not too hard [1]
da...@tethera.net and
> give it a subject "Re: [patch v3 06/12] lib: do *not* index message
> files with duplicate message-ids". that's a bit odd, no?
Yes, I agree that's a bit strange. We should make some effort to
display the subject that belongs with a given message body. I think i
current message with another
message with Message-Id: 20170604123235.24466-7-da...@tethera.net and
give it a subject "Re: [patch v3 06/12] lib: do *not* index message
files with duplicate message-ids". that's a bit odd, no?
I'm not saying it's wrong, i'm just hoping to acknowledge that this
might
The corresponding xapian document just gets more terms added to it,
but this doesn't seem to break anything. Values on the other hand get
overwritten, which is a bit annoying, but arguably it is not worse to
take the values (from, subject, date) from the last file indexed
rather than the first.
The corresponding xapian document just gets more terms added to it,
but this doesn't seem to break anything. Values on the other hand get
overwritten, which is a bit annoying, but arguably it is not worse to
take the values (from, subject, date) from the last file indexed
rather than the first.
The corresponding xapian document just gets more terms added to it,
but this doesn't seem to break anything. Values on the other hand get
overwritten, which is a bit annoying, but arguably it is not worse to
take the values (from, subject, date) from the last file indexed
rather than the first.
The corresponding xapian document just gets more terms added to it,
but this doesn't seem to break anything. Values on the other hand get
overwritten, which is a bit annoying, but arguably it is not worse to
take the values (from, subject, date) from the last file indexed
rather than the first.
@@
test_description="duplicate message ids"
. ./test-lib.sh || exit 1
-add_message '[id]="id:duplicate"' '[subject]="message 1"'
-add_message '[id]="id:duplicate"' '[subject]="message 2"'
+add_message '[id]="duplicate"' '[subject]="
@@
test_description="duplicate message ids"
. ./test-lib.sh || exit 1
-add_message '[id]="id:duplicate"' '[subject]="message 1"'
-add_message '[id]="id:duplicate"' '[subject]="message 2"'
+add_message '[id]="duplicate"' '[subject]="
On Thu, 16 Mar 2017, David Bremner wrote:
> Daniel Kahn Gillmor writes:
>
>> On Wed 2017-03-15 21:57:28 -0400, David Bremner wrote:
>>> The corresponding xapian document just gets more terms added to it,
>>> but this doesn't seem to break anything.
>>
Daniel Kahn Gillmor writes:
> On Thu 2017-03-16 20:34:22 -0400, David Bremner wrote:
>> Daniel Kahn Gillmor writes:
>>> 0) what happens when one of the files gets deleted from the message
>>> store? do the terms it contributes get removed
On Thu 2017-03-16 20:34:22 -0400, David Bremner wrote:
> Daniel Kahn Gillmor writes:
>> 0) what happens when one of the files gets deleted from the message
>> store? do the terms it contributes get removed from the index?
>
> That's a good guestion, and an issue I
Hi
Just a comment on your last point:
> It also occurs to me that one of the things i'd love to have is
> well-indexed notes about any given e-mail. So if this was adopted, i
> could presumably just write a file that has the same Message-Id as the
> message, put my notes in it, and index it.
Daniel Kahn Gillmor writes:
> On Wed 2017-03-15 21:57:28 -0400, David Bremner wrote:
>> The corresponding xapian document just gets more terms added to it,
>> but this doesn't seem to break anything.
>
> this is an interesting suggestion. thanks for proposing it!
>
> A
On Wed 2017-03-15 21:57:28 -0400, David Bremner wrote:
> The corresponding xapian document just gets more terms added to it,
> but this doesn't seem to break anything.
this is an interesting suggestion. thanks for proposing it!
A couple questions:
0) what happens when one of the files gets
The corresponding xapian document just gets more terms added to it,
but this doesn't seem to break anything.
---
lib/database.cc| 3 +++
test/T670-duplicate-mid.sh | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/database.cc b/lib/database.cc
index
19 matches
Mail list logo