[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer
From: |
Daniel Martín |
Subject: |
bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer |
Date: |
Sun, 20 Aug 2023 02:41:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: 65380@debbugs.gnu.org
>> Date: Sat, 19 Aug 2023 15:45:13 +0000
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > But diffs don't necessarily show the entire body/ies of function(s),
>> > they show just part of them. So this seems to be useful only in a
>> > very small subset of cases?
>>
>> In theory yes, but as I mentioned in my first message, it comes up
>> surprisingly often, at least to the degree that I think it would be
>> something nice to have in general. If you think the current
>> implementation is too primitive, one could extend it to check if the
>> region is a subregion of a hunk, and handle that appropriately.
>
> I'd like to hear from more people who will find this useful enough to
> have in Emacs. My first thought was that this is something you should
> keep as your local extension, but maybe I'm mistaken.
I'd find this command useful. When I copy parts of a diff for other
purposes, I usually have to remove the diff markers manually.
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, (continued)
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Philip Kaludercic, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Eli Zaretskii, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Philip Kaludercic, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Eli Zaretskii, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Philip Kaludercic, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Eli Zaretskii, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Philip Kaludercic, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Sean Whitton, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Rudolf Adamkovič, 2023/08/19
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer,
Daniel Martín <=
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Juri Linkov, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Eli Zaretskii, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Philip Kaludercic, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Eli Zaretskii, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Philip Kaludercic, 2023/08/22
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Eli Zaretskii, 2023/08/22
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Jim Porter, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Gregory Heytings, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Jim Porter, 2023/08/20
- bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer, Gregory Heytings, 2023/08/20