[Top][All Lists]

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

Re: Native line numbers, final testing

From: Filipe Silva
Subject: Re: Native line numbers, final testing
Date: Tue, 11 Jul 2017 18:18:47 -0300

Eli, just a thought:  wouldn't it be appropriate to ship a minor mode wrapping this feature? 

Or do you think it is better to just leave it to the community?

On Jul 11, 2017 5:59 PM, "Alex" <address@hidden> wrote:
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

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

reply via email to

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