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

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

Re: how to fix too-dark blue keywords with black background


From: barrchris
Subject: Re: how to fix too-dark blue keywords with black background
Date: Fri, 10 Jun 2016 07:52:39 -0700 (PDT)
User-agent: G2/1.0

On Friday, June 3, 2016 at 3:26:48 PM UTC-4, barr...@gmail.com wrote:
> Certain keywords display with an unreadable dark blue, on a black background.
> Like: getopts or echo or source, with emacs mode Shell-script[bash].  
> Other things are too dark in sql-mode: SQL[ansi]
> 
> Is it best to change the dark blue in PuTTY settings or in emacs?
> 
> It looks like I have a default theme - I see nothing display-related in 
> ~/.emacs.d/init.el or ~/.emacs
> 
> I like the dark background, I like the syntax colorizing, it's just these 
> dark-blue colors.

Thanks, but how can I "use this function" ?
paste it in my .emacs?

    (defun what-face (pos) 
      (interactive "d") 
      (let((face (or (get-char-property pos 'face) 
                     (get-char-property pos 'read-cf-name) ))) 
        (message " Face: %s" (or face "(no face!)")) )) 


reply via email to

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