emacs-devel
[Top][All Lists]
Advanced

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

Re: Native line numbers, final testing


From: Alex
Subject: Re: Native line numbers, final testing
Date: Tue, 11 Jul 2017 14:58:21 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Here's the patch I propose to fix your variable-pitch problem:
>
> diff --git a/lisp/faces.el b/lisp/faces.el
> index c3693d1..52a4db5 100644
> --- a/lisp/faces.el
> +++ b/lisp/faces.el
> @@ -2467,7 +2467,7 @@ trailing-whitespace
>  
>  ;; Definition stolen from linum.el.
>  (defface line-number
> -  '((t :inherit (shadow default)))
> +  '((t :inherit (shadow default) :family "Monospace Serif"))
>    "Face for displaying line numbers.
>  This face is used when `display-line-numbers' is non-nil.
>  

This gives me a smaller line numbers by default, since I apparently have
not configured an appropriate serif font (my default font is DejaVu Sans
Mono).

What about just inheriting from fixed-pitch rather than default?



reply via email to

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