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: Tue, 01 Oct 2024 18:51:58 +0300 Message-ID: <868qv73joh.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> <86jzet2po6.fsf@gnu.org> <875xqcr6ho.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15074"; 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 Tue Oct 01 17:53:50 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 1svfCA-0003ny-Ha for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Oct 2024 17:53:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svfBb-0003sy-93; Tue, 01 Oct 2024 11:53:15 -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 1svfBP-0003r9-4r for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2024 11:53:05 -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 1svfBO-00009B-Sy for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2024 11:53:02 -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=st06fYwSLNppXu5zmlnnH+Hnbtl/gOAUOjF7Bhhg1R0=; b=M7ap8MxXKO+vr7uvmJqq/Kk8CGzuucq91QPZAzWUx35SOfjZzdtgv35l8+Y2ifQ+AR+00n4FDRv2qX6D57ZLl7dVBelgLHTVadaOx7Tc3y3PWT7W9ywYTJWIdS3tmZpGjSJFdxGuTd5RVNx/j34Jb4R9/RsOzz/6x7TRpx4OgfHtI05H9y/TXQn0862tJFlfSmgEK5RhY25atqq9dcyWCCKxJIRM2G+AXgvzEsOIBXwxokB1O+wCROdHe4rmZqbCUkRG1awJtisJ+5iGjK5wTxR4DQf8dUpXf5t9SqV5xUhlCw64lINZYw75HX+jhRuxeG4pGxUHIpM0RjcxByPvCQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svfBO-0006Ep-2E for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2024 11:53: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: Tue, 01 Oct 2024 15:53: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.172779795423962 (code B ref 73387); Tue, 01 Oct 2024 15:53:02 +0000 Original-Received: (at 73387) by debbugs.gnu.org; 1 Oct 2024 15:52:34 +0000 Original-Received: from localhost ([127.0.0.1]:52214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svfAw-0006EQ-8m for submit@debbugs.gnu.org; Tue, 01 Oct 2024 11:52:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svfAt-0006EA-Rt for 73387@debbugs.gnu.org; Tue, 01 Oct 2024 11:52:32 -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 1svfAn-0008WL-FM; Tue, 01 Oct 2024 11:52:25 -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=st06fYwSLNppXu5zmlnnH+Hnbtl/gOAUOjF7Bhhg1R0=; b=BaV+Q/RDy5Aa XeBDPvy4AI+W3iGYWyNenUlEEywlGyxWiyxPrwjhZWlHTDTTQgZ/UZbL/t/lDbIiy0iTV23n6Xtrx hhI27pxQT1tH3fXMVfX+Y1q6oIMfQFBy5/93ONzvqtW05WGCmLG8JEhhEpKlxQkiWLnkiMU03yxxy iQNKRQ8eL4N19agxlfthHQ/tVfSIfhA2Hk87vqosM4JlY0ex0UxhDmqtXolfyFlDX9g2vvFL9Er6J X59VjEiPpz9QZ6HecxhASwsH81nT49YbQJTei1TS6+q4aA5vMEijCjd1H0rLVO7ab4atHe1vj3v5X RIG/b6ETkgpzppSqZS5ENw==; In-Reply-To: <875xqcr6ho.fsf@melete.silentflame.com> (message from Sean Whitton on Tue, 01 Oct 2024 08:50:43 +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:292769 Archived-At: > From: Sean Whitton > Cc: dgutov@yandex.ru, 73387@debbugs.gnu.org, monnier@iro.umontreal.ca, > juri@linkov.net > Date: Tue, 01 Oct 2024 08:50:43 +0800 > > Hello, > > On Mon 30 Sep 2024 at 05:15pm +03, Eli Zaretskii wrote: > > >> +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. I don't see why. I can explain the rationale for doing the opposite: when describing the operation with active region, we usually start with "If the region is active..." or with some other similar conditional language. This then makes it natural to explain the behavior in the other cases, because the active-region one is clearly conditional, and thus not the general case. By contrast, your text starts with the description of behavior that has no conditions, and thus is perceived as the complete and exhaustive. Then the next sentence is "out of the blue" because the reader does not expect any such additions, being just told what the command does, period.