From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: How can I make hl-line mode not override the color of rainbow-mode? Date: Thu, 26 Oct 2017 16:10:02 -0700 (PDT) Message-ID: <5f96b32e-de79-4e0d-8ac1-d8c1c35ee8bc@default> References: <87k1zhyivb.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1509059450 27039 195.159.176.226 (26 Oct 2017 23:10:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2017 23:10:50 +0000 (UTC) To: Amos Bird , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 01:10:41 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 1e7rIG-00056f-0f for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 01:10:32 +0200 Original-Received: from localhost ([::1]:55011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7rIM-0005AQ-TS for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Oct 2017 19:10:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7rHv-000584-1M for help-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:10:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7rHr-0006qb-Sf for help-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:10:11 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:39823) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7rHr-0006oI-JD for help-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:10:07 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9QNA4Nl030896 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Oct 2017 23:10:05 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v9QNA4gc005233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Oct 2017 23:10:04 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v9QNA3nU017813; Thu, 26 Oct 2017 23:10:03 GMT In-Reply-To: <87k1zhyivb.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4600.0 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 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:114645 Archived-At: > How can I make hl-line mode not override the color of > rainbow-mode? >=20 > https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > 3A__i.stack.imgur.com_fh11k.png&d=3DDwIBAg&c=3DRoP1YumCXCgaWHvlZYR8PQcxBK= CX5Y > TpkKY057SbK10&r=3DqZLZosY6GBAaJtOG9v8QX7nD4BS9t9s5otgxC3d4IFU&m=3D0cysGUa= fKkn > 05ieu20oYLMZxbhi3LmzWz2B2DcaeCgY&s=3DIUgAkHZTo4jnGih15NlP4kUZj-kXymJcX- > KgBbBlIbA&e=3D >=20 > Is there an non-intrusive way to do this? https://emacs.stackexchange.com/a/23965/105 `rainbow-mode' uses text properties to highlight. `hl-line-mode' uses an overlay to highlight. Overlay highlighting overrides text-property highlighting.