Subject: bug#75530: [PATCH v2 2/3] Remap read-only-mode for Occur modes (bug#75530)

From: Juri Linkov <[email-masked]>
Date: Thu, 06 Feb 2025 19:13:30 +0200

>> As I said in Emacs bug#16214 my preferred solution is to
>> leave C-x C-q as is in all three modes and to standardize on
>> e to enter the editable mode and C-c C-c to leave it.
>>
>> C-c C-c already does this in all three modes and e does this
>> in occur and when I last looked was unbound in grep.
>
> That bug predates Grep Edit’s addition for 31 and was discussing the
> third-party Wgrep package.  Fortunately Grep Edit does bind ‘e’ for
> entry and and ‘C-c C-c’ for exit like Occur.

Thanks for mentioning Grep Edit.  Its grep-edit--prepare-buffer
puts read-only properties on line numbers only after switching
to Edit mode.  And Occur Edit mode should do the same.
So now we have a better solution than was in bug#53419.