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: Wed, 25 Sep 2024 15:17:08 +0300 Message-ID: <867cb0c4hn.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> <86o74dc4cx.fsf@gnu.org> <87cyks1bph.fsf@zephyr.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, 73407@debbugs.gnu.org, juri@linkov.net To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 25 14:17: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 1stQxu-0009xX-Jq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Sep 2024 14:17:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stQxn-0004fI-Ks; Wed, 25 Sep 2024 08:17:47 -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 1stQxd-00042z-Jk for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 08:17:41 -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 1stQxd-0003Kx-1p for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 08:17:37 -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=W3DDHPys97cut5H4MHC8p7FO6i/XvvPOqcC9J79CGLs=; b=E6ni9uuGGNhRzDmiQHu/SiACPjeOxwO+WcuAwcK3fu+7Bpmhf6pdVEz5A+HyjSmCRySqkswZ/Td7E7r+YzqwodbDLocDSt6Lu+ok1GIXFnUzPRvmMR14XblLBGVP2VZ5frUWw0zOrCzGiupWIshsqUUB7OCCvSkwFYP3vHmfnqL8CojWfpM6TwH/TwIbNN82xOz7+MxGeQmkD7qYdRQbqX6/KCYqRFuu22o1uTuFVJ5qcxcEVfAltpsncjlLOpRC06c3GDj4PNmdYFUlltWgAAzyZop2YIO5qD3+F0+kHv9QzuSHvClBj3H5cZSmxs0YoUdIRQG2LMU6xgqET7BkJA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stQy1-0004ts-Nd for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 08:18: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: Wed, 25 Sep 2024 12:18:01 +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.172726667518808 (code B ref 73407); Wed, 25 Sep 2024 12:18:01 +0000 Original-Received: (at 73407) by debbugs.gnu.org; 25 Sep 2024 12:17:55 +0000 Original-Received: from localhost ([127.0.0.1]:58213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stQxu-0004tC-IW for submit@debbugs.gnu.org; Wed, 25 Sep 2024 08:17:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stQxr-0004sl-TR for 73407@debbugs.gnu.org; Wed, 25 Sep 2024 08:17:53 -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 1stQxG-0003If-IK; Wed, 25 Sep 2024 08:17:15 -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=W3DDHPys97cut5H4MHC8p7FO6i/XvvPOqcC9J79CGLs=; b=fZa5BFadILiL yn1j3CvIwgeOU5y+3nCVtjhdwxwKbYeZUxGn4Gq63dDvZa8os/2oglmJCZYRB2fXk+BMinh0yVRWI uPZQ0nSjMpqivsWVO0xhtIFRXGDNxeAvzR1uLV9n3a7DO9tutzNNmN0Lr9iarszcgi60LiiTJRIX1 ZlUogQXk3HnXcewH8tgqpgzw8rJ3UxUi7k4K7YvdENSwOCR3UQcPR2TKlHUpBGnfjMt2DMbUU+vWI WoIVeeQkzEfVkbM54V0MNWGBpz3F00hgAd3tQGuXOCOemOVRuT23w3c44OrvotkvYdJ7fAbPNalKD pFJ2Sz/uhlUJIFHH54RSfA==; In-Reply-To: <87cyks1bph.fsf@zephyr.silentflame.com> (message from Sean Whitton on Wed, 25 Sep 2024 07:36:42 +0100) 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:292390 Archived-At: > From: Sean Whitton > Cc: Juri Linkov , dgutov@yandex.ru, 73407@debbugs.gnu.org > Date: Wed, 25 Sep 2024 07:36:42 +0100 > > >> Another variant would be to use 'ngettext'. > > > > That's what I had in mind... > > Do you mean like this? Yes. But it is considered a better style not to break the message into separate words, so the below would be even better: (message (ngettext "%d hunk failed; no buffers changed" "%d hunks failed; no buffers changed" failures))