Jason Hunter
Jason Hunter

Reputation: 601

font-lock-comment-face to a Strong Color

If I describe-face over a strong color in Emacs, it tells me that its foreground is #ffd700, but when I eval this:

(set-face-attribute 'font-lock-comment-face nil :foreground "#ffd700") 

..it has a grayed out yellow color;)

See screenshot here:

https://i.sstatic.net/3oXav.jpg

  1. The color I want
  2. The color I get

Is there some secondary color here or something?;)

C-u C-x = gives me:

             position: 211 of 289 (73%), column: 10                                                                                                                                                                                           
            character: e (displayed as e) (codepoint 101, #o145, #x65)                                                                                                                                                                        
              charset: ascii (ASCII (ISO646 IRV))                                                                                                                                                                                             
code point in charset: 0x65                                                                                                                                                                                                                   
               script: latin                                                                                                                                                                                                                  
               syntax: w        which means: word                                                                                                                                                                                             
             category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman                                                                                                                                                            
             to input: type "C-x 8 RET 65" or "C-x 8 RET LATIN SMALL LETTER E"                                                                                                                                                                
          buffer code: #x65                                                                                                                                                                                                                   
            file code: #x65 (encoded by coding system undecided-unix)                                                                                                                                                                         
              display: terminal code #x65                                                                                                                                                                                                     
                                                                                                                                                                                                                                              
Character code properties: customize what to show                                                                                                                                                                                             
  name: LATIN SMALL LETTER E                                                                                                                                                                                                                  
  general-category: Ll (Letter, Lowercase)                                                                                                                                                                                                    
  decomposition: (101) ('e')                                                                                                                                                                                                                  
                                                                                                                                                                                                                                              
There is an overlay here:                                                                                                                                                                                                                     
 From 210 to 213                                                                                                                                                                                                                              
  face                 tide-hl-identifier-face                                                                                                                                                                                                
  tide-overlay         sameid                                                                                                                                                                                                                 
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              
There are text properties here:                                                                                                                                                                                                               
  face                 font-lock-function-name-face                                                                                                                                                                                           
  fontified            t        

Upvotes: 0

Views: 247

Answers (0)

Related Questions