rougier / mu4e-thread-folding

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

do not try to mark threads if threading is turned off #16

Closed lordpretzel closed 3 years ago

lordpretzel commented 3 years ago

Currently if I turn of threading in mu4e's header view mu4e-headers-mark-threads errors out which slows down opening the headers view. I am switching forth and back between a threaded and non-threaded view, so I modified mu4e-headers-mark-threads to not attempt to mark threads if threading is turned off.

lordpretzel commented 3 years ago

as I was working on it already, I've outsourced the keybindings into a minor mode so that they do not overwrite user-defined mu4e-headers-mode-map binding and since I am so used to shift-tab behavior from org-mode, I've added a function to toggle visibility globally.

rougier commented 3 years ago

Just perfect! Thanks!