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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74313 in the body.
You can then email your comments to 74313 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to dmitry <at> gutov.dev, bug-gnu-emacs <at> gnu.org:
bug#74313; Package emacs. (Mon, 11 Nov 2024 19:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eshel Yaron <me <at> eshelyaron.com>:
New bug report received and forwarded. Copy sent to dmitry <at> gutov.dev, bug-gnu-emacs <at> gnu.org. (Mon, 11 Nov 2024 19:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

Reply sent to Dmitry Gutov <dmitry <at> gutov.dev>:
You have taken responsibility. (Thu, 14 Nov 2024 02:30:02 GMT) Full text and rfc822 format available.

Notification sent to Eshel Yaron <me <at> eshelyaron.com>:
bug acknowledged by developer. (Thu, 14 Nov 2024 02:30:02 GMT) Full text and rfc822 format available.

Message #10 received at 74313-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Dec 2024 12:24:07 GMT) Full text and rfc822 format available.

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.