Tassilo Horn <
ts...@gnu.org> writes:
>
>> 2. Can I always show a header for each message like X-GND-Status?
>
> The docs suggest you can, see (info "(mu4e) MSGV Custom headers").
Thanks, I managed to get this done with:
(defun get-gandi-status (msg)
"Get X-GND-Status for msg."
(my-mu4e-any-message-field msg "X-GND-Status"))
(add-to-list 'mu4e-header-info-custom
'(:gandistatus .
( :name "Gandi Status"
:shortname "GndStatus"
:help "Gandi Status Header"
:function (lambda (msg)
(or (get-gandi-status msg) "")))))
(add-to-list 'mu4e-view-fields :gandistatus t)
One thing I didn't manage though is to create a bookmark for this
header. So, create a bookmark when X-GND-Status is LEGIT for
example. The reason I can't create the bookmark is because there's no
way to search for this specific header as far as I understand. Is there
a hook I can use to teach mu4e about new headers to search for besides
from:, list:, etc? Or maybe a way to do a full headers search?
Thanks,
--
Paulo Matos