bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33992: 27.0.50; xref-find-definitions wastes too much space


From: Dmitry Gutov
Subject: bug#33992: 27.0.50; xref-find-definitions wastes too much space
Date: Thu, 16 May 2019 01:37:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 15.05.2019 23:57, Juri Linkov wrote:

     (defun display-buffer-condition-from-xref (_buffer-name _action)
       (string-match-p "\\`\\*\\(xref\\)\\*\\(\\|<[0-9]+>\\)\\'"
                       (buffer-name (current-buffer))))

This function seems unused.

It's unused because it would be useful only in the *xref* buffer
created by the xref-find-definitions command, so xref needs to
provide a way to distinguish such case.

Shouldn't it be referenced somewhere else in your patch as well?

A patch is proposed in a separate bug#35737.

I don't see display-buffer-condition-from-xref used in that patch either, but it's not hugely important, really.

Created a separate bug#35592.

Thanks.

Created a separate bug#35702.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]