* guile: add mu:timestamp accessor to <mu:message>, implement it
This commit is contained in:
@ -300,7 +300,7 @@ messages if the search expression is omitted).
|
||||
@verbatim
|
||||
scheme@(guile-user)> (mu:for-each-message
|
||||
(lambda(msg)
|
||||
(display (subject msg))
|
||||
(display (mu:subject msg))
|
||||
(newline))
|
||||
"subject:coffee")
|
||||
Re: best coffee ever!
|
||||
@ -346,7 +346,10 @@ refers to in(mu: the @t{References:} header
|
||||
@item @code{(mu:size msg)}: size of the message in bytes
|
||||
@item @code{(mu:subject msg)}: the @t{Subject} field of the message, or @t{#f} if there is none.
|
||||
@item @code{(mu:tags msg)}: list of tags for this message
|
||||
@item @code{(mu:to msg)}: the sender of the message, or @t{#f} if there is none.
|
||||
@item @code{(mu:timestamp msg)}: the timestamp (mtime) of the message file, or
|
||||
#f if there is none.
|
||||
message file
|
||||
@item @code{(mu:to msg)}: the sender of the message, or @t{#f} if there is none
|
||||
@end itemize
|
||||
|
||||
With these methods, we can query messages for their properties; for example:
|
||||
|
||||
Reference in New Issue
Block a user