* guile: add mu:timestamp accessor to <mu:message>, implement it

This commit is contained in:
djcb
2012-07-10 23:36:21 +03:00
parent 7721df4b28
commit b09b9ceaac
5 changed files with 47 additions and 5 deletions

View File

@ -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: