dired-hacks
dired-hacks copied to clipboard
[dired-subtree] dired-subtree-insert caused clickable area to extend to entire line
- Before dired-subtree-insert

- After dired-subtree-insert

- After dired-subtree-remove

After dired-subtree-insert, clicking anywhere in the empty space on the right of the file will have the same effect as clicking directly on the file itself.
I fixed it by changing the following line to (insert "\n").
https://github.com/Fuco1/dired-hacks/blob/f49a8bbf95f70671a74a24f7f4de453b2686be46/dired-subtree.el#L498
Probably some text properties there are set to be sticky which newline then "extends". Would you like to make a pull request? I think your fix is appropriate!