mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
Update prefix so that "thread:" can be used in search strings.
It's convenient to be able to do things like: notmuch tag -inbox thread:<thread-id> (even though this can run into a race condition as noted in TODO--the fix for the race is simply to not run "notmuch new" between reading a thread with the (not yet existent) "notmuch show" and removing its inbox tag with a command like the above). So we now allow such a thing.
This commit is contained in:
parent
326f73374e
commit
5eaec1e316
1 changed files with 1 additions and 1 deletions
|
@ -104,12 +104,12 @@ typedef struct {
|
||||||
|
|
||||||
prefix_t BOOLEAN_PREFIX_INTERNAL[] = {
|
prefix_t BOOLEAN_PREFIX_INTERNAL[] = {
|
||||||
{ "type", "T" },
|
{ "type", "T" },
|
||||||
{ "thread", "G" },
|
|
||||||
{ "ref", "XREFERENCE" },
|
{ "ref", "XREFERENCE" },
|
||||||
{ "timestamp", "XTIMESTAMP" },
|
{ "timestamp", "XTIMESTAMP" },
|
||||||
};
|
};
|
||||||
|
|
||||||
prefix_t BOOLEAN_PREFIX_EXTERNAL[] = {
|
prefix_t BOOLEAN_PREFIX_EXTERNAL[] = {
|
||||||
|
{ "thread", "G" },
|
||||||
{ "tag", "K" },
|
{ "tag", "K" },
|
||||||
{ "id", "Q" }
|
{ "id", "Q" }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue