mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-27 11:51:42 +01:00
971cdc72cd
We largely use the corpus under test/corpus for testing. Unfortunately, many of our tests have grown to depend on having exactly this set of messages, making it hard to add new message files for testing specific cases. We do use a lot of add_message from within the tests, but it's not possible to use that for adding broken messages, and adding several messages at once can get unwieldy. Move the basic corpus under tests/corpora/default, and make it possible to add new, independent corpora along its side. This means tons of renames with a few tweaks to add_email_corpus function in test-lib.sh to let tests specify which corpus to use.
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
From: "Carl Worth" <cworth@cworth.org>
|
|
To: notmuch@notmuchmail.org
|
|
Date: Wed, 18 Nov 2009 02:19:26 -0800
|
|
Subject: [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands
|
|
remove inbox (and unread) tags
|
|
In-Reply-To: <1258493565-13508-1-git-send-email-keithp@keithp.com>
|
|
References: <1258493565-13508-1-git-send-email-keithp@keithp.com>
|
|
Message-ID: <87k4xoqgnl.fsf@yoom.home.cworth.org>
|
|
|
|
On Tue, 17 Nov 2009 13:32:45 -0800, Keith Packard <keithp at keithp.com> wrote:
|
|
> When closing a thread view, mark the thread as archived by removing
|
|
> the "inbox" tag, and for the 'x' variant, the "unread" tag as well,
|
|
> then kill the buffer and update the search window view as well.
|
|
>
|
|
> This makes 'x' much the same as 'a', but instead of taking you to the
|
|
> next message, it takes you back to the search window instead.
|
|
|
|
I don't like this---but that's because I use 'x' precisely *because* it
|
|
preserves these tags.
|
|
|
|
Otherwise, you might as well just remove inbox and unread as soon as the
|
|
message is presented to the user. And that's a bug in a lot of other
|
|
email programs that I'm unwilling to replicate.
|
|
|
|
We may run into a need to define different ways that people like to work
|
|
with their email here. (I know that so far I've just been coding up the
|
|
way I want my mail to work.)
|
|
|
|
-Carl
|
|
|