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: Thu, 15 Sep 2022 20:35:38 +0300 Organization: LINKOV.NET Message-ID: <86pmfw7d79.fsf@mail.linkov.net> References: <86pmfxlp7s.fsf@mail.linkov.net> <861qsca9cn.fsf@mail.linkov.net> <86sfks8uhn.fsf@mail.linkov.net> <83bkrgziil.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22040"; 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: 57813@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 19:39:49 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 1oYsq4-0005Yp-Po for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 19:39:48 +0200 Original-Received: from localhost ([::1]:33348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYsq3-0007pM-QQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 13:39:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYspK-0007lS-8q for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 13:39:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYspK-0007KJ-0z for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 13:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYspJ-0000FW-SA for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 13:39: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: Thu, 15 Sep 2022 17:39: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.1663263487898 (code B ref 57813); Thu, 15 Sep 2022 17:39:01 +0000 Original-Received: (at 57813) by debbugs.gnu.org; 15 Sep 2022 17:38:07 +0000 Original-Received: from localhost ([127.0.0.1]:59126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYsoR-0000EQ-Bs for submit@debbugs.gnu.org; Thu, 15 Sep 2022 13:38:07 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:34175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYsoM-0000DZ-Ui for 57813@debbugs.gnu.org; Thu, 15 Sep 2022 13:38:06 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id EDBE1C0005; Thu, 15 Sep 2022 17:37:53 +0000 (UTC) In-Reply-To: <83bkrgziil.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Sep 2022 19:53:22 +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:242624 Archived-At: >> S-TAB is so slow that it takes several seconds on etc/NEWS. > > Please profile it and post the profile. For me, S-TAB is > instantaneous in NEWS, even though my Emacs is built without > optimizations. So I wonder what takes it several seconds in your > case. Maybe you didn't enable buttons? With something like: (setq outline-minor-mode-use-buttons '(derived-mode . special-mode)) This is before optimization: 1995 89% - command-execute 1959 87% - funcall-interactively 1946 86% - outline-cycle-buffer 1379 61% - outline-hide-sublevels 1375 61% - outline-flag-region 1375 61% - outline--fix-up-all-buttons 1371 61% - outline-map-region 1371 61% - # 1339 59% - outline--cycle-state 43 1% + outline-end-of-subtree 20 0% + seq-filter 4 0% outline-back-to-heading 20 0% + outline--insert-close-button 4 0% + outline-map-region 567 25% - outline--fix-up-all-buttons 567 25% - outline-map-region 563 25% - # 511 22% - outline--cycle-state 260 11% + outline-end-of-subtree 20 0% + seq-filter 4 0% outline-back-to-heading 16 0% + outline--insert-close-button This is after optimization that removed 'outline--cycle-state': 287 82% - command-execute 229 65% - funcall-interactively 216 61% - outline-cycle-buffer 108 30% - outline-hide-sublevels 104 29% - outline-flag-region 104 29% - outline--fix-up-all-buttons 104 29% - outline-map-region 92 26% - # 80 22% - outline--insert-close-button 64 18% - outline--make-button-overlay 56 16% + icon-elements 8 2% + seq-find 12 3% + define-keymap 4 1% + outline-map-region 108 30% - outline--fix-up-all-buttons 108 30% - outline-map-region 104 29% - # 88 25% - outline--insert-close-button 60 17% - outline--make-button-overlay 60 17% + icon-elements 20 5% + define-keymap