Folding doesn't always set the point back to the root thread
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.
Could you give me some details (or screenshot)? You mean the cursor move to next or previous line when you fold ?
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
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.