C.5 Known issues

Although they are not really questions, we end this chapter with a list of known issues and/or missing features in mu4e. Thus, users won’t have to search in vain for things that are not there (yet), and the author can use it as a todo-list.

C.5.1 Headers-buffer can get mis-aligned

Due to the way the headers buffer works, it can get misaligned.

For the particular case where the header values are misaligned with the column headings, you can try something like the following:

(add-hook 'mu4e-headers-mode-hook #'my-mu4e-headers-mode-hook)
(defun my-mu4e-headers-mode-hook ()
  ;; Account for the fringe and other spacing in the header line.
  (header-line-indent-mode 1)
  (push (propertize " " 'display '(space :align-to header-line-indent-width))
        header-line-format)
  ;; Ensure `text-scale-adjust' scales the header line with the headers themselves
  ;; by ensuring the `default' face is in the inheritance hierarchy.
  (face-remap-add-relative 'header-line '(:inherit (mu4e-header-face default)))
  ;; In Emacs 31+, use these two lines instead:
  ;; (face-remap-add-relative 'header-line-active '(:inherit (mu4e-header-face default)))
  ;; (face-remap-add-relative 'header-line-inactive '(:inherit (mu4e-header-face default)))
  )

This does not solve all possible issues; that would require a thorough rework of the headers-view, which may happen at some time.