I am trying to modify the face
list-matching-lines-buffer-name-face, which is part of the result window of
occur (see replace.el.gz).
list-matching-lines-buffer-name-face, I am experimenting with what works and what doesn't.
In the customization buffer, I can use some other faces to assign to
list-matching-lines-buffer-name-face. For example, reusing
magit-bisect-bad works (
sample shows that directly). Some others, which are in my theme linked above, do not work, for example
Extract of the theme file:
`(linum ((t (:foreground ,bisque-green+2 :background ,bisque-bg)))) ... `(magit-bisect-bad ((t (:foreground ,bisque-red))))
Why are only some of the faces available to assign to my option?
How do I set the value of
list-matching-lines-buffer-name-face in my theme file? I eventually don't want to set it with customize, I want it to be only for that theme, not in my init file.
I've tried to set faces in my theme file:
`(occur-buffer-name-face ((t (:foreground ,bisque-bg :background ,bisque-green :weight bold)))) `(list-matching-lines-buffer-name-face ((t (:foreground ,bisque-bg :background ,bisque-green :weight bold))))
with no success. The first of these two (
occur-buffer-name-face) I've tried to use in the customize interface, with no luck either.
As a summary, this is what I have:
- The result of
occurhas standard face for buffer names (it is as default, plus
- search for
- check that the face description on the right of the sample text
sampletext shows underlined text with default foreground color.
magit-bisect-bad. The sample text changes as soon as the face name is done (turns red in my case).
Expected behavior: the sample text turns to green foreground, as set by my theme.
Actual behavior: the sample text stays as default foreground.