From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#74313: [PATCH] Update 'xref-num-matches-found' when reverting *xref* buffer Date: Thu, 14 Nov 2024 04:28:56 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20474"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Eshel Yaron , 74313-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 03:30:37 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 1tBPcx-00057u-LY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 03:30:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBPcU-0000t0-A3; Wed, 13 Nov 2024 21:30:06 -0500 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 1tBPcR-0000sb-Pc for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 21:30:04 -0500 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 1tBPcQ-0002ES-Og for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 21:30:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=R15s5K3iKNg6el+k5/qeQCUj7Asr/Ck+tRfjtvBoq70=; b=ARhzJo7/CInvnx+m9nwZqKavbLHw7gIMLghkaQGbHOR9jwvpvqCLoMtZ8pcoH6wsTTqgnU9hvuI/ZEHaCty9TIHb10Yd6hkIqXvGoSciNK2t+uIOeBHnXq1HvB/hA70R+X3thhhjqBRgnOspMl6hqDIQw2x/PqRYYubQyI4uxpO5LbBFMgKp1Uxyr6XnQcfHcXhAYBmprEFjtxlluTZGxSq4bVQ/f2OiMTzun54Tjc46rtZ8c9/UHWRvU2HJnuuEP1Qm+GJdytw3H5qf8sr2FOucl0z3NmIlYaPStLjigVQO2W59mI/DeSRHjl+h3LQo2sJRbVRto3RGI8JFEBKvVA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBPcQ-0000La-Dw for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 21:30:02 -0500 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 02:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 74313@debbugs.gnu.org, dmitry@gutov.dev, me@eshelyaron.com Original-Received: via spool by 74313-done@debbugs.gnu.org id=D74313.17315513501208 (code D ref 74313); Thu, 14 Nov 2024 02:30:02 +0000 Original-Received: (at 74313-done) by debbugs.gnu.org; 14 Nov 2024 02:29:10 +0000 Original-Received: from localhost ([127.0.0.1]:44367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBPbZ-0000JQ-Sj for submit@debbugs.gnu.org; Wed, 13 Nov 2024 21:29:10 -0500 Original-Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]:58103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBPbW-0000Iw-V2 for 74313-done@debbugs.gnu.org; Wed, 13 Nov 2024 21:29:08 -0500 Original-Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 532721140194; Wed, 13 Nov 2024 21:29:01 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Wed, 13 Nov 2024 21:29:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1731551341; x=1731637741; bh=R15s5K3iKNg6el+k5/qeQCUj7Asr/Ck+tRfjtvBoq70=; b= K7ebpTT4QDPdpmHfCVNIR7w91qRNrpIOEQ4nq1w+5/ogyNLrrhPk93DFwFgnV7Ap qRKq+3PykNDlWhFa/cDc5MCBrklt3KKF3+iefSlsvVROtDWtKMb038wWOPMWPo8P ztWEmhFbWqUkw5r6lPQaEhKK0ThGW2UpZ6SG4gpA7X9AftyQOUFAW4BTsZsHnXuj qlT6ShMYAqlcFuFEOE/0JnpxB3f3xEXZtLNbGm4Cx+qhYrHcClxFrFH9j3T42zP6 udmQyceipg48Tdp6V5zWSxMmLx0UgmN5Odd7F2LUj5qtmy+f96fM7+q6NgPHIwRu EZVGZwxlhPsU5FVTAoK6cA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1731551341; x=1731637741; bh=R 15s5K3iKNg6el+k5/qeQCUj7Asr/Ck+tRfjtvBoq70=; b=cpfwrJd4sIJTWDKGW exuAcKu6sSVJuknWCev7v2S7IvEeEZUokB3/xsENefxIsqZm8vVDUvKL6+nvrVun gjYOFCNvQEg166EDTgVM47HfHH84nxS13i1fFJglcrzglpYFoa471KMhdonyV07W 91zO7S9mxgK9kY4E7nIefR/XSRwYMwUgToAVEB2eWG7U/itOSTNXFKxaRNAEJOy2 2n24zGX7vzlnOKDT2LCvIn4LAnewL4QHxome+k8AL8OQDecXZ+e27MnMYj60eUrk 8vp6EEfu7r8nCYDWSBc8kD4yCI2y4FWTiziR4JMJIBHV/vGp0speEPINeI6v45XC 6f3sA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvddugdegiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuf fvfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceo ughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpedthfeuvddtve elgeeuleevvdejveehffevveehvdeuffdtfefhvdeugefgtefgtdenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovh druggvvhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthht ohepmhgvsegvshhhvghlhigrrhhonhdrtghomhdprhgtphhtthhopeejgeefudefqdguoh hnvgesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Nov 2024 21:28:59 -0500 (EST) Content-Language: en-US In-Reply-To: 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:295299 Archived-At: Version: 30.1 Hi! On 11/11/2024 21:16, Eshel Yaron wrote: > The*xref* buffer displays the number of found matches in the mode line. > With this patch, it also updates that number, stored in variable > xref-num-matches-found, when you revert the buffer. That way the mode > line shows the updated number of matches when you add or delete some > references and revert the*xref* buffer. Thanks, this is a good idea. It's a minor but noticeable bug, so I've pushed the patch to emacs-30.