GNU bug report logs -
#65380
[PATCH] Add command to copy contents in a diff-mode buffer
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Sat, 19 Aug 2023 09:55:01 UTC
Severity: normal
Tags: patch
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Philip Kaludercic <philipk <at> posteo.net> writes:
> Tags: patch
>
>
> This command solves a long-standing annoyance I have had when working
> with diffs. To my knowledge there is no existing way to achieve this
> (rectangular selection might be possible, but that behaves differently
> when the text is yanked). The binding "w" seems intuitive when
> contrasted with "M-w", but might be confused with "W" (widen). Not sure
> if that is an issue or not.
>
> In GNU Emacs 30.0.50 (build 8, x86_64-pc-linux-gnu, GTK+ Version
> 3.24.37, cairo version 1.16.0) of 2023-08-18 built on quetzal
> Repository revision: 2f74a459d2a82578fd9a92e9e2facdca90dad974
> Repository branch: feature/a-package-for-elpa
> System Description: Debian GNU/Linux 12 (bookworm)
>
> Configured using:
> 'configure --with-pgtk --with-native-compilation --with-imagemagick
> --with-tree-sitter'
It seems I prepared to patch too hastily, and forgot to add a docstring.
Here is the updated version, with a docstring:
[0001-Add-command-to-copy-contents-in-a-diff-mode-buffer.patch (text/x-diff, attachment)]
This bug report was last modified 273 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.