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#57813: Icon images are non-functional Date: Wed, 12 Oct 2022 21:55:55 +0300 Organization: LINKOV.NET Message-ID: <86wn94ooqs.fsf@mail.linkov.net> References: <86pmfxlp7s.fsf@mail.linkov.net> <861qsca9cn.fsf@mail.linkov.net> <867d2476u4.fsf@mail.linkov.net> <86zgequm55.fsf@mail.linkov.net> <87a66q2h1e.fsf@gnus.org> <86wn9s8zek.fsf@mail.linkov.net> <875ygp5cit.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40926"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , 57813@debbugs.gnu.org To: Max Brieiev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 20:58:40 2022 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 1oigwC-000AUy-DY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 20:58:40 +0200 Original-Received: from localhost ([::1]:56280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oigwB-0005sh-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 14:58:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oigva-0005p3-L5 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 14:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oigva-0007NH-Ch for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 14:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oigva-0008KG-0Z for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2022 18:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57813 X-GNU-PR-Package: emacs Original-Received: via spool by 57813-submit@debbugs.gnu.org id=B57813.166560105431964 (code B ref 57813); Wed, 12 Oct 2022 18:58:01 +0000 Original-Received: (at 57813) by debbugs.gnu.org; 12 Oct 2022 18:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:58444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oigv8-0008JU-39 for submit@debbugs.gnu.org; Wed, 12 Oct 2022 14:57:34 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:59631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oigv6-0008JG-4k for 57813@debbugs.gnu.org; Wed, 12 Oct 2022 14:57:33 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 718ED1BF205; Wed, 12 Oct 2022 18:57:23 +0000 (UTC) In-Reply-To: <875ygp5cit.fsf@gmail.com> (Max Brieiev's message of "Wed, 12 Oct 2022 17:42:34 +0300") 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:245245 Archived-At: > It seems in some cases this can cause an overlap between the heading and > the image, like on the screenshot: It's hard to guess whether the outlines are using buttons or margins. Probably buttons, because margins are not displayed in *Completions*. Actually the same problem exists for both of them. By default the button/margin face is inherited, because in most modes inheriting fontification from the outline heading lines provides a nicer look, but your example demonstrates that in some cases that face needs to be overridden. Then there are several variants what face to use instead: 1. the default face; 2. the outline faces outline-1, outline-2, ... corresponding to the outline level. So it's not clear what to prefer here. But there is a simpler way to avoid such a problem: it's possible to customize the face 'completions-group-separator' to remove the face attribute 'strike-through'. Then you can also use: (setq-local outline-minor-mode-highlight 'override) that will use the outline faces on the group headings, and the button/margin will inherit it.