[ESS] Color-face list for font color specification in emacs

Vitalie S. spinuvit.list at gmail.com
Tue Nov 9 09:18:05 CET 2010


"Thompson,Paul" <Paul.Thompson at sanfordhealth.org> writes:

> Thanks.   That's sort of it. 
>
> However, I am looking for a comprehensive list of all faces available.  What 
>
> M-x list-faces-display
>
> Gives me, I believe, is what I am currently using, not the list of all possible faces that could be chosen.
It's the comprehensive list of all installed faces in your emacs. Each
package might install it's own faces. You can do it yourself:

(defface my-cool-face
  '((((background light)) (:foreground "white" :overline "black"))
    (((background dark))  (:foreground "black" :overline "white"))
    )
  "Super face for super users")

See http://www.gnu.org/software/emacs/elisp/html_node/Faces.html#Faces
  
Vitalie.

>
> Paul A. Thompson, Ph.D.
>
> Additional contact numbers:
> Cell: 618-974-0473
> Fax: 605-312-6071
>
> -----Original Message-----
> From: Vitalie S. [mailto:spinuvit.list at gmail.com] 
> Sent: Sunday, November 07, 2010 3:23 PM
> To: Thompson,Paul
> Cc: gerald.jean at dgag.ca; ESS-help at stat.math.ethz.ch
> Subject: Re: Color-face list for font color specification in emacs
>
> "Thompson,Paul" <Paul.Thompson at sanfordhealth.org> writes:
>
>> This question reminds me of a question that I have had frequently.  Is there a comprehensive list of colors and
>> faces that could be used in a specification of fonts and colors for various features?
>>
> Paul, you are probably looking for these:
>
> M-x list-colors-display
> M-x list-faces-display
>
>> If I go in customize > faces > font lock > font lock faces > font lock type
>> face and customize it to a suitable color for my display and then click on
>> «customize for current session» and on «save for future sessions» then the
>> color is changed for the current session but when I restart Emacs it's back
>> to the old settings.  Customize has written the following lines in my
>> .emacs file:
>>
>
> It should work unless the faces are overwritten by some other settings.
> Is your custom file loaded in the first place?
>
> (setq custom-file "~/.emacs-custom.el")
> (load custom-file)
>
> You can place it at the end of your .emacs to be sure nothing is overwritten.
>
> HTH, 
> Vitalie.
>
>> (custom-set-faces
>>   ;; custom-set-faces was added by Custom.
>>   ;; If you edit it by hand, you could mess it up, so be careful.
>>   ;; Your init file should contain only one such instance.
>>   ;; If there is more than one, they won't work right.
>>  '(default ((t (:inherit nil :stipple nil :background "LightBlue"
>> :foreground "Maroon" :inverse-video nil :box nil :strike-through nil
>> :overline nil :underline nil :slant normal :weight bold :height 137 :width
>> normal :foundry "b&h" :family "lucidatypewriter"))))
>>  '(dired-header ((t (:inherit default :foreground "OrangeRed"))))
>>  '(font-lock-type-face ((t (:foreground "OrangeRed"))))
>>  '(outline-5 ((t (:inherit font-lock-type-face :foreground "OrangeRed")))))
>>
>> The other settings do stick around but not the "font-lock-type-face".  Any
>> idea why it is so?
>>
>> Thanks,
>>
>> Gérald Jean
>> Conseiller senior en statistiques,
>> VP Actuariat et Solutions d'assurances,
>> Desjardins Groupe d'Assurances Générales
>> télephone            : (418) 835-4900 poste (7639)
>> télecopieur          : (418) 835-6657
>> courrier électronique: gerald.jean at dgag.ca
>>
>> "We believe in God, others must bring Data."
>>
>> W. Edwards Deming
>> ______________________________________________
>> ESS-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help>
>> -----------------------------------------------------------------------
>> Please note that My Email Address Has Changed!
>> Please begin using the address in the "From" line above, immediately.
>> Soon, email sent to my old address will no longer be delivered to me.
>>
>> Confidentiality Notice: This e-mail message, including any attachments,
>> is for the sole use of the intended recipient(s) and may contain
>> privileged and confidential information.  Any unauthorized review, use,
>> disclosure or distribution is prohibited.  If you are not the intended
>> recipient, please contact the sender by reply e-mail and destroy
>> all copies of the original message.
>>
>> ______________________________________________
>> ESS-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
> -----------------------------------------------------------------------
> Please note that My Email Address Has Changed!
> Please begin using the address in the "From" line above, immediately.
> Soon, email sent to my old address will no longer be delivered to me.
>
> Confidentiality Notice: This e-mail message, including any attachments,
> is for the sole use of the intended recipient(s) and may contain
> privileged and confidential information.  Any unauthorized review, use,
> disclosure or distribution is prohibited.  If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy
> all copies of the original message.
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list