all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Eshel Yaron <me@eshelyaron.com>, 74313-done@debbugs.gnu.org
Subject: bug#74313: [PATCH] Update 'xref-num-matches-found' when reverting *xref* buffer
Date: Thu, 14 Nov 2024 04:28:56 +0200	[thread overview]
Message-ID: <a725d7d8-0f62-4d1b-8587-b7595826cc12@gutov.dev> (raw)
In-Reply-To: <m18qtpd1ix.fsf@macbookpro.home>

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.





      reply	other threads:[~2024-11-14  2:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11 19:16 bug#74313: [PATCH] Update 'xref-num-matches-found' when reverting *xref* buffer Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-14  2:28 ` Dmitry Gutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a725d7d8-0f62-4d1b-8587-b7595826cc12@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=74313-done@debbugs.gnu.org \
    --cc=me@eshelyaron.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.