From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#66023: outline-minor-mode-use-buttons depends on whitespace-space face for some reason Date: Mon, 18 Sep 2023 09:42:25 +0300 Organization: LINKOV.NET Message-ID: <86wmwoxb5i.fsf@mail.linkov.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19963"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 66023@debbugs.gnu.org To: Yilkal Argaw Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 18 09:00:35 2023 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 1qi8FH-00051Z-6R for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Sep 2023 09:00:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qi8Ex-0000bc-F3; Mon, 18 Sep 2023 03:00:15 -0400 Original-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 ) id 1qi8Ek-0000Od-7Y for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 03:00:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qi8Ee-0004en-Ld for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 02:59:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qi8El-0004fg-4t for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 03:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2023 07:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66023 X-GNU-PR-Package: emacs Original-Received: via spool by 66023-submit@debbugs.gnu.org id=B66023.169502036717833 (code B ref 66023); Mon, 18 Sep 2023 07:00:03 +0000 Original-Received: (at 66023) by debbugs.gnu.org; 18 Sep 2023 06:59:27 +0000 Original-Received: from localhost ([127.0.0.1]:51913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qi8EB-0004dZ-Aa for submit@debbugs.gnu.org; Mon, 18 Sep 2023 02:59:27 -0400 Original-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 ) id 1qi8E7-0004dF-Ud for 66023@debbugs.gnu.org; Mon, 18 Sep 2023 02:59:25 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id BDE691C000B; Mon, 18 Sep 2023 06:59:06 +0000 (UTC) In-Reply-To: (Yilkal Argaw's message of "Sat, 16 Sep 2023 07:45:31 +0000") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270747 Archived-At: > 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.