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: Filipe Silva
Subject: Re: Native line numbers, final testing
Date: Tue, 11 Jul 2017 18:20:04 -0300

Sorry, ai mean the native line number feature, not this thing alex is talking about.

On Jul 11, 2017 6:18 PM, "Filipe Silva" <address@hidden> wrote:
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
Mono).

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



reply via email to

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