How to customize already defined color scheme in emacs. In my case, i have a java mode
. I know how set background, or how set color to comments, but what should I do, to redefine color for variables only? In the best case I expect that I can move to needed region and redefine it with magic command...
Asked
Active
Viewed 192 times
0

Drew
- 29,895
- 7
- 74
- 104
-
ALT-X list-faces-display from there you find the fonts("faces") and you can set them.... – kai Feb 15 '19 at 18:06
-
3To see what face is being used on a particular character, move the point to that character and do `M-x describe-char` (there's also `M-x describe-face`, but that defaults to the "top level" face, whereas `describe-char` shows all of the layered faces.) – jpkotta Feb 15 '19 at 18:29
-
Wow, thanks you both! Really I surprised, that you're answered so fast and exactly what I've been wanted to hear. But @jpkotta 's answer is more suitable. So you could write answer. I will mark it as final – Feb 15 '19 at 19:33
1 Answers
0
To see what face is used for a particular character, move the point to that character and do M-x describe-char
. It will tell you what faces are used, and from there you can customize them with M-x customize-face
or with (set-face-attribute 'the-face nil :some-parameter value)
.

jpkotta
- 9,237
- 3
- 29
- 34