rougier / mu4e-thread-folding

Functions for folding threads in mu4e headers view
GNU General Public License v3.0
136 stars 12 forks source link

Alignment is off for some reason? #30

Closed apc closed 11 months ago

apc commented 11 months ago

When I enable mu4e-thread-folding-mode, the buffer alignment goes out of whack:

image image

Here's my config:

(use-package mu4e-thread-folding
  :after mu4e
  :straight (:type git :host github :repo "rougier/mu4e-thread-folding")
  :init
  (add-to-list 'mu4e-header-info-custom
               '(:empty . (:name "Empty"
                           :shortname ""
                           :function (lambda (msg) "  "))))
  :custom
  (mu4e-headers-fields '((:empty         .    2)
                         (:human-date    .   12)
                         (:flags         .    6)
                         (:mailing-list  .   10)
                         (:from          .   22)
                         (:subject       .   nil)))
    :bind (:map mu4e-headers-mode-map
              ("<tab>"     . mu4e-headers-toggle-at-point)
              ("<left>"    . mu4e-headers-fold-at-point)
              ("<S-left>"  . mu4e-headers-fold-all)
              ("<right>"   . mu4e-headers-unfold-at-point)
              ("<S-right>" . mu4e-headers-unfold-all)))

Any hints on what could be causing this?

rougier commented 11 months ago

There's is a new package mu4e-thread that has been merged into mu4e that might solve the problem. It is a bit different but it is supposed to be much faster.

apc commented 11 months ago

Thanks and thanks for all the work you do!

I'll sit and wait for now: I install mu with Homebrew and what I get that way doesn't yet have mu4e-thread.el in it. I've managed with patching together something using your own mu4e-folding.el which I suspect is an earlier version of what ended up being merged into mu4e?

rougier commented 11 months ago

What has been merged is here