From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I make hl-line mode not override the color of rainbow-mode?
Date: Fri, 27 Oct 2017 10:23:23 +0300 [thread overview]
Message-ID: <83r2tp6olw.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8WEDt26snR6YU3idiJgs2VtSFtYvQTeXWH63GoxPy5-XA@mail.gmail.com> (message from Yuri Khan on Fri, 27 Oct 2017 12:02:34 +0700)
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Fri, 27 Oct 2017 12:02:34 +0700
>
> (I wish there was a way to make overlays interact better with text
> properties. hl-line takes precedence over pretty much any background
> color highlighting, including but not limited to hi-lock, rainbow-mode
> and Magit branch and tag decorations.
This could be alleviated by using less intrusive face attributes for
the hl-line face. For example, one could use underline, or
bold/slant, or box, or something else that doesn't override the
colors, while still making the current line stand out on display.
> The intuitive expectation, for hl-line, would be that it should
> override background color only if it comes directly or indirectly
> from the default face.)
I think I disagree, but then I don't use hl-line in my routine usage,
so maybe my opinion isn't worth much.
next prev parent reply other threads:[~2017-10-27 7:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-26 16:27 How can I make hl-line mode not override the color of rainbow-mode? Amos Bird
2017-10-26 21:54 ` Emanuel Berg
2017-10-26 23:10 ` Drew Adams
2017-10-27 2:15 ` Amos Bird
2017-10-27 2:24 ` Emanuel Berg
2017-10-27 3:22 ` Amos Bird
2017-10-27 5:02 ` Yuri Khan
2017-10-27 5:39 ` Emanuel Berg
2017-10-27 7:23 ` Eli Zaretskii [this message]
2017-10-27 8:33 ` Yuri Khan
2017-10-27 9:04 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r2tp6olw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).