|
From: | Dmitry Gutov |
Subject: | bug#61340: 29.0.60; Extra space in xref buffer |
Date: | Sun, 19 Feb 2023 00:04:05 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Hi Eli,Should we backport this to emacs-29? The improvement is minor, but the risk is very small as well.
On 09/02/2023 21:58, Dmitry Gutov wrote:
On 09/02/2023 19:51, Juri Linkov wrote:Here's the change I was suggesting. The difference is subtle, but seems like an improvement: diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 63e065e696e..581eda0513e 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -1126,7 +1126,9 @@ xref--insert-xrefs maximize (xref-location-line(xref-item-location xref)))for line-format = (and max-line - (format "%%%dd:" (1+ (floor (log max-line 10))))) + (format+ #("%%%dd:" 0 4 (face xref-line-number)5 6 (face shadow))Thanks, this looks nice and closer to the grep output fontification.
[Prev in Thread] | Current Thread | [Next in Thread] |