From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15740: 24.3.50; enabling & disabling custom themes is slow Date: Sun, 27 Oct 2013 14:07:30 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382908164 5207 80.91.229.3 (27 Oct 2013 21:09:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2013 21:09:24 +0000 (UTC) To: 15740@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 22:09:27 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VaXaP-0003S3-HG for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2013 22:09:25 +0100 Original-Received: from localhost ([::1]:39063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXaP-0006og-0r for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2013 17:09:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXaE-0006nK-2S for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:09:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaXa3-00015P-EI for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:09:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXa3-00015K-AC for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VaXa2-0004fM-JG for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2013 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15740 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138290808317859 (code B ref -1); Sun, 27 Oct 2013 21:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2013 21:08:03 +0000 Original-Received: from localhost ([127.0.0.1]:47776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaXZ4-0004dy-HW for submit@debbugs.gnu.org; Sun, 27 Oct 2013 17:08:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40444) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaXZ2-0004dS-IW for submit@debbugs.gnu.org; Sun, 27 Oct 2013 17:08:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaXYo-0000wW-Om for submit@debbugs.gnu.org; Sun, 27 Oct 2013 17:07:55 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXYo-0000wQ-Lr for submit@debbugs.gnu.org; Sun, 27 Oct 2013 17:07:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXYh-0006e4-2X for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:07:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaXYZ-0000vJ-JL for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:07:39 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:24141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXYZ-0000vF-Cx for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 17:07:31 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9RL7Tnh010131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 27 Oct 2013 21:07:30 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9RL7SMJ006617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 27 Oct 2013 21:07:29 GMT Original-Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9RL7SLN006614 for ; Sun, 27 Oct 2013 21:07:28 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79706 Archived-At: Custom themes were presumably inspired from the color themes of library `color-theme.el'. Color themes are very quick, however, compared to custom themes. You can easily cycle among them, instantaneously, with no flicker etc. Not so, custom themes - disabling all enabled themes and then enabling one theme is painfully slow, and you see all of the changes manifested on the screen, slowly. The same is true if there is only one theme enabled: disabling it and enabling another is very slow. Is this something that could be fixed? A custom theme is, I believe, heavier duty, saving more information than a color theme. A color theme records frame parameters, faces, and some variables - no more. Does this difference in the amount of information account for the difference in performance? Dunno. Hoping someone will take a look... FYI, color-theme.el is here, and it still works fine with Emacs 24: http://www.nongnu.org/color-theme. See also bug #15687: cus-theme.el should provide a means to restore the initial state, before enabling a theme. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-10-19 on LEG570 Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG= =3D1'