From: "Hinrik Örn Sigurðsson" <hinrik.sig@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21750@debbugs.gnu.org
Subject: bug#21750: show-paren-mode erroneously highlights the left margin
Date: Mon, 26 Oct 2015 14:28:09 +0100 [thread overview]
Message-ID: <CAA1iZccwTQG==RDkYKyK1O_D=7was5U7OuLRe1cX6rvafgHR5g@mail.gmail.com> (raw)
In-Reply-To: <83twpedc7f.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
On Sun, Oct 25, 2015 at 7:39 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> (Btw, I wonder why you use a black foreground for this face if your
> background is also black. What am I missing here?)
> That's strange: are you saying that a 16-color xterm doesn't have
> "black" among the colors it supports? I don't think I've ever seen
> that; perhaps the settings for xterm on your system deliberately
> define "black" as something whose RGB value is not #000000?
"black" to emacs is really color 0, which I have defined to be a dark
grey color (#2e3436) in my terminal (see attached screenshot). I do that
because it is a useful color to have rather than duplicating the #000000
color which can already be achieved by specifying no background color.
For the record, I'm using gnome-terminal with the Tango color palette.
When that palette was first intoduced, it had color 0 set to #2e3436,
but at some point they changed it to #000000 (which arguably makes it
non-Tango as #000000 is not found in
http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines). But I still
customize color 0 to #2e3436, to have a wider range of colors.
>
>> So there's no way of explicitly specifying this background color in
>> Emacs unless I change my terminal's color palette, which would affect
>> the appearance of other terminal programs.
>
> What happens if you specify the 'linum' face to inherit the background
> from your 'default' face, like this:
>
> (custom-set-faces
> '(linum ((t (:inherit default :foreground "black" :weight bold)))))
>
> Does this produce good results?
This actually works. The background color of the parenthesis no longer
bleeds into the margin. Thanks!
[-- Attachment #2: colors.png --]
[-- Type: image/png, Size: 42406 bytes --]
next prev parent reply other threads:[~2015-10-26 13:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-24 17:28 bug#21750: show-paren-mode erroneously highlights the left margin Hinrik Örn Sigurðsson
2015-10-24 20:07 ` Eli Zaretskii
2015-10-24 20:22 ` Eli Zaretskii
2015-10-24 21:54 ` Stephen Berman
2015-10-25 18:37 ` Eli Zaretskii
2015-10-25 21:33 ` Stephen Berman
2016-03-19 19:07 ` Eli Zaretskii
2015-10-24 23:53 ` Hinrik Örn Sigurðsson
2015-10-25 18:39 ` Eli Zaretskii
2015-10-26 13:28 ` Hinrik Örn Sigurðsson [this message]
2015-10-27 23:28 ` Johan Bockgård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA1iZccwTQG==RDkYKyK1O_D=7was5U7OuLRe1cX6rvafgHR5g@mail.gmail.com' \
--to=hinrik.sig@gmail.com \
--cc=21750@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.