From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#73387: 30.0.90; C-x v v in diff-mode doesn't work after C-c C-n Date: Tue, 24 Sep 2024 16:54:02 +0100 Message-ID: <87cykt2gkl.fsf@zephyr.silentflame.com> References: <87zfo28fzu.fsf@zephyr.silentflame.com> <8d0b046e-4b29-4551-b421-e98e212a7b40@yandex.ru> <86msjxefkv.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="747"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 73387@debbugs.gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 17:55:13 2024 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 1st7se-000AaH-4J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 17:55:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st7s8-0002v4-Qt; Tue, 24 Sep 2024 11:54:40 -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 1st7s6-0002ts-MU for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 11:54:39 -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 1st7s6-0007RG-CN for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 11:54:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Y+DrAk0+hlX2mlMVz/hZ/7dqSj+u2+27skBXzFm/yh0=; b=JRE2Pn854n5JQ7c4Y/i0h0VBmS2HWa0xczTYYkfoDTlGsDEnb1SsO5ERZ97CXX6aEFqRDKLzwK8EJ5VyOeuvvnW+Zp+gM0CTvXJzvQqPiXnFCmglqs7wZnQRLtMgUtojHPm1GP3KUWkrbPxCf7XErP5muDTwFpjgnMYT31NFSKnkhoC3Vr0GroduMQJYO5pS+0dTfmg15okW8E23zPkQTBFj4OxVyfMru7kG+2vipGTyB8Xf5pn0xGJDJ3q8NtfzV/6H7619ebCmvNoAdQLTJkPvFVyMHtFn/KpOEDd0Gm9U8uG3i78b2THRhK8Y8OqneBbq5rNrU+AMIfke09F0mQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1st7sU-0002WS-JY for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 11:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73387 X-GNU-PR-Package: emacs Original-Received: via spool by 73387-submit@debbugs.gnu.org id=B73387.17271932789616 (code B ref 73387); Tue, 24 Sep 2024 15:55:02 +0000 Original-Received: (at 73387) by debbugs.gnu.org; 24 Sep 2024 15:54:38 +0000 Original-Received: from localhost ([127.0.0.1]:50960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st7s6-0002V2-Ep for submit@debbugs.gnu.org; Tue, 24 Sep 2024 11:54:38 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:34850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st7s3-0002Ud-7J for 73387@debbugs.gnu.org; Tue, 24 Sep 2024 11:54:36 -0400 DKIM-Signature: a=rsa-sha256; b=n9JMEajSnrmhFr7m0InwtRRdhiW0oH4A9o6fuxiGcq+IoOwAdH3v40Fk2JD6IR8lFqzx/hsP7k9KrHPIPvoSOKP6amsuZCPQVeE56QUY6v9FdOpBQfPS9DPFcKECZ1w5LcxflQ2r5Q/zG1wOJhwdwlPZozGZdG9WyWP/JLvXkCYp49HtEECu3my53R63YJVFanCp56gp8IJEbgNwPWyD0PMCabeE+nVtRYIT9nEZVqZT/keK8oAmpWYpv0xQ+QtNMgWvqxVj+WHVlNu+4e0sfaJbEKzh3NxeQJLwu/QDlkDE7T2DLyDVxIyfMhOW22h8QUN/hF5q/4FPKj1gS0AUDw==; s=purelymail1; d=spwhitton.name; v=1; bh=YoMm+DDA0BrV+YirmcIr9J5Y9gsd6oSd4hhzyCZZNfM=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=RJ3+peMSN5OEUxd1E60p3G4btC21H2fzR0OpYkuMaM/xDwzvLxsrnsd1W2HQ2taHZlI76V2TrqPwADP1a/VIJ5vhiUCoitvJe3nNBDukuE6kYHUDkGFeVaDSdtd2fgxSQRxFf9swCtgCZHLcxHPrvvtEIApJDGksRdcW42vj2unJbL7I0g651jF2f7QWZx2Y8bnJc/klv+Jjahki6yWXs1JbQkSqXQpY2fAwoyZrstlbHAmRQieC64t+L/XpKI0FWUH73najKv9O+NgFvaaWZL14Dimm5c1+A+wtuHcHjUNxlfEPvF94biDKna2iIm/BGmHH8RdzpBvGq1+3rqsXHQ==; s=purelymail1; d=purelymail.com; v=1; bh=YoMm+DDA0BrV+YirmcIr9J5Y9gsd6oSd4hhzyCZZNfM=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 73387@debbugs.gnu.org Original-Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1898155631; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Tue, 24 Sep 2024 15:54:03 +0000 (UTC) Original-Received: by zephyr.silentflame.com (Postfix, from userid 1000) id 57F85949F28; Tue, 24 Sep 2024 16:54:02 +0100 (BST) In-Reply-To: <86msjxefkv.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 24 Sep 2024 09:32:24 +0300") 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:292345 Archived-At: Hello, On Tue 24 Sep 2024 at 09:32am +03, Juri Linkov wrote: >> But to really commit the narrowed diff I think you'll need to do >> something about this line in vc-next-action >> >> ((eq model 'patch) >> (vc-checkin files backend nil nil nil (buffer-string))) >> >> ...to specify altered buffer contents as the diff to use. > > What is altered buffer contents? Maybe widening is needed here as well? Yeah, could you say more, please, Dmitry? What we basically want is a non-contiguous region, including the hunk and the relevant file header. Are you thinking something like two (BEG . END) pairs specifying that region? -- Sean Whitton