Faces do not seem to work inside slashes
Closed this issue · 2 comments
Hi,
The face inside slashes is the same as the face of the statement. See below
My (limited) understanding of the code is that this should be different, but it does not seem to work. The result is the same if I switch to another theme.
Depending on the statement, it can be quite confusing. See for example:
Certainly the color of the statement (e.g., set and model) and the color of the texts within the slash (e.g., seattle and san-diego) should be different colors.
Below is a captured image of code coloring on (uncustomized) Emacs.
In my environment, different colors are used for texts of statements and texts inside slashes.
Currently, I do not know what is causing the problem.
When you execute M-x describe-face
with the cursor over a letter, you can find out what face is used for the letter under the cursor.
Can you execute M-x describe-face
on the word set
and seattle
in your code and let me know the name of the face displayed?
I do not manage to get the describe-face function to get to work for this.
But anyway, your comment makes me understand that the problem was coming from my configuration.
So I have checked by removing everything.
The culprit is my theme: I use the material theme and it does not seem to work well with gams-mode. I will try to find a better theme.
Sorry for bothering you with this.
Christophe