GNU bug report logs - #66023
outline-minor-mode-use-buttons depends on whitespace-space face for some reason

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Yilkal Argaw <yilkalargawworkneh@HIDDEN>; dated Sat, 16 Sep 2023 07:46:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66023 <at> debbugs.gnu.org:


Received: (at 66023) by debbugs.gnu.org; 18 Sep 2023 08:31:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 04:31:38 2023
Received: from localhost ([127.0.0.1]:52022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qi9fO-0007Fw-Gr
	for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 04:31:38 -0400
Received: from mail-oo1-xc29.google.com ([2607:f8b0:4864:20::c29]:59661)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yilkalargawworkneh@HIDDEN>) id 1qi9fM-0007Fk-T1
 for 66023 <at> debbugs.gnu.org; Mon, 18 Sep 2023 04:31:37 -0400
Received: by mail-oo1-xc29.google.com with SMTP id
 006d021491bc7-57124ee486dso2551768eaf.3
 for <66023 <at> debbugs.gnu.org>; Mon, 18 Sep 2023 01:31:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1695025883; x=1695630683; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=LwvhtwC992aI/V3tENzNTbSE3k52opEsH1xHWHW1dP4=;
 b=HyYHDLDPJlEJ3ys1JEtnAW/0yDjiRVE4jOnKoi+gs5RH+4VZ37euQF8zjiqIO2x131
 wVwOaLr7mi4tdnEL7sCSlW4SFCZZ10llIwdQvPZkQEPoZDZDkGc7BBl2H6ryOZhEhf80
 FHR5QjuUx/BCJ5JCe66awbJPKTbCDsBEPUsdsr+B1hv/UaxAsIgDFIOzlhg3v5spRwcT
 2gL5UDV0qUH7IduVOJXWdASuSPR9ipdFIE+sFEPrOJE8HL7s18dm/GE+9WRNTEnevK/Q
 wYFlJMKNi0pdZOQmzaKlCSWUddu+Z/KS55GLIxbd0OiBq7hIznR+vITA7zrZgbsSTaMJ
 qzXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1695025883; x=1695630683;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=LwvhtwC992aI/V3tENzNTbSE3k52opEsH1xHWHW1dP4=;
 b=B+j4qtEvQd2/HfcNgi+LlcAReT+TNhZhoa5zQWeFLVE2o8mv6rB2Mc7RTYk+aGHhNr
 hWQD7f3HqldNpi+LJw+i+6equHtgC9RNNrpmXOKxtdDl2BGtL3EaOLYZORCv2DHOuVbz
 UwEj4mkJ/q23DEbBTwrTtI26OvLbvACgEmX6DnG6It3+ffBpKpPypwP+lNxXSoDajfht
 3OmLxdmrC82jgXtrx7VrBTLDcBMmy4eYtKTUnHGHXqwmc6PjYC8WVyrW9CR5MC/MJoRg
 tFEf7A0CbJcrz/nBUOBZcGxgMScHKKYPz7obPTlZpW4NSCN3ocVSgqcLZaZyPGNgpv/U
 4k8A==
X-Gm-Message-State: AOJu0YxN6cl1J1IYKoRUMyfHiU/8bId9vLrk75SWG2MOqkebgF6UsLLG
 k1AasA7MRYeISB+tphn5g8DBf2qHalLjeD/cdUUaopghogU=
X-Google-Smtp-Source: AGHT+IH5lTiIOJ3U1pCZo9twVVx27pjxXCqu2FZuloSqvQqV43blKMMZbmmxLoEWtcj5lmtu7lFaookTTXzhRWv3nps=
X-Received: by 2002:a4a:6f0d:0:b0:56c:e17e:72ab with SMTP id
 h13-20020a4a6f0d000000b0056ce17e72abmr7357413ooc.2.1695025882870; Mon, 18 Sep
 2023 01:31:22 -0700 (PDT)
MIME-Version: 1.0
References: <CAJddU=qqxc8Tk7OuVzwCmFW56Fkw+Xc9JcdC+L8j0QSxdodbcg@HIDDEN>
 <86wmwoxb5i.fsf@HIDDEN>
In-Reply-To: <86wmwoxb5i.fsf@HIDDEN>
From: Yilkal Argaw <yilkalargawworkneh@HIDDEN>
Date: Mon, 18 Sep 2023 08:31:11 +0000
Message-ID: <CAJddU=osKFOq1Y07F7rCO08R1SgSUUV9D=_Xr-Sf6cOGbbe29A@HIDDEN>
Subject: Re: bug#66023: outline-minor-mode-use-buttons depends on
 whitespace-space face for some reason
To: Juri Linkov <juri@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000a2393d06059df7f8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66023
Cc: 66023 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000a2393d06059df7f8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

> PS: Maybe we need to add a new boolean option that will define
> whether to inherit the face attribute from the buffer or
> to use the outline faces.

I think that might be the way to handle it. It might even be worth having
that as the default because there might be other faces that inherit from
the buffer.

On Mon, Sep 18, 2023 at 6:59=E2=80=AFAM Juri Linkov <juri@HIDDEN> wrote=
:

> > I kind of make use of the relatively new outline-minor-mode-buttons
> > feature. I have specfic settings regarding whitespace mode and I
> > observed that hides the outline buttons deeper than level 2. Trying to
> > debug this I found that was related to the whitespace-space face and
> > but looking at outline.el gave me no hit's as to why that was the
> > reason. So I am filing this issue with the minimal configuration to
> > recreate the issue.
>
> Thanks for 100% reproducible case.  I don't know what whitespace-mode
> does with whitespace where outline-minor-mode-buttons adds own text
> properties for buttons, but it's clear there is a conflict between
> these two packages each trying to do own stuff in the same shared part
> of the buffer.  By default outline-minor-mode inherits text properties
> at the beginning of the line together with whitespace properties that
> make the buttons not visible.
>
> So you can just override the face inherited from the buffer with
> own customization:
>
> 1. M-x customize-icon RET outline-open RET and the same for outline-close
> 2. in the Plist section you can add own value for the face:
>
>             Plist:
>             [INS] [DEL]:
>                         Key: :face
>                         Value: outline-2
>
> PS: Maybe we need to add a new boolean option that will define
> whether to inherit the face attribute from the buffer or
> to use the outline faces.
>

--000000000000a2393d06059df7f8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">&gt; PS: Maybe we need to add a new boolean option that wi=
ll define<br>&gt; whether to inherit the face attribute from the buffer or<=
br>&gt; to use the outline faces.<br><br>I think that might be the way to h=
andle it. It might even be worth having that as the default because there m=
ight be other faces that inherit from the buffer.</div><br><div class=3D"gm=
ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 18, 2023 at 6:=
59=E2=80=AFAM Juri Linkov &lt;<a href=3D"mailto:juri@HIDDEN">juri@linko=
v.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex">&gt; I kind of make use of the relatively new outline-minor-mode-butto=
ns<br>
&gt; feature. I have specfic settings regarding whitespace mode and I<br>
&gt; observed that hides the outline buttons deeper than level 2. Trying to=
<br>
&gt; debug this I found that was related to the whitespace-space face and<b=
r>
&gt; but looking at outline.el gave me no hit&#39;s as to why that was the<=
br>
&gt; reason. So I am filing this issue with the minimal configuration to<br=
>
&gt; recreate the issue.<br>
<br>
Thanks for 100% reproducible case.=C2=A0 I don&#39;t know what whitespace-m=
ode<br>
does with whitespace where outline-minor-mode-buttons adds own text<br>
properties for buttons, but it&#39;s clear there is a conflict between<br>
these two packages each trying to do own stuff in the same shared part<br>
of the buffer.=C2=A0 By default outline-minor-mode inherits text properties=
<br>
at the beginning of the line together with whitespace properties that<br>
make the buttons not visible.<br>
<br>
So you can just override the face inherited from the buffer with<br>
own customization:<br>
<br>
1. M-x customize-icon RET outline-open RET and the same for outline-close<b=
r>
2. in the Plist section you can add own value for the face:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Plist:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [INS] [DEL]:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 Key: :face<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 Value: outline-2<br>
<br>
PS: Maybe we need to add a new boolean option that will define<br>
whether to inherit the face attribute from the buffer or<br>
to use the outline faces.<br>
</blockquote></div>

--000000000000a2393d06059df7f8--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66023; Package emacs. Full text available.

Message received at 66023 <at> debbugs.gnu.org:


Received: (at 66023) by debbugs.gnu.org; 18 Sep 2023 06:59:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 02:59:27 2023
Received: from localhost ([127.0.0.1]:51913 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qi8EB-0004dZ-Aa
	for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 02:59:27 -0400
Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:60767)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1qi8E7-0004dF-Ud
 for 66023 <at> debbugs.gnu.org; Mon, 18 Sep 2023 02:59:25 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id BDE691C000B;
 Mon, 18 Sep 2023 06:59:06 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Yilkal Argaw <yilkalargawworkneh@HIDDEN>
Subject: Re: bug#66023: outline-minor-mode-use-buttons depends on
 whitespace-space face for some reason
In-Reply-To: <CAJddU=qqxc8Tk7OuVzwCmFW56Fkw+Xc9JcdC+L8j0QSxdodbcg@HIDDEN>
 (Yilkal Argaw's message of "Sat, 16 Sep 2023 07:45:31 +0000")
Organization: LINKOV.NET
References: <CAJddU=qqxc8Tk7OuVzwCmFW56Fkw+Xc9JcdC+L8j0QSxdodbcg@HIDDEN>
Date: Mon, 18 Sep 2023 09:42:25 +0300
Message-ID: <86wmwoxb5i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 66023
Cc: 66023 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> I kind of make use of the relatively new outline-minor-mode-buttons
> feature. I have specfic settings regarding whitespace mode and I
> observed that hides the outline buttons deeper than level 2. Trying to
> debug this I found that was related to the whitespace-space face and
> but looking at outline.el gave me no hit's as to why that was the
> reason. So I am filing this issue with the minimal configuration to
> recreate the issue.

Thanks for 100% reproducible case.  I don't know what whitespace-mode
does with whitespace where outline-minor-mode-buttons adds own text
properties for buttons, but it's clear there is a conflict between
these two packages each trying to do own stuff in the same shared part
of the buffer.  By default outline-minor-mode inherits text properties
at the beginning of the line together with whitespace properties that
make the buttons not visible.

So you can just override the face inherited from the buffer with
own customization:

1. M-x customize-icon RET outline-open RET and the same for outline-close
2. in the Plist section you can add own value for the face:

            Plist:
            [INS] [DEL]:
                        Key: :face
                        Value: outline-2

PS: Maybe we need to add a new boolean option that will define
whether to inherit the face attribute from the buffer or
to use the outline faces.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66023; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Sep 2023 07:45:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 16 03:45:54 2023
Received: from localhost ([127.0.0.1]:45284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qhQ02-0005Fb-3b
	for submit <at> debbugs.gnu.org; Sat, 16 Sep 2023 03:45:54 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37130)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yilkalargawworkneh@HIDDEN>) id 1qhPzw-0005FE-UH
 for submit <at> debbugs.gnu.org; Sat, 16 Sep 2023 03:45:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yilkalargawworkneh@HIDDEN>)
 id 1qhPzk-0006UZ-GV
 for bug-gnu-emacs@HIDDEN; Sat, 16 Sep 2023 03:45:36 -0400
Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yilkalargawworkneh@HIDDEN>)
 id 1qhPzj-0002PN-0U
 for bug-gnu-emacs@HIDDEN; Sat, 16 Sep 2023 03:45:36 -0400
Received: by mail-ot1-x329.google.com with SMTP id
 46e09a7af769-6c0f2addaefso1679186a34.2
 for <bug-gnu-emacs@HIDDEN>; Sat, 16 Sep 2023 00:45:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1694850332; x=1695455132; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=yCgBF6H3eHUao/CW86KpWTlCZzfScNhJj2LYH5J/9N8=;
 b=ZWxf5yrQsyb2p/zXQKK26YujcvWuGixGuScmdSOt91SZy/tgGtUDrGrxOjcWX2WoYK
 FsQ/lBpvxjDVUOwyk2xH66YDs2g5OVfNz0rc+NdbU7xxeh2Uj1us/R+htCUGLRKFeF/o
 9u5So3C/oAD/v7OrV+1hkxIk7cnW9/bi2WOxZTjwvEmIZNhxyJZTyHpst+l505fFzcI6
 WbM6uiC8DFLrB6WGrHVqi84pyS8oPzEKlNbuKpjUXSVYhNQJL8K976loamPuiU33GGDn
 T5UDrrW3F2ITNpnDjDm47rz7/ZoNfnrbERFR5dSg7tumcuYRyADEyRBLVp5lZ0iw4aBs
 bZoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694850332; x=1695455132;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=yCgBF6H3eHUao/CW86KpWTlCZzfScNhJj2LYH5J/9N8=;
 b=rQgO770zxSXgILiJhjc8epWnNSzwPb2UpXtWV5/jrd+gdWiFfeuXiqSU286JsDglpw
 5lqRX2/B57t0nM4D+qJQbmEVYYE0mzoH758fbi/hjFYjy9J4c7ArHnakTmIC+VWxrfPn
 53N5IOcFXLFAZzVX4cHMTloFY9/gR10EeILKnKaawxU0hu3wpDEagywXG/0j43nBOCmw
 xl259rVEAXFX85I7vmi/3wG+B0knekCNhy45Q02U46PRHMsZVjEJg86LGcYV253M0Bvu
 agVhJQpeSPa66KZAQ5T9laz/0vEtc8KH9AAA27bSuhsv1AZ6v16hty9fUi6EqHcrvHBk
 g72A==
X-Gm-Message-State: AOJu0YyG7+nmiAHy/1za1FkT6RssMKoXqqmfOBWKa2n78ZeUikUyWZQa
 ALZi95F62EVuhcTYkhoSCjxbLuhD/CfHMb/LFpT203/+
X-Google-Smtp-Source: AGHT+IEVA98g6SNSoZqVONzvM+QLTLdXosAZRgOB+6SbbNY2pByG2iPVdNrBd3Hkz90QASVncg111yAcTGNb5qCAW3c=
X-Received: by 2002:a9d:6c95:0:b0:6be:fb88:8352 with SMTP id
 c21-20020a9d6c95000000b006befb888352mr3503892otr.8.1694850331739; Sat, 16 Sep
 2023 00:45:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ac9:6146:0:b0:4f3:a610:1c53 with HTTP; Sat, 16 Sep 2023
 00:45:31 -0700 (PDT)
From: Yilkal Argaw <yilkalargawworkneh@HIDDEN>
Date: Sat, 16 Sep 2023 07:45:31 +0000
Message-ID: <CAJddU=qqxc8Tk7OuVzwCmFW56Fkw+Xc9JcdC+L8j0QSxdodbcg@HIDDEN>
Subject: outline-minor-mode-use-buttons depends on whitespace-space face for
 some reason
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::329;
 envelope-from=yilkalargawworkneh@HIDDEN; helo=mail-ot1-x329.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

I kind of make use of the relatively new outline-minor-mode-buttons
feature. I have specfic settings regarding whitespace mode and I
observed that hides the outline buttons deeper than level 2. Trying to
debug this I found that was related to the whitespace-space face and
but looking at outline.el gave me no hit's as to why that was the
reason. So I am filing this issue with the minimal configuration to
recreate the issue.

Emacs Version
GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version
1.16.0, Xaw3d scroll bars)

The minimal config to create the issue is
(with-eval-after-load 'whitespace
  (setq whitespace-style (quote (face spaces tabs space-mark tab-mark)))
  (setq whitespace-display-mappings '((space-mark 32 [183] [46])
(tab-mark 9 [9655 9] [92 9]))))

(add-hook 'after-init-hook (global-whitespace-mode t))

(add-hook 'prog-mode-hook 'outline-minor-mode t)

(add-hook 'outline-minor-mode-hook
            (setq outline-minor-mode-use-buttons 't
                     outline-minor-mode-cycle 't
                     outline-minor-mode-cycle-filter 'bolp))

(custom-fset-faces `(whitespace-space ((t (:foreground
,(face-background 'default) :background nil))))
                               `(whitespace-tabs ((t (:foreground
,(face-background 'default) :background nil)))))


After that try and open code a python or ruby class that has method
inside it. It can be clearly seen that the outline-buttons for the
methods exist but are hidden because they are somehow affected by
whitespace-space face. (Marking the code shows that the buttons exist
but are hidden). I hope this helps in recreating the issue it was hard
to explain because it was very specific.

With Regards
Yilkal Argaw




Acknowledgement sent to Yilkal Argaw <yilkalargawworkneh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#66023; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 18 Sep 2023 23:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.