* mu-msg-fields,mu.1: update some field codes, documentation

This commit is contained in:
Dirk-Jan C. Binnema 2010-02-09 22:10:58 +02:00
parent a4471e6bdd
commit 5414c396af
2 changed files with 18 additions and 19 deletions

View File

@ -302,17 +302,16 @@ The table of replacement characters is superset of the list mentions for
search parameters: search parameters:
.nf .nf
t To: recipient t \fBt\fRo: recipient
c CC (Carbon-Copy) recipient c \fBcfRc: (Carbon-Copy) recipient
d Sent date of the message d Sent \fBd\fRate of the message
f Message sender (From:) f Message sender (\fBf\fRrom:)
F Message flags g Message flags (fla\fBg\fRs)
p Full path to the message l Full path to the message (\fBl\fRocation)
P Message priority (high, normal, low) p Message \fBp\fRriority (high, normal, low)
s Message subject s Message \fBs\fRubject
i Message ID i Message-\fBi\fRd
m Maildir m \fBm\fRaildir
t To: recipient
.fi .fi
The message-flags output is a string, consisting of zero or more of the The message-flags output is a string, consisting of zero or more of the
@ -345,7 +344,7 @@ following fields are supported:
from,f message sender from,f message sender
maildir,m maildir maildir,m maildir
msgid,i message id msgid,i message id
prio,P message priority prio,p message priority
subject,s message subject subject,s message subject
to,t To:-recipient to,t To:-recipient
.fi .fi

View File

@ -73,7 +73,7 @@ static const MuMsgField FIELD_DATA[] = {
{ {
MU_MSG_FIELD_ID_FLAGS, MU_MSG_FIELD_ID_FLAGS,
MU_MSG_FIELD_TYPE_INT, MU_MSG_FIELD_TYPE_INT,
"flags", "F", "G", "flags", "g", "G", /* flaGs */
FLAG_GMIME | FLAG_XAPIAN_VALUE FLAG_GMIME | FLAG_XAPIAN_VALUE
}, },
@ -87,8 +87,8 @@ static const MuMsgField FIELD_DATA[] = {
{ {
MU_MSG_FIELD_ID_PATH, MU_MSG_FIELD_ID_PATH,
MU_MSG_FIELD_TYPE_STRING, MU_MSG_FIELD_TYPE_STRING,
"path", "p", "P", "path", "l", "L", /* 'l' for location */
FLAG_GMIME | FLAG_XAPIAN_VALUE FLAG_GMIME | FLAG_XAPIAN_VALUE
}, },
{ {
@ -101,14 +101,14 @@ static const MuMsgField FIELD_DATA[] = {
{ {
MU_MSG_FIELD_ID_PRIORITY, MU_MSG_FIELD_ID_PRIORITY,
MU_MSG_FIELD_TYPE_INT, MU_MSG_FIELD_TYPE_INT,
"prio", "P", "I", "prio", "p", "P",
FLAG_GMIME | FLAG_XAPIAN_VALUE FLAG_GMIME | FLAG_XAPIAN_VALUE
}, },
{ {
MU_MSG_FIELD_ID_SIZE, MU_MSG_FIELD_ID_SIZE,
MU_MSG_FIELD_TYPE_BYTESIZE, MU_MSG_FIELD_TYPE_BYTESIZE,
"size", "z", "Z", "size", "z", "Z", /* siZe */
FLAG_GMIME FLAG_GMIME
}, },
@ -129,14 +129,14 @@ static const MuMsgField FIELD_DATA[] = {
{ {
MU_MSG_FIELD_ID_MSGID, MU_MSG_FIELD_ID_MSGID,
MU_MSG_FIELD_TYPE_STRING, MU_MSG_FIELD_TYPE_STRING,
"msgid", "i", "I", "msgid", "i", "I", /* 'i' for Id */
FLAG_GMIME | FLAG_XAPIAN_TERM FLAG_GMIME | FLAG_XAPIAN_TERM
}, },
{ {
MU_MSG_FIELD_ID_TIMESTAMP, MU_MSG_FIELD_ID_TIMESTAMP,
MU_MSG_FIELD_TYPE_TIME_T, MU_MSG_FIELD_TYPE_TIME_T,
"timestamp", "i", NULL, "timestamp", "x", NULL,
FLAG_GMIME FLAG_GMIME
} }
}; };