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: Thu, 03 Oct 2024 09:33:23 +0300 Message-ID: <86setdzoek.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> <868qv73joh.fsf@gnu.org> <877carfg6l.fsf@melete.silentflame.com> <86jzer0yd9.fsf@gnu.org> <877caq3t7m.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29723"; 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 Thu Oct 03 08:34:20 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 1swFPn-0007aG-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Oct 2024 08:34:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swFPX-0003YQ-2k; Thu, 03 Oct 2024 02:34:03 -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 1swFPU-0003YD-Uj for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2024 02:34:00 -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 1swFPU-0003zf-MS for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2024 02:34:00 -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=TN8OQ1Wx+JLh6HQhaRJSQYk6iiFOQmvpiFBZl3lX2IQ=; b=c0QzJNivcQ75n6EpbxXYqMXVYAQVl6xvypkaJsn5Q5JYMOfuSFXYOeLllbANraIF4k+V7dS2vBVH2GddF5Y+xi6whauemrit8Aow6tDc7nIJOnsInKDfkqbw8L3saS7ml3/XA4GPWpjVEj8HzbbHL3KJsFhU2PJreWoyxSsTqdUVrtkjYPdM90719ofr6DfSoWMrKzjn5rVTaK0iHWatpwSmbiRtjpipjH3gYFSrn/G8ROu6+Lu0Duuerxae/hKnNkjByILzx8MhDm3FOIfTIZDg2uRmTXtcUcyLDPva32RKWHczR/UBbSTPNRub/4M+db6Q73bnFjtWwPyboJAazg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swFPW-0007GS-23 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2024 02:34: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: Thu, 03 Oct 2024 06:34: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.172793723227905 (code B ref 73387); Thu, 03 Oct 2024 06:34:02 +0000 Original-Received: (at 73387) by debbugs.gnu.org; 3 Oct 2024 06:33:52 +0000 Original-Received: from localhost ([127.0.0.1]:59776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swFPM-0007G1-6h for submit@debbugs.gnu.org; Thu, 03 Oct 2024 02:33:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swFPJ-0007Fl-Dm for 73387@debbugs.gnu.org; Thu, 03 Oct 2024 02:33:50 -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 1swFPB-0003y5-0N; Thu, 03 Oct 2024 02:33:41 -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=TN8OQ1Wx+JLh6HQhaRJSQYk6iiFOQmvpiFBZl3lX2IQ=; b=e3Wr2I/YPTKJ 9CquKfn43nG1UCdM6iJxBrcPmZxZfRUjiJfTKqkvoDwjHrDtZlUXvHsckU4p0f2JZDQLYPRIVdQFd MfLUXq+b4BROyx9SBHmBoxjQGLB1ak0BzA0ssl35FIFsJs/TsyP25leKb5cTarsk8AJVb8eCZTwTt EKgRzAROmzdGhf7KF9x6Xl/lprJEzRSe+/4Az65vApyJingcFVunkDHESrQ0PFLKFGSShOOGF+Dqo jx6DlKaBBIX4ge80iWZULKQtt+EwxHTuDqzJ1djpaeb3D6/JMMNTwA9vE0vaWS5J1tOqsvzsa42MJ LxN/cdtBnHjJakzWjojivA==; In-Reply-To: <877caq3t7m.fsf@melete.silentflame.com> (message from Sean Whitton on Thu, 03 Oct 2024 08:50:37 +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:292885 Archived-At: > From: Sean Whitton > Cc: dgutov@yandex.ru, 73387@debbugs.gnu.org, monnier@iro.umontreal.ca, > juri@linkov.net > Date: Thu, 03 Oct 2024 08:50:37 +0800 > > > @item C-c @key{RET} k > > Delete diff hunks other than the current one. If the region is > > active, this command deletes the hunks overlapped by the region; > > otherwise it deletes all the hunks other than the current hunk. Do > > @emph{not} invoke this command in a narrowed buffer, as that could > > produce unexpected results. > > Okay, I've rewritten based on this, though I haven't included the > imprecation, because invoking it in a narrowed buffer could never > produce unexpected results -- the function will always do nothing. Then why do we signal user-error in that case? I think this should be explained in the manual.