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#73407: [PATCH v4] bug#73407: 31.0.50; Add diff-discard-hunk Date: Tue, 24 Sep 2024 21:07:42 +0300 Message-ID: <86o74dc4cx.fsf@gnu.org> References: <87jzf58g2t.fsf@zephyr.silentflame.com> <865xqleexg.fsf@mail.linkov.net> <87y13hmold.fsf@zephyr.silentflame.com> <86ikuldyy1.fsf@gnu.org> <87r0992h1n.fsf_-_@zephyr.silentflame.com> <867cb1dm3r.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17252"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, 73407@debbugs.gnu.org, spwhitton@spwhitton.name To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 21:10:57 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 1stAw5-0004JF-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 21:10:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stAvp-0004X6-JB; Tue, 24 Sep 2024 15:10:41 -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 1stAvm-0004WU-OB for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 15:10:38 -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 1stAvm-0004RF-8x for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 15:10:38 -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=ytG316PFERXuQ6MNlIjj5z2UsH4hOp6vgdObPQcE64I=; b=CqY5w5++9mtrut9lpxHkzie2niHmjfFr5fcUlRt7V+kX838cpzd/wcGqHDl82nGaXqdPQOPJPuSliy21hVSTSqxUYCLBl0qfvrWwq6GoKg24C9/RV4p+JKHSO5nuZCt2Z3wo6nZce+jGc6lQ1bZs5OjnVnqCFJqy4vHY3/0OOLwdxN+Em/BHOu8N0przNXz1Bu49Lf6e4w8sj4zGWMlU42v/3W06e/+q0k+BJme2sDJaTW/t3XfBMqa9YjH7FMEl7FY/tJPlPcIgk5mMh51S1MAjYeb5HnP+TsiiwyGWKarGqn4ELDdwszvKoal6+s6t8Jd31O9bRx1hXVaEO07T8A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stAwA-0000pG-Um for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 15:11: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, 24 Sep 2024 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73407 X-GNU-PR-Package: emacs Original-Received: via spool by 73407-submit@debbugs.gnu.org id=B73407.17272050142550 (code B ref 73407); Tue, 24 Sep 2024 19:11:02 +0000 Original-Received: (at 73407) by debbugs.gnu.org; 24 Sep 2024 19:10:14 +0000 Original-Received: from localhost ([127.0.0.1]:37321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stAvN-0000f0-2N for submit@debbugs.gnu.org; Tue, 24 Sep 2024 15:10:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stAoM-0000BO-Cc for 73407@debbugs.gnu.org; Tue, 24 Sep 2024 15:02:59 -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 1st9ww-0006E7-1w; Tue, 24 Sep 2024 14:07:46 -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=ytG316PFERXuQ6MNlIjj5z2UsH4hOp6vgdObPQcE64I=; b=QRlt25JwWH0B d8k7P7QOnzMEg0u6o/1ZYUU13hNCTiTP7EqkSy1Q4vDQGV0Mybr78Cf39l/wzb/ccGS5QxCWACltt rzWA9OGlbVIHfr2oDtJiP2nRQ91lzHowwhwxY2fKDrCwUgTPnq4qHWsznaWzm3CWblnt+ul+yHcrP ECDx5O9eHhJIlAC2DdC37hNvytDqfh772dAx0kt9+k3Nbmr7mEASvPB43QGCyLPP0zpVWk9TLyoHd uZu+yuQix/2Z/hQ7uTydRMql8zOI+3JpW0qH0WWpwjIADk8xtLUvUVKR7YQcaAXAHWuB9goF1fqQR Bi3sb+cc9wJXqV+Hfe3wtw==; In-Reply-To: <867cb1dm3r.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 24 Sep 2024 19:59:04 +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:292362 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , dgutov@yandex.ru, 73407@debbugs.gnu.org > Date: Tue, 24 Sep 2024 19:59:04 +0300 > > >>> - (message "%d hunks failed; no buffers changed" failures))))) > >>> + (message "%d hunks failed; no buffers changed" failures) > >>> + failures)))) > >> > >> This comes from existing text, but still: what does the above say when > >> there's only 1 failure? does it say "1 hunks failed"? If so, can we > >> improve the handling of singular/plural here? > > > > I've installed a fix for that. > > Another variant would be to use 'ngettext'. That's what I had in mind...