rougier / mu4e-thread-folding

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

Folding doesn't always set the point back to the root thread #14

Open guibor opened 3 years ago

guibor commented 3 years ago

When I fold an unfolded thread, I would expect the point to remain on the thread (at the root, which is now the only visible message). Yet this is not always the case.

rougier commented 3 years ago

Could you give me some details (or screenshot)? You mean the cursor move to next or previous line when you fold ?

guibor commented 3 years ago

What I mean is - say I unfold a thread, move to the second message, and then refold the thread. I would expect the point to be back to the root, but that's not always the case.

FWIW I used to load these hacky functions here https://gist.github.com/felipeochoa/614308ac9d2c671a5830eb7847985202 and toggling untoggling worked fine

rougier commented 3 years ago

Toggling is now functional (but the first li e, need to fix it). As for staying on the same line, I think I need to implement navigation (next / prev) taking visibility into account.