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

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

Display line number on each buffer line


From: fatiparty
Subject: Display line number on each buffer line
Date: Fri, 3 Dec 2021 10:36:19 +0100 (CET)

Dec 2, 2021, 15:23 by michael_heerdegen@web.de:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>> > #+begin_src emacs-lisp
>> > (face-spec-set 'line-number
>> >                '((t (:foreground "red" :height .6)))
>> >                'face-defface-spec)
>> > #+end_src
>>
>> In general, set-face-attribute is the recommended method of changing
>> attributes of faces.
>>
>
> Thanks for that clarification.
>
> I am using different color themes, light and dark ones, and AFAIR this
> is the reason why I prefer a complete redefinition as above instead of
> `set-face-attribute' calls.
>
> Michael.
>
I think emacs can distinguish between light and dark background.  How does one 
adapt
the colours so they are different on light and dark frame backgrounds, for 
reasons of legibility?




reply via email to

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