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 20:53:17 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Alex <address@hidden>
>> Cc: James Cloos <address@hidden>,  address@hidden
>> Date: Tue, 11 Jul 2017 14:58:21 -0600
>> 
>> >  (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).
>
> You can always customize the face.

Yes, but the default should be sensible. At least on the systems I use,
in emacs -Q, "Monospace" matches up with my default font.

>> What about just inheriting from fixed-pitch rather than default?
>
> I think if it doesn't inherit from default, it won't resize if you
> invoke "C-x C-+" etc.  But inheritance from default is not your
> problem anyway, it's the "Monospace Serif" vs "Monospace" that bothers
> you.

Is there a good reason why the fixed-pitch* faces don't inherit from
default?



reply via email to

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