Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: juri@linkov.net, 65380@debbugs.gnu.org >> Date: Tue, 20 Aug 2024 16:23:09 +0000 >> >> Eli Zaretskii writes: >> >> > I think "copy the text removed by the diffs", and perhaps say >> > explicitly that those are the lines in the hunks preceded with "-". >> >> According to `diff-font-lock-keywords' diff-mode also supports the "<" >> syntax for removed parts of a hunk (I believe this comes from RCS?). > > No, that's the original Diff format, before we had -c and -u. > > By all means mention the "<" lines as well. > >> Then again, I would assume that the structure and contents of a diff >> should be familiar to anyone using diff-mode seriously enough to be >> interested in a command like this one? > > Yes, but the connection between that and what you mean by "deleted > text" might not be obvious to everyone. OK on both counts, here is the updated version: