From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help 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 Message-ID: <83r2tp6olw.fsf@gnu.org> References: <87k1zhyivb.fsf@gmail.com> <5f96b32e-de79-4e0d-8ac1-d8c1c35ee8bc@default> <87vaj1z677.fsf@gmail.com> <86mv4dnxa2.fsf@zoho.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1509089047 30304 195.159.176.226 (27 Oct 2017 07:24:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2017 07:24:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 09:24:04 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7yzk-0006jx-0A for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 09:23:56 +0200 Original-Received: from localhost ([::1]:56059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7yzr-0002A2-5N for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 03:24:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7yzO-00029t-W1 for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 03:23:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7yzL-0003fH-Rw for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 03:23:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7yzL-0003fB-OJ for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 03:23:31 -0400 Original-Received: from [176.228.60.248] (port=2835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e7yzL-0000DK-5Y for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 03:23:31 -0400 In-reply-to: (message from Yuri Khan on Fri, 27 Oct 2017 12:02:34 +0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114655 Archived-At: > From: Yuri Khan > 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.