Closed amritendu-mondal closed 7 years ago
To find out the face which is used at a given buffer position, move the cursor there and type C-u C-x =
. That is the face you need to customize or ask the author of the current theme to include.
For example, the errors are highlighted with the face compilation-error
.
Hi,
Thanks for replying. compilation-error
is not reflecting in the error. For example in my below screenshot, compilation-error
is magenta but the face is something else. I shown the output of C-u C-x =
also.
Ah yes, that also happens. See the foreground-color
value above? That is there because of rspec-colorize-compilation-buffer
we add to compilation-filter-hook
, to translate the ANSI codes that the RSpec process outputs into Emacs faces.
You can try undoing this in rspec-compilation-mode-hook
, if that is your goal. Personally, I'd just pick a theme that works well with the generic colors.
Hi,
I checked the code for rspec-compilation-mode-hook
. If I comment out the rspec-colorize-compilation-buffer
, then also its coming same. Find the attached screenshot please. Commenting this line should not override the face is it?
It should.
What does C-u C-x =
show then?
It shows like this -
After restarting emacs twice. I can see the face changed. But the hyper link seems to have broken. Previous setting was better now I feel. Anyway I am good now. Thanks. :)
Hi, It seems the rspec mode color is using some different colour scheme. How to change it to something which suits my current theme. All my error stack are not visible in emacs. I have attached one image also. Please take a look and guide me to do my work. I cant live without this rspec mode. I use it in every minute. Thanks.