]> git.eshelyaron.com Git - emacs.git/commit
Make the *grep* buffer editable
authorVisuwesh <visuweshm@gmail.com>
Mon, 9 Sep 2024 14:38:04 +0000 (20:08 +0530)
committerEshel Yaron <me@eshelyaron.com>
Sat, 14 Sep 2024 20:34:42 +0000 (22:34 +0200)
commitb44b6e0589c4d1045d63895bf228e65ca05ddce3
treef5a6685224eb4005277cff1975074459dac3fb6d
parent9bd8cc0a1b8f757855988e3f5d6494cdc773081a
Make the *grep* buffer editable

* lisp/progmodes/compile.el (compilation--update-markers):
Factor out function...
(compilation-next-error-function): ...from here.  Adjust
to use the above.
* lisp/progmodes/grep.el (grep-edit--prepare-buffer)
(grep-edit-mode-map, grep-edit-mode-hook, grep-edit-mode)
(grep-change-to-grep-edit-mode, grep-edit-save-changes): Add
new 'grep-edit-mode' to make the grep results editable like
in 'occur-edit-mode' by using the 'occur' framework.
(grep-mode-map): Bind 'e' to the new command
'grep-change-to-grep-edit-mode'.
* doc/emacs/building.texi (Grep Searching): Update Info
manual to include the above command.
* etc/NEWS: Announce the change.  (Bug#70820)

(cherry picked from commit db1eb8a282c1832fd34be049e80dcb1a3b59ade2)
doc/emacs/building.texi
etc/NEWS
lisp/progmodes/compile.el
lisp/progmodes/grep.el