GNU bug report logs -
#26909
25.1; A face for margins
Previous Next
Full log
Message #17 received at 26909 <at> debbugs.gnu.org (full text, mbox):
On Sat, May 13, 2017 at 11:40 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> > You could specify a light gray background color for the frame, and
>> > another color for the default face, but I think this would cause
>> > unpleasant effects elsewhere on display, e.g. in the text area beyond
>> > EOB.
>>
>> (linum-mode) ^X^E
>> (set-frame-parameter nil 'background-color "gray95") ^X^E
>> (set-face-background 'default "white") ^X^E
>>
>> * The backgrounds of both the buffer and the margin turn back to white.
>
> Maybe I've misremembered, sorry.
>
> Did you try remapping the default face, and if so, did that fail to
> work as well?
You mean, like this?
(linum-mode)
(set-frame-parameter nil 'background-color "gray95")
(face-remap-add-relative 'default :background "white")
Same as above: remapping the default face’s background affects the margin, too.
This bug report was last modified 4 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.