From 3534a9fee98a6f758f7f82d4b865a881e2310b83 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 21 Oct 2025 09:28:57 +0300 Subject: [PATCH] mu4e.texi: update doc for mu4e-view-mime-parts mu4e-view-for-each-part is long gone. Fixes #2877. --- mu4e/mu4e-mime-parts.el | 2 +- mu4e/mu4e.texi | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/mu4e/mu4e-mime-parts.el b/mu4e/mu4e-mime-parts.el index c8b604aa..058c53b0 100644 --- a/mu4e/mu4e-mime-parts.el +++ b/mu4e/mu4e-mime-parts.el @@ -140,7 +140,7 @@ There are some internal fields as well, e.g. ; subject to change: (seq-sort (lambda (p1 p2) (< (plist-get p1 :part-index) (plist-get p2 :part-index))) parts))))) -;; https://emacs.stackexchange.com/questions/74547/completing-read-search-also-in-annotationsxc +;; https://emacs.stackexchange.com/questions/74547/completing-read-search-also-in-annotations (defun mu4e--uniquify-file-name (fname) "Return a not-yet-existing filename based on FNAME. diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi index a339888d..169ccfaf 100644 --- a/mu4e/mu4e.texi +++ b/mu4e/mu4e.texi @@ -3277,13 +3277,12 @@ see @ref{Custom mark functions} @end itemize @noindent -You can also write your own functions without using the above. If you -want to do so, key useful functions are @code{mu4e-message-at-point} -(see below), @code{mu4e-headers-for-each} (to iterate over all -headers, see its docstring) and @code{mu4e-view-for-each-part} (to -iterate over all parts/attachments, see its docstring). There is also -@code{mu4e-view-for-each-uri} to iterate of all the URIs in the -current message. +You can also write your own functions without using the above. If you want to do +so, key useful functions are @code{mu4e-message-at-point} (see below), +@code{mu4e-headers-for-each} (to iterate over all headers, see its docstring) +and @code{mu4e-view-mime-parts} (a list of all parts/attachments, see its +docstring). There is also @code{mu4e-view-for-each-uri} to iterate of all the +URIs in the current message. Another useful function is @code{mu4e-headers-find-if} which searches for a message matching a