From 3a2fc9b7f65c142d197d77bc455fffae0b4a8930 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 22 Jan 2010 19:16:47 +0200 Subject: [PATCH] * mu-msg-fields.c, mu.1: index the msg-id as well and document it --- man/mu.1 | 22 +++++++++++++--------- src/mu-msg-fields.c | 4 ++-- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/man/mu.1 b/man/mu.1 index 14654268..371f2753 100644 --- a/man/mu.1 +++ b/man/mu.1 @@ -198,10 +198,11 @@ search fields and their abbreviations: .nf cc,c CC (Carbon-Copy) recipient - from,f message sender - path,p full path to the message - subject,s message subject + from,f Message sender + path,p Full path to the message + subject,s Message subject to,t To: recipient + msgid,m Message-ID .fi @@ -229,13 +230,15 @@ The table of replacement characters is superset of the list mentions for search parameters: .nf + t To: recipient c CC (Carbon-Copy) recipient - d the sent-date of the message - f message sender (From:) - F message flags - p full path to the message - P message priority (high, normal, low) - s message subject + d Sent date of the message + f Message sender (From:) + F Message flags + p Full path to the message + P Message priority (high, normal, low) + s Message subject + m Message ID t To: recipient .fi @@ -267,6 +270,7 @@ following fields are supported: cc,c CC (Carbon-Copy) recipient date,d message sent date from,f message sender + msgid,m message id path,p full path to the message prio,P message priority subject,s message subject diff --git a/src/mu-msg-fields.c b/src/mu-msg-fields.c index e5f4081a..f2da4b9b 100644 --- a/src/mu-msg-fields.c +++ b/src/mu-msg-fields.c @@ -122,8 +122,8 @@ static const MuMsgField FIELD_DATA[] = { { MU_MSG_FIELD_ID_MSGID, MU_MSG_FIELD_TYPE_STRING, - "msgid", "m", NULL, - FLAG_GMIME + "msgid", "m", "M", + FLAG_GMIME | FLAG_XAPIAN }, {