Subject: bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer

From: Eli Zaretskii <[email-masked]>
Date: Sun, 20 Aug 2023 21:29:29 +0300

> From: Philip Kaludercic <[email-masked]>
> Cc: Juri Linkov <[email-masked]>,  [email-masked]
> Date: Sun, 20 Aug 2023 18:24:53 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> From: Juri Linkov <[email-masked]>
> >> Cc: Philip Kaludercic <[email-masked]>,  [email-masked]
> >> Date: Sun, 20 Aug 2023 19:30:03 +0300
> >> 
> >> Regarding the implementation, there is the function
> >> 'diff-hunk-text', but it's limited to one hunk only.
> >
> > So is the proposed new function, isn't it?
> 
> No, the current proposal doesn't have any special handling for text
> between hunks.

AFAIU, the function you proposed removes the first character from each
line in the region, so how will it handle multiple hunks?

Or maybe I misunderstood what you meant by "No"?