diff --git a/mu4e/mu4e-main.el b/mu4e/mu4e-main.el index 5c695944..fb117c9a 100644 --- a/mu4e/mu4e-main.el +++ b/mu4e/mu4e-main.el @@ -146,7 +146,7 @@ clicked." (count (plist-get (car qcounts) :count))) (format "%s (%s/%s)" - (make-string (- longest (length name)) ? ) + (make-string (- longest (string-width name)) ? ) (propertize (number-to-string unread) 'face 'mu4e-header-key-face) count)) @@ -183,7 +183,7 @@ clicked." (count (plist-get (car qcounts) :count))) (format "%s (%s/%s)" - (make-string (- longest (length name)) ? ) + (make-string (- longest (string-width name)) ? ) (propertize (number-to-string unread) 'face 'mu4e-header-key-face) count)) diff --git a/mu4e/mu4e-utils.el b/mu4e/mu4e-utils.el index 882b7f90..373fd0ff 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -866,7 +866,7 @@ This is meant to be the exact same data structure as "Return the length of longest name of bookmarks and maildirs." (cl-loop for b in (append (mu4e-bookmarks) (mu4e~maildirs-with-query)) - maximize (length (plist-get b :name)))) + maximize (string-width (plist-get b :name)))) ;;; Indexing & Updating