From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57813: Icon images are non-functional Date: Thu, 15 Sep 2022 21:32:58 +0300 Message-ID: <835yhozdwl.fsf@gnu.org> References: <86pmfxlp7s.fsf@mail.linkov.net> <861qsca9cn.fsf@mail.linkov.net> <86sfks8uhn.fsf@mail.linkov.net> <83bkrgziil.fsf@gnu.org> <86pmfw7d79.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13132"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57813@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 20:34:31 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 1oYtgy-00034o-Fe for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 20:34:28 +0200 Original-Received: from localhost ([::1]:34382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYtgx-0004Lq-Dx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 14:34:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYtgY-0004KV-Nx for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 14:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYtgY-0008R4-Ff for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 14:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYtgY-0001ha-97 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2022 18:34:02 +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.16632667956478 (code B ref 57813); Thu, 15 Sep 2022 18:34:02 +0000 Original-Received: (at 57813) by debbugs.gnu.org; 15 Sep 2022 18:33:15 +0000 Original-Received: from localhost ([127.0.0.1]:59161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYtfm-0001gQ-NH for submit@debbugs.gnu.org; Thu, 15 Sep 2022 14:33:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYtfj-0001gC-Uh for 57813@debbugs.gnu.org; Thu, 15 Sep 2022 14:33:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYtfe-0008Jg-6y; Thu, 15 Sep 2022 14:33:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Vs8wic76VNppM76KeLp8nej2MN8VASrHxsvJXrEnOEA=; b=aX+tJaMcmnpX JK1RmKSCwT6MlXGTc2YVD0YrFYQpGvZTX9WHQbx3vWZKy2eksxxjeGK94uu/kik1kFjRicwqxQVtD HodhT11DZDwUWshW4Nn3s41xKRE7J+LnN6maKmGjkB7ELKI0jSXOZNT1sVscdGBsjqWjHfSqJlduJ xxhIp8Tmt0ewfR4Ian/KyHtZs5/UYzOWlQWxBAEH94RijtNIr8rKqZpFkSP9iRQSh2FeFoiRSfRi1 lTxb7IqWccgvFIwLmqOqCmCTJ87+hip1OVXODHE+iJdzkFoYYWWWefqnNO1h76DK1oWYDHd5Orbrr 8ONaFYYbpZbjFLPwkjJ4gw==; Original-Received: from [87.69.77.57] (port=1933 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYtfd-0007y9-KV; Thu, 15 Sep 2022 14:33:05 -0400 In-Reply-To: <86pmfw7d79.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 15 Sep 2022 20:35:38 +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:242630 Archived-At: > From: Juri Linkov > Cc: 57813@debbugs.gnu.org > Date: Thu, 15 Sep 2022 20:35:38 +0300 > > >> 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? Maybe you didn't tell I should? > With something like: > > (setq outline-minor-mode-use-buttons '(derived-mode . special-mode)) I still cannot reproduce this, after evaluating the above and visiting NEWS. Neither do I see buttons in NEWS. What else is needed? Can you show a recipe starting from "emacs -Q"? > 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 And if you load outline.el (not .elc or .eln)? How does the profile before optimization look then?