mu4e: implement experimental transient menu

Add a first version of a "transient" menu for mu4e. It's just a starting
point. It's not yet bound to any key, but you could e.g. add

(require 'mu4e-transient)
(global-set-key (kbd "C-c m") #'mu4e-transient-menu)
This commit is contained in:
Dirk-Jan C. Binnema
2025-01-15 23:02:47 +02:00
parent 29816d5952
commit a93a41f8ee
3 changed files with 89 additions and 1 deletions

View File

@ -72,6 +72,13 @@ mu4e_srcs=[
'mu4e-window.el'
]
# emacs 28 is guaranteed to have transient
# not very elegant, but
# https://stackoverflow.com/questions/49221792/byte-compile-file-only-when-library-is-found
if emacs28.found()
mu4e_srcs += 'mu4e-transient.el'
endif
# note, we cannot compile mu4e-config.el without incurring
# WARNING: Source item
# '[...]/build/mu4e/mu4e-meta.el' cannot be converted to File object, because