Skip to main content

Timeline for Remove occurrences in occur mode?

Current License: CC BY-SA 4.0

4 events
when toggle format what by license comment
Oct 5, 2019 at 16:24 comment added Muihlinn @ArthurColombiniGusmão C-x C-q in a editing buffer is as useful as it is in dired. Two aces I use a lot everyday.
Oct 5, 2019 at 10:18 comment added Arthur Colombini Gusmão Thank you. Indeed, this is the simplest solution. I ended up adapting Muihlinn's answer as that suits my workflow better, but C-x C-q has been really useful for me in Emacs in general.
Sep 27, 2019 at 18:01 comment added Drew This is the simplest answer. You can also use just C-x C-q to toggle read-only (then C-k). And if you want to remove all lines after point that match a regexp, you can use flush-lines. Or remove all that do not match a regexp: keep-lines. (And you can narrow to limit the scope of those regexp commands.) Oh, and you can do the same things with grep etc. - just toggle read-only first.
Sep 27, 2019 at 17:09 history answered zck CC BY-SA 4.0