I wonder if there is any package which lets me do this:
- Hightlight entire line where point is currently located
- If you move point away, it keeps the that line highlighted
- Multiple lines can be highlighted in similar way
- Clear all highlights with another command
I think this is very useful and I wonder someone would have done it already.
-- A newby EMACS lover.
Edit: Adding more explanation Let's say I have a file with 10 lines, I want to highlight 3rd, 5th and 7th line. What I would like to do is, move point to those lines one by one and execute some command (let's say highlight-this-line), it should keep the past highlighted lines as highlighted until let's say clear-highlight-command is executed which should clear all highlights
highlight-this-line
), it should keep the past highlighted lines as highlighted until let's sayclear-highlight-command
is executed which should clear all highlights.C-SPC
would help but not the way I would like to, that would simply highlight entire text between my last mark and current point location.