GNU bug report logs - #26909
25.1; A face for margins

Previous Next

Package: emacs;

Reported by: Yuri Khan <yuri.v.khan <at> gmail.com>

Date: Sat, 13 May 2017 14:08:02 UTC

Severity: wishlist

Found in version 25.1

Full log


Message #17 received at 26909 <at> debbugs.gnu.org (full text, mbox):

From: Yuri Khan <yuri.v.khan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 26909 <at> debbugs.gnu.org
Subject: Re: bug#26909: 25.1; A face for margins
Date: Sun, 14 May 2017 00:19:40 +0700
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.