summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS12
-rw-r--r--doc/texinfo/programs/mail.texi14
-rw-r--r--mail/mailline.c2
-rw-r--r--mail/msgset.y8
4 files changed, 24 insertions, 12 deletions
diff --git a/NEWS b/NEWS
index 50eadb89a..f23851e62 100644
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,2 @@
1GNU mailutils NEWS -- history of user-visible changes. 2019-09-03 1GNU mailutils NEWS -- history of user-visible changes. 2019-09-11
2Copyright (C) 2002-2019 Free Software Foundation, Inc. 2Copyright (C) 2002-2019 Free Software Foundation, Inc.
@@ -29,3 +29,11 @@ The --test option takes optional argument: name of the tty or file to
29use for reporting. 29use for reporting.
30 30
31* mail
32
33** fix the semantics of 'hold' and 'keepsave' variables
34
35** New message type specification ":s"
36
37Selects messages in state 'saved'.
38
31 39
diff --git a/doc/texinfo/programs/mail.texi b/doc/texinfo/programs/mail.texi
index b4c68a100..accd89148 100644
--- a/doc/texinfo/programs/mail.texi
+++ b/doc/texinfo/programs/mail.texi
@@ -434,14 +434,16 @@ All messages of type @var{t}, where @var{t} can be any of:
434Deleted messages. 434Deleted messages.
435@item :n 435@item n
436New messages. 436New messages.
437@item :o 437@item o
438Old messages (any message not in state @samp{read} or @samp{new}). 438Old messages (any message not in state @samp{read} or @samp{new}).
439@item :r 439@item r
440Messages in state @samp{read}. 440Messages in state @samp{read}.
441@item :u 441@item u
442Messages in state @samp{unread}. 442Messages in state @samp{unread}.
443@item :t 443@item t
444Selects all tagged messages. 444Selects all tagged messages.
445@item :T 445@item T
446Selects all untagged messages. 446Selects all untagged messages.
447@item s
448Selects all messages in state @samp{saved}.
447@end table 449@end table
diff --git a/mail/mailline.c b/mail/mailline.c
index 647cb1e17..d6cef37df 100644
--- a/mail/mailline.c
+++ b/mail/mailline.c
@@ -692,3 +692,3 @@ msgtype_generator (const char *text, int state)
692 meaning body lookup */ 692 meaning body lookup */
693 static char types[] = "dnorTtu/"; 693 static char types[] = "dnorsTtu/";
694 static int i; 694 static int i;
diff --git a/mail/msgset.y b/mail/msgset.y
index 8011dc779..6f31325dd 100644
--- a/mail/msgset.y
+++ b/mail/msgset.y
@@ -168,3 +168,3 @@ msg : header REGEXP /* /.../ */
168 { 168 {
169 if (strchr ("dnorTtu", $1) == NULL) 169 if (strchr ("dnorsTtu", $1) == NULL)
170 { 170 {
@@ -748,4 +748,4 @@ select_type (mu_message_t msg, void *closure)
748 return mu_attribute_is_read (attr); 748 return mu_attribute_is_read (attr);
749 case 'u': 749 case 's':
750 return !mu_attribute_is_read (attr); 750 return mu_attribute_is_userflag (attr, MAIL_ATTRIBUTE_SAVED);
751 case 't': 751 case 't':
@@ -754,2 +754,4 @@ select_type (mu_message_t msg, void *closure)
754 return !mu_attribute_is_userflag (attr, MAIL_ATTRIBUTE_TAGGED); 754 return !mu_attribute_is_userflag (attr, MAIL_ATTRIBUTE_TAGGED);
755 case 'u':
756 return !mu_attribute_is_read (attr);
755 } 757 }

Return to:

Send suggestions and report system problems to the System administrator.