From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#41200: Displaying a tooltip with x-show-tip gets very slow as more faces are defined Date: Sun, 17 May 2020 02:03:04 +0300 Organization: LINKOV.NET Message-ID: <87367z324f.fsf@mail.linkov.net> References: <8fd8896a-cd5c-66f4-4792-f65cac4dc4f5@gmail.com> <83lflx896q.fsf@gnu.org> <837dxd31cb.fsf@gnu.org> <789d786d-a07a-65c1-c0e4-433e4c18d64e@gmail.com> <835zcxgrby.fsf@gnu.org> <833681glas.fsf@gnu.org> <53252e93-085c-477f-21df-c909082dffc2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="30928"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 41200@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 17 01:25:12 2020 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 1ja6B6-0007y4-59 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 May 2020 01:25:12 +0200 Original-Received: from localhost ([::1]:55664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja6B5-0006uh-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 19:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja6Aw-0006uN-By for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 19:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ja6Aw-00019x-3A for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 19:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ja6Av-000125-Ug for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 19:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 May 2020 23:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41200 X-GNU-PR-Package: emacs Original-Received: via spool by 41200-submit@debbugs.gnu.org id=B41200.15896714943939 (code B ref 41200); Sat, 16 May 2020 23:25:01 +0000 Original-Received: (at 41200) by debbugs.gnu.org; 16 May 2020 23:24:54 +0000 Original-Received: from localhost ([127.0.0.1]:41912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja6Ao-00011T-4q for submit@debbugs.gnu.org; Sat, 16 May 2020 19:24:54 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:7463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja6Am-00010r-3j for 41200@debbugs.gnu.org; Sat, 16 May 2020 19:24:52 -0400 X-Originating-IP: 91.129.104.245 Original-Received: from mail.gandi.net (m91-129-104-245.cust.tele2.ee [91.129.104.245]) (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 6B1A2240002; Sat, 16 May 2020 23:24:45 +0000 (UTC) In-Reply-To: <53252e93-085c-477f-21df-c909082dffc2@gmail.com> ("=?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel"'s message of "Fri, 15 May 2020 14:50:17 -0400") 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:180412 Archived-At: >>>> I think the problem is that tab-line is declared a basic face, but its >>>> defface form is not in faces.el. >>> >>> Ah, good catch. Current there's a defface for tab-bar in lisp/tab-bar, and since that's preloaded it works, but the defface for tab-line is in lisp/tab-line.el and so isn't preloaded. >>> Should I move both to faces.el? >>> >> Yes, I think so. > > Thanks. I will ask Juri to confirm before moving them, because I realize now that they have a custom group. > Juri (CC'd; hi Juri!), was there a reason to make tab-bar and tab-line basic faces? I see they are both in their own files and groups, instead of being in faces.el. Actually, no reason other than consistency of faces belonging to the same file where they are used. But if it will fix the technical problem, please move them to faces.el, especially given the fact that their counterpart tool-bar face is already defined in faces.el.