From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lisa-asket@perso.be Newsgroups: gmane.emacs.bugs Subject: bug#49567: outline level colours variability across major modes Date: Thu, 15 Jul 2021 10:00:26 +0200 (CEST) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_60efeb1a_286e_20a00307" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28098"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49567@debbugs.gnu.org To: "=?UTF-8?Q?K=C3=A9vin?= Le Gouguec" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 15 10:01:26 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3wJC-0007Bi-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 10:01:26 +0200 Original-Received: from localhost ([::1]:48120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3wJB-0003uJ-4p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 04:01:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3wIo-0003ou-EU for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 04:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3wIo-00077Q-4c for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 04:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3wIo-0007dW-3i for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lisa-asket@perso.be Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2021 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49567 X-GNU-PR-Package: emacs Original-Received: via spool by 49567-submit@debbugs.gnu.org id=B49567.162633603629306 (code B ref 49567); Thu, 15 Jul 2021 08:01:02 +0000 Original-Received: (at 49567) by debbugs.gnu.org; 15 Jul 2021 08:00:36 +0000 Original-Received: from localhost ([127.0.0.1]:46708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3wIO-0007cc-3F for submit@debbugs.gnu.org; Thu, 15 Jul 2021 04:00:36 -0400 Original-Received: from msg-1.mailo.com ([213.182.54.11]:51584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3wIM-0007cD-NM for 49567@debbugs.gnu.org; Thu, 15 Jul 2021 04:00:35 -0400 Original-Received: by www-7.mailo.com with http webmail; Thu, 15 Jul 2021 10:00:26 +0200 (CEST) X-EA-Auth: SgOsu/945tfeIUQYLDbajH8Sj31hMuFItcl1SCBvvD5IDvCc1d9BtfNrivNBweyY6+qiIOrD8MQdO6CleukhQJaKDZMurIwV X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 In-Reply-To: <87pmvkrpza.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210012 Archived-At: ------=_NextPart_001_60efeb1a_286e_20a00307 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: K=C3=A9vin Le Gouguec To: lisa-asket@perso.be Subject: Re: bug#49567: outline level colours variability across major mod= es Date: 15/07/2021 09:33:13 Europe/Paris Cc: 49567@debbugs.gnu.org lisa-asket@perso.be writes: > Have seen that outline level colours change according to the major made.= I do not like this, because > I would like that outline colour levels be consistent across major modes= .=20 Have you tried tweaking outline-minor-mode-highlight (introduced in Emacs 28, i.e. on the master branch)? Setting it to 'override (and reloading outline-minor-mode) does exactly what you would like, AFAICT from reading the docstring, and trying it out. Yes, I am forced to use 'override.=C2=A0 It is weird because if I set my o= wn outline highlight pattern for a particular major-mode, I really want to override, otherwise I would = use something else. > Currently there is no facility for someone to define their own outline l= evel colour schemes > that in fixed across major modes. Wouldn't customizing outline-[1-8] faces (plus setting outline-minor-mode-highlight to 'override) allow exactly that? How does that work? The code uses only colours from inherited faces. There= is no way to set the colour directly in hex.=C2=A0=20 ------=_NextPart_001_60efeb1a_286e_20a00307 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: K=C3=A9vin Le Gouguec <kevin.legouguec@gmail.com>
To: lisa-asket@perso.be
Subject: Re: bug#49567: outline level colours variability across major mod= es
Date: 15/07/2021 09:33:13 Europe/Paris
Cc: 49567@debbugs.gnu.org

lisa-asket@perso.be writes:

> Have seen that outline level colours change according to the major ma= de. I do not like this, because
> I would like that outline colour levels be consistent across major mo= des.

Have you tried tweaking outline-minor-mode-highlight (introduced in
Emacs 28, i.e. on the master branch)? Setting it to 'override (and
reloading outline-minor-mode) does exactly what you would like, AFAICT
= from reading the docstring, and trying it out.

Yes, I am forced to use 'override.=C2=A0 It is weird b= ecause if I set my own outline highlight pattern
for a particula= r major-mode, I really want to override, otherwise I would use something el= se.

> Currently there is no facility for someone to define their own outlin= e level colour schemes
> that in fixed across major modes.

Wouldn't customizing outline-[1-8] faces (plus setting
outline-minor-mode-highlight to 'override) allow exactly that?
<= br>
How does that work? The code uses only colours from inherited= faces. There is no way to set the
colour directly in hex.=C2=A0 =


------=_NextPart_001_60efeb1a_286e_20a00307--