mu4e: get maildirs from server

We were determining the list of maildirs using, but his is rather *slow*.
So instead, get it from the server, through a "data" call.
This commit is contained in:
Dirk-Jan C. Binnema
2023-08-13 09:46:45 +03:00
parent a16d288c70
commit c554e5194a
4 changed files with 23 additions and 44 deletions

View File

@ -226,9 +226,9 @@ the search."
(defun mu4e-search-maildir (maildir &optional edit)
"Search the messages in maildir.
The user is prompted to ask what maildir. If prefix arg EDIT is
given, offer to edit the search query before executing it."
"Search the messages in MAILDIR.
The user is prompted to ask what maildir. If prefix-argument EDIT
is given, offer to edit the search query before executing it."
(interactive
(let ((maildir (mu4e-ask-maildir "Jump to maildir: ")))
(list maildir current-prefix-arg)))