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#73387: 30.0.90; C-x v v in diff-mode doesn't work after C-c C-n Date: Mon, 30 Sep 2024 17:15:37 +0300 Message-ID: <86jzet2po6.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19735"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73387@debbugs.gnu.org, juri@linkov.net, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 30 16:16:56 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 1svHCp-0004vw-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Sep 2024 16:16:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svHCR-0005VO-1a; Mon, 30 Sep 2024 10:16: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 1svHCP-0005V4-Tt for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2024 10:16:30 -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 1svHCP-0006eg-Jq for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2024 10:16:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=cg4XU8rz3/C/kDae1zBfmhiD52q7uqeLMZRAuP9eZGo=; b=vL9f86GnrypWU4yItYfcTpJjZ7hVmldUeDHEouCydtQSsQcQFwMYihu9lcVqQx5fimAW2fXSPlVw3OkyO3yzIG+hIC4/KbJyB/jI7QDI10UwPnJ3odIW/E1RQtmv3+G8pxpxs/bSY99Un4EDCmAjS0QrIK2o0egzs4z9c945MaYs5Nstnpj1PiE38tY971Nmh0ywdE7BQ74Rnp4/p8DrToMEqQDKbMWeQ4HdmZ1tqDJhV2VsFIz1rUvj7dQMzSBJ+aE116BqFumGVMVB1gq0tUOmuHp3W1m+Jvf5uPPDsvxs/3ChF3jLOSyhmBZA3RPYbz7kRbu7/7ztskqv3be8HQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svHCv-0004b3-VA for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2024 10:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2024 14:17: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.172770578817640 (code B ref 73387); Mon, 30 Sep 2024 14:17:01 +0000 Original-Received: (at 73387) by debbugs.gnu.org; 30 Sep 2024 14:16:28 +0000 Original-Received: from localhost ([127.0.0.1]:45140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svHCO-0004aR-3c for submit@debbugs.gnu.org; Mon, 30 Sep 2024 10:16:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svHCJ-0004aG-DT for 73387@debbugs.gnu.org; Mon, 30 Sep 2024 10:16:26 -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 1svHBe-0006bQ-WF; Mon, 30 Sep 2024 10:15:43 -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=cg4XU8rz3/C/kDae1zBfmhiD52q7uqeLMZRAuP9eZGo=; b=eWSFCKKU1jJA HRhBv0/lsrfod48eP8fKB4nf1c0XUCOQj8O6d3GHG1S/moCe2mu+oiLSrHXufIseb7Ro1X8HVlDjy rhyJXa8OFgub9w4FK6FJLbf1rbU4iD052zbU8+j8fJZN4GNoP2zNbtvPavJ1jEtsidp7ZefADMZ/X htY0SWNdGBNmZhBZAVrf8aOM+4Ubrnr/+pTAVvzCqdpiWcEzHL/ZahdqYB6LqgeJlowT7KV/w55iQ chbTbaDeAznDkEyCpVbjpqggqXRcwoZxvOg4KotEAAKe/p61B8yl7C8kJWjiuhQ0UyNY8pTJkkbBp XYobUXwZ/hEuOUCt/ke1rg==; In-Reply-To: <87ikudqocz.fsf@melete.silentflame.com> (message from Sean Whitton on Mon, 30 Sep 2024 21:10:04 +0800) 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:292716 Archived-At: > 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". > +*** 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. > +(defun diff-delete-other-hunks (&optional beg end) > + "Delete hunks other than this one. Which "this hunk"? Did you mean "current hunk"? > +When called from Lisp, the region to act upon is specified by optional > +arguments BEG and END." ^^^^^^^^^^^^^^^ Passive tense alert! > + ;; If we used `diff-restrict-view' then we may not have the file > + ;; header and the commit will not succeed (bug#73387). ^ Comma missing there. Thanks.