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

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

Re: whitespace-mode highlighting colour


From: michael-franzese
Subject: Re: whitespace-mode highlighting colour
Date: Fri, 1 Jan 2021 11:07:27 +0100

Is there any requires sequence to use with whitespace-mode?
Have done as follows.

(setq whitespace-style
            '(face tab-mark tabs trailing))
(whitespace-mode 1)
(set-face-attribute whitespace-tab nil
   :foreground "black" :background "#FF5E5E")



> Sent: Friday, January 01, 2021 at 2:56 PM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: whitespace-mode highlighting colour
>
> michael-franzese wrote:
>
> > I am using whitespace-mode to highlight the background of
> > tabs. How can I change the background colour because on
> > a dark background, the highlighting contrast to the dark
> > background is difficult to see at times.
>
> M-x describe-face RET whitespace- TAB
>
> whitespace-big-indent         whitespace-empty
> whitespace-hspace     whitespace-indentation
> whitespace-line       whitespace-missing-newline-at-eof
> whitespace-newline    whitespace-space
> whitespace-space-after-tab    whitespace-space-before-tab
> whitespace-tab        whitespace-trailing
>
> (set-face-attribute FACE nil
>                     :foreground FG
>                     :background BG
>                     :weight     BLD
>                     ; etc
>                   )
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal
>
>
>



reply via email to

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