From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#41200: Displaying a tooltip with x-show-tip gets very slow as more faces are defined Date: Fri, 15 May 2020 17:23:17 -0400 Message-ID: References: <9c487146-1fad-0301-fe1a-8d98d560c6ea@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="128540"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 Fri May 15 23:27:51 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 1jZhry-000XLi-K6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 23:27:50 +0200 Original-Received: from localhost ([::1]:60646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZhrx-0001Fm-Li for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 17:27:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZhoI-0004wp-SX for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 17:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZhoI-0007fO-IQ for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 17:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZhoI-0001cQ-Ce for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 17:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2020 21:24:02 +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.15895778076179 (code B ref 41200); Fri, 15 May 2020 21:24:02 +0000 Original-Received: (at 41200) by debbugs.gnu.org; 15 May 2020 21:23:27 +0000 Original-Received: from localhost ([127.0.0.1]:38968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZhnj-0001ba-0e for submit@debbugs.gnu.org; Fri, 15 May 2020 17:23:27 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZhnh-0001bO-Q1 for 41200@debbugs.gnu.org; Fri, 15 May 2020 17:23:26 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 36BFB440293; Fri, 15 May 2020 17:23:20 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A805A440280; Fri, 15 May 2020 17:23:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1589577798; bh=ttpvBgq7+c46NHvLuc4VR2oMwVjgC+Iy63lh6sOzryc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=nBmAfG9LQJnsIVkd1vEXF8mdspAvDe35ASYW5rsNII1Cd2EOJDhS1ql9moVwvvvVp 2ALunoakUnJsNXgFg5VTGWPeYFjJIw6W7rcnD3eCnADnCOMO9K0QZ4kIHaNl/Pm7EL /9B6pLLt6p2F+8Vf/o0sl/NadiCFUFa+AzSRy4joAhXB6UoC3xeX7YKCwcq1dp1VN3 7Fo1nxZ36znLvAcYWAGztEBv3vtEZzsVox7XzlUExEZanNNHyA0GCbl9yxY4lsxaSf OBheK5iRBXOnXqwIL58q8hFSV4pL2HXSX/qDsTsUakrK7varjj0qTYmOfHtnwJQps6 kecU/t1Toh/vQ== Original-Received: from alfajor (unknown [216.154.3.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6EA9612024A; Fri, 15 May 2020 17:23:18 -0400 (EDT) In-Reply-To: <9c487146-1fad-0301-fe1a-8d98d560c6ea@gmail.com> ("=?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel"'s message of "Fri, 15 May 2020 15:10:46 -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:180364 Archived-At: > Interesting. I also wonder whether we could fast-track the case where the > face spec is a vector full of 'undefined, since that seems to be the > common case. I was thinking also of the case where no face specs have changed and the frame is "normal" (same frame properties as others, basically) so we could re-use the faces from another frame. [ After all, my Emacs sessions typically have dozens of frames, and only one of them (a minibuffer-only frame) has faces setup differently because it's configured to use a slightly larger font. ] Stefan