mu4e: add basic auto-completion for labels

This commit is contained in:
Dirk-Jan C. Binnema
2025-08-26 19:07:23 +03:00
committed by Seth Ladygo
parent e6371ff705
commit 5e87a9c81e

View File

@ -381,6 +381,7 @@ either `future' or `past'."
"from:"
"lang:"
"maildir:"
"label:"
"list:"
"msgid"
"mime:"
@ -448,7 +449,11 @@ status, STATUS."
((looking-back "list:\\([a-zA-Z0-9/.@]*\\)" nil)
(list (match-beginning 1)
(match-end 1)
mu4e--lists-hash))))
mu4e--lists-hash))
((looking-back "label:\\([a-zA-Z0-9/.@]*\\)" nil)
(list (match-beginning 1)
(match-end 1)
mu4e-labels-list))))
;;; Interactive functions
(defun mu4e-search-change-sorting (&optional field dir)