X-Loop: help-debbugs@HIDDEN Subject: bug#66023: outline-minor-mode-use-buttons depends on whitespace-space face for some reason Resent-From: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 16 Sep 2023 07:46:02 +0000 Resent-Message-ID: <handler.66023.B.169485035420191 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 66023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 66023 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.169485035420191 (code B ref -1); Sat, 16 Sep 2023 07:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2023 07:45:54 +0000 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> 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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Subject: bug#66023: Acknowledgement (outline-minor-mode-use-buttons depends on whitespace-space face for some reason) Message-ID: <handler.66023.B.169485035420191.ack <at> debbugs.gnu.org> References: <CAJddU=qqxc8Tk7OuVzwCmFW56Fkw+Xc9JcdC+L8j0QSxdodbcg@HIDDEN> X-Gnu-PR-Message: ack 66023 X-Gnu-PR-Package: emacs Reply-To: 66023 <at> debbugs.gnu.org Date: Sat, 16 Sep 2023 07:46:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 66023 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 66023: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66023 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#66023: outline-minor-mode-use-buttons depends on whitespace-space face for some reason Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 18 Sep 2023 07:00:03 +0000 Resent-Message-ID: <handler.66023.B66023.169502036717833 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 66023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Cc: 66023 <at> debbugs.gnu.org Received: via spool by 66023-submit <at> debbugs.gnu.org id=B66023.169502036717833 (code B ref 66023); Mon, 18 Sep 2023 07:00:03 +0000 Received: (at 66023) by debbugs.gnu.org; 18 Sep 2023 06:59:27 +0000 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> 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-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.
X-Loop: help-debbugs@HIDDEN Subject: bug#66023: outline-minor-mode-use-buttons depends on whitespace-space face for some reason Resent-From: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 18 Sep 2023 08:32:02 +0000 Resent-Message-ID: <handler.66023.B66023.169502589927902 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 66023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 66023 <at> debbugs.gnu.org Received: via spool by 66023-submit <at> debbugs.gnu.org id=B66023.169502589927902 (code B ref 66023); Mon, 18 Sep 2023 08:32:02 +0000 Received: (at 66023) by debbugs.gnu.org; 18 Sep 2023 08:31:39 +0000 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> Content-Type: multipart/alternative; boundary="000000000000a2393d06059df7f8" X-Spam-Score: 0.0 (/) 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">> PS: Maybe we need to add a new boolean option that wi= ll define<br>> whether to inherit the face attribute from the buffer or<= br>> 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 <<a href=3D"mailto:juri@HIDDEN">juri@linko= v.net</a>> 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">> I kind of make use of the relatively new outline-minor-mode-butto= ns<br> > feature. I have specfic settings regarding whitespace mode and I<br> > observed that hides the outline buttons deeper than level 2. Trying to= <br> > debug this I found that was related to the whitespace-space face and<b= r> > but looking at outline.el gave me no hit's as to why that was the<= br> > reason. So I am filing this issue with the minimal configuration to<br= > > recreate the issue.<br> <br> Thanks for 100% reproducible case.=C2=A0 I don't know what whitespace-m= ode<br> does with whitespace where outline-minor-mode-buttons adds own text<br> properties for buttons, but it'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--
Received: (at control) by debbugs.gnu.org; 18 Sep 2023 22:51:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 18:51:33 2023 Received: from localhost ([127.0.0.1]:54897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qiN5Z-0004ji-7z for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 18:51:33 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:51665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1qiN5V-0004jP-Hd for control <at> debbugs.gnu.org; Mon, 18 Sep 2023 18:51:31 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bffd6c1460so31774201fa.3 for <control <at> debbugs.gnu.org>; Mon, 18 Sep 2023 15:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695077475; x=1695682275; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=oLy7tYDHDadbaB4LBSKgyPDdL0DhJTAJP0i2gl6Nptk=; b=iVnblovpY3sWzTfoJosiGJ0QHYwUNPeaZzFMLYG1VldR2Ebuf5nlPoC58VXDqNtUso jI+yVMRGBCGNEILQSJFCUoIiYpAD5KelhOdU0WYfr0KNV3DANkdokkluTMMlGpgpyGc5 N+tWveBtjFe8yweFleTht1rkyQQGGa/IkSNeV3OdGMRNxaVh66aPU/96mVxZhm8WljWP ugBiRJQDKlF4pci5ROD5lMDLxwTpci/mgEsSll106t5ZbIYQ9FZhhSioyz/46lMxFMs1 hKh7Jwjf9I28UYGOljI0ii4AwwOBW7UfTF7JMr5B6EoRsfHsrYU202C49ZBbx9bw0Mej mLDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695077475; x=1695682275; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oLy7tYDHDadbaB4LBSKgyPDdL0DhJTAJP0i2gl6Nptk=; b=lNLZrPnDxhOADVPPFVTttGsnzT0hkhw8lX1c5aMva3P5/wQ1RpLOfpiL5UaHzNvgZc qGPEqcFXIH/1oN59wVS9hNjwFEyR4ZsvkoijbP0nM4S56wBdtBTMPZBhVnz8yBYpt1RH QTwJ+J21H6tXjKNmtxXqaeKeEvETLX+qbnTfab64W3kKDBaU8TIufXNYki7NN38WuP+r +0mcWRNyGAGd+QRmQ7fUy0CIEHsauz1gV3kVEEommEpnl7xyV2rbw6/IfCYy7EFAm23/ M3w2eH3KbNDSaEk0HFXaZpTSUVvI3NRVjQt/d4UCyeRaNoyewEdRUHFZX2ORN6A7d/uv C82w== X-Gm-Message-State: AOJu0Yz5wb53WoqPWX7VJt3G3ANrytdQcbE9iIzOuDRS/nVx6SAGCdd+ Mzecwe9EeM5NqOTF7BFQyZ/2rRGSpCu2d4WUSTRM/Ixx X-Google-Smtp-Source: AGHT+IFpvfx/TR43+IgfAdrcEs9DhfNiVo+dI0f1TwSZY+fT1TPndNZxyQ5jNVQJROdXRUMBYqcnWvdqRUDTbv7XNyg= X-Received: by 2002:a2e:3614:0:b0:2b9:f27f:e491 with SMTP id d20-20020a2e3614000000b002b9f27fe491mr9890254lja.42.1695077475075; Mon, 18 Sep 2023 15:51:15 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 18 Sep 2023 15:51:14 -0700 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Mon, 18 Sep 2023 15:51:14 -0700 Message-ID: <CADwFkmm1FWwXbS+kj5OVE7xUhNG_nv9RsrsCqMyxU_FxPvyk2g@HIDDEN> Subject: control message for bug #66023 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) severity 66023 minor quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.