This question already has an answer here:
Windows 10, Emacs 26.1
I have file -
I want to find all line content word hello. So I use
occur for this
Now I want to save result to SEPARATE file:
To do this I use menu
File->Save As (C-x C-w)
And success save content of occur buffer to file
Now I want to delete first line
2 matches for "hello"...
To do this I go to first line, select whole line and press any key.
But I get message:
Text is read only
And first line NOT DELETE.
Why? This is not any more
*occur* buffer. It's a SEPARATE file.
But I can success delete another line (e.g. second line)