From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65380: [PATCH] Add command to copy contents in a diff-mode buffer Date: Sat, 19 Aug 2023 13:46:01 +0300 Message-ID: <83o7j3z4wm.fsf@gnu.org> References: <87wmxrwe6h.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16094"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65380@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 19 12:46:38 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qXJTZ-00040P-Ok for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Aug 2023 12:46:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXJTF-0000Sw-Qo; Sat, 19 Aug 2023 06:46:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXJSz-0000SL-Mb for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 06:46:12 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXJSz-0007K6-EM for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 06:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXJT0-0000Gc-1z for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 06:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2023 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65380-submit@debbugs.gnu.org id=B65380.16924419591014 (code B ref 65380); Sat, 19 Aug 2023 10:46:02 +0000 Original-Received: (at 65380) by debbugs.gnu.org; 19 Aug 2023 10:45:59 +0000 Original-Received: from localhost ([127.0.0.1]:49566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXJSw-0000GH-Ic for submit@debbugs.gnu.org; Sat, 19 Aug 2023 06:45:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXJSt-0000G1-O5 for 65380@debbugs.gnu.org; Sat, 19 Aug 2023 06:45:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXJSn-0007JC-1W; Sat, 19 Aug 2023 06:45:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0sKpy02Qeyv2cdsJ3V7j5FZGTWPRkLICmaJUHkXw6wA=; b=WMyHoXi7vypl C7J/clliWmGsy1LofSqV2VjAnrA7V+pAF4hludu5VWDed+IsZO422DyCMnyY20nIDUeWgyCpKtqKj l8rIC5oDVKFI2tJGvxEkRUc7UJ1A/IvcraXspA0c+y0c53GsTmJX5piqizrbC6REhts6W8mtxhnoi XWR5Ie3vr+J/4j/YJ3qSlPd+cg0Un678ZNdWpfbRnhmwdL5cu4+94wAT7RCwi8SmLWc9kLF261RBR n4Xw1nrHHxPD4EBdLOA2GFkqjZJtfJRB5GHLb9ixB74uRO0JysrMPprc2oOBFGPE2vvR/AV5E02Ew JAwnx2LvrCkopGbtDI2plA==; In-Reply-To: <87wmxrwe6h.fsf@posteo.net> (message from Philip Kaludercic on Sat, 19 Aug 2023 09:53:58 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267845 Archived-At: > From: Philip Kaludercic > Date: Sat, 19 Aug 2023 09:53:58 +0000 > > 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. Please tell more about the use cases where this would be useful. I couldn't understand that from the patch itself. Thanks.