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, 01 Oct 2024 08:50:43 +0800 Message-ID: <875xqcr6ho.fsf@melete.silentflame.com> References: <87zfo28fzu.fsf@zephyr.silentflame.com> <8d0b046e-4b29-4551-b421-e98e212a7b40@yandex.ru> <86msjxefkv.fsf@mail.linkov.net> <87cykt2gkl.fsf@zephyr.silentflame.com> <87jzf01bsk.fsf@zephyr.silentflame.com> <87y13dfgzz.fsf@melete.silentflame.com> <5e956e3b-5891-401a-a898-e339f52ea307@yandex.ru> <87h69ydnvd.fsf@melete.silentflame.com> <878qv9scps.fsf@melete.silentflame.com> <12b28146-5cbc-48cd-b0e2-0c528d4b9b1c@yandex.ru> <87ikudqocz.fsf@melete.silentflame.com> <86jzet2po6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30814"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 73387@debbugs.gnu.org, juri@linkov.net, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 01 02:51:48 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 1svR7D-0007tw-JK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Oct 2024 02:51:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svR6x-0004XT-CY; Mon, 30 Sep 2024 20:51:31 -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 1svR6u-0004XA-Th for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2024 20:51:28 -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 1svR6u-0003Ig-Jm for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2024 20:51:28 -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=e8pR2GwotFqDmzsYxNXel3UdtIvA+KazuLIr30wnAGQ=; b=tiH6UK7NiiGl/ZiZGR2s4b5aE1xWz2RfLVVA3gEIlkVcghUunWEqpeSqirrPQNTjqwNu6BYLKyOu8XPc+vkcCWykkYorTsqcZ/nxhMhzpza+GtuMJBfSkXHS2RIns1PFHm7nYVwS+jKY3vZT8zr+kBEJ9eZtRhIJ/IURirejmzmaYYzoHVWN19TuHJvF1ngDjKy7bSVQD+rd+1evsK03ecC4amtDgxFy3Uq9+j3ZsCxKjzyYYOqcWh2G0fptpKoJeLv2Q4bDwGCBbF6KcMVBglRJpYBh9tbuMPShmmMRRUartPbjkgzcqf0jEYk5HB36ss0J1j6QTODS7CLLltdwjA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svR7R-0000EP-Ss for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2024 20:52:01 -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, 01 Oct 2024 00:52:01 +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.1727743898800 (code B ref 73387); Tue, 01 Oct 2024 00:52:01 +0000 Original-Received: (at 73387) by debbugs.gnu.org; 1 Oct 2024 00:51:38 +0000 Original-Received: from localhost ([127.0.0.1]:48101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svR73-0000Cp-Rj for submit@debbugs.gnu.org; Mon, 30 Sep 2024 20:51:38 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:52298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svR6v-0000Cd-9R for 73387@debbugs.gnu.org; Mon, 30 Sep 2024 20:51:34 -0400 DKIM-Signature: a=rsa-sha256; b=qJXK+tf1vroOW9iiV7Y+Jrzh7cGKEjvR93m6l9ZsYZ5m9Yf/qBa/fqLHGtHKhhfCQeNcjxpSo/oQVGgvLP7tZaQoHlE73XMVJBVMEEiHfjmIJGaNpmmIId0wqaJqSnYY9GW71ZGHJukakbHz5iDX88aa4PcUXtEw4wi7eFXTlXbNW30xz73/kfMAPmgPLoFM0S9VoIWab4+5vjg5kKjV4eyJBR02eBmYiO8647nto3gXmilS7wdDYw00Ez+9QAPLAYDemxHNdJcWolXX4SMUOcMVVD0bOxmhFnQxXExv5JrMGitPSUjhW13Bv/aPXopU1rDhDJUOyg4ckhw9xkMDZA==; s=purelymail2; d=spwhitton.name; v=1; bh=T0LVd/mrTmOJ8pSsVjQAthwDPHIWN2//W2s6QgQ0lbE=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=rtUyTyaXpCo7si2AKdylmP9xCwE+ySm/2OIzPG5dsBJihvKuvSW4Dh9teTkv1lzvCliE5Uakfwoel5ld2rZ5UUnj3sRQXu7kYAo6jZRuGeJkh1upWTvp6Lt1yg67PQ5LcBM5KBlUU3WHx4TiSop4JmSLWuvDBRDn6wP8IB+LTcR5w2p5NhociAgQGxozY6tXBBxfDPGkIBO/OEjyRW352gGOM/EAHpjpeevVXAWKvXpahkoyrZpLWWwhqeHd3fuRbZMxrxSn5Y/R3K5q131SJV6AOcOuJxhRfBpfAKWwqzhqxqUBG3nm56Saf0eYAuq12aYGM1T9BVbmsCbg9XzyKA==; s=purelymail2; d=purelymail.com; v=1; bh=T0LVd/mrTmOJ8pSsVjQAthwDPHIWN2//W2s6QgQ0lbE=; 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 584132137; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Tue, 01 Oct 2024 00:50:47 +0000 (UTC) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 047267E1A35; Tue, 1 Oct 2024 01:50:44 +0100 (BST) In-Reply-To: <86jzet2po6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Sep 2024 17:15:37 +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:292750 Archived-At: Hello, On Mon 30 Sep 2024 at 05:15pm +03, Eli Zaretskii wrote: >> Cc: 73387@debbugs.gnu.org, monnier@iro.umontreal.ca, >> Juri Linkov >> From: Sean Whitton >> Date: Mon, 30 Sep 2024 21:10:04 +0800 >> >> +Delete all hunks other than the current hunk. If the region is active, >> +then delete all hunks other than those the region overlaps. > > We usually describe what happens when the region is active, then what > happens "otherwise". I think in the case of this command it's better to describe the region-inactive case first. >> +*** New command 'diff-delete-other-hunks' bound to C-c RET k. >> +This command deletes hunks other than the current hunk. >> +It is useful to prepare a *vc-diff* buffer for committing a single hunk. > > This doesn't mention the active-region case. Added that. >> +(defun diff-delete-other-hunks (&optional beg end) >> + "Delete hunks other than this one. > > Which "this hunk"? Did you mean "current hunk"? Indeed I did, thank you. -- Sean Whitton