GNU bug report logs - #74313
[PATCH] Update 'xref-num-matches-found' when reverting *xref* buffer

Previous Next

Package: emacs;

Reported by: Eshel Yaron <me <at> eshelyaron.com>

Date: Mon, 11 Nov 2024 19:17:01 UTC

Severity: normal

Tags: patch

Fixed in version 30.1

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eshel Yaron <me <at> eshelyaron.com>
Subject: bug#74313: closed (Re: bug#74313: [PATCH] Update 'xref-num-matches-found'
 when reverting *xref* buffer)
Date: Thu, 14 Nov 2024 02:30:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#74313: [PATCH] Update 'xref-num-matches-found' when reverting *xref* buffer

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 74313 <at> debbugs.gnu.org.

-- 
74313: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74313
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eshel Yaron <me <at> eshelyaron.com>, 74313-done <at> debbugs.gnu.org
Subject: Re: bug#74313: [PATCH] Update 'xref-num-matches-found' when reverting
 *xref* buffer
Date: Thu, 14 Nov 2024 04:28:56 +0200
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.

[Message part 3 (message/rfc822, inline)]
From: Eshel Yaron <me <at> eshelyaron.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Update 'xref-num-matches-found' when reverting *xref* buffer
Date: Mon, 11 Nov 2024 20:16:22 +0100
[Message part 4 (text/plain, inline)]
Tags: patch

Hi,

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.

[0001-Update-xref-num-matches-found-when-reverting-xref-bu.patch (text/patch, attachment)]

This bug report was last modified 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.