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

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

bug#61340: 29.0.60; Extra space in xref buffer


From: Juri Linkov
Subject: bug#61340: 29.0.60; Extra space in xref buffer
Date: Thu, 09 Feb 2023 19:51:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

> 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.





reply via email to

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