mu-scm: add support for mailing-list

method + doc + test
This commit is contained in:
Dirk-Jan C. Binnema
2025-06-28 11:54:35 +03:00
parent f66172db3b
commit cc39c9cae6
3 changed files with 24 additions and 1 deletions

View File

@ -630,6 +630,7 @@ Get the list of references (message-ids of related messages) for this message.
This combines the @t{References} and @t{In-Reply-To} fields, from oldest to the
immediate parent. Returns @code{#f} if there are no references.
For example:
@lisp
(references msg)
=> ("439C1136.90504@@euler.org" "4399DD94.5070309@@euler.org"
@ -637,6 +638,18 @@ immediate parent. Returns @code{#f} if there are no references.
439A1E03.3090604@@euler.org" "20051211184308.GB13513@@gauss.org")
@end lisp
@deffn {Scheme Procedure} mailing-list message
@end deffn
Get the mailing-list id for this message (corresponding with the @t{List-Id:}
field), or @code{#f} if there is none.
For example:
@lisp
(mailing-list msg)
=> "gnu-emacs-sources.gnu.org"
@end lisp
@c @deffn {Scheme Procedure} sexp message
@c @end deffn
@c Get the message's s-expression.