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


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.




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.