From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Display performance degradation Date: Fri, 18 Dec 2009 12:53:21 +0900 Message-ID: References: <87tyvplky8.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261108427 13382 80.91.229.12 (18 Dec 2009 03:53:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 03:53:47 +0000 (UTC) Cc: emacs-devel@gnu.org, YAMAMOTO Mitsuharu , Kenichi Handa To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 18 04:53:40 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLTuM-0005PQ-FE for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2009 04:53:38 +0100 Original-Received: from localhost ([127.0.0.1]:53444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLTuL-0006JX-WA for ged-emacs-devel@m.gmane.org; Thu, 17 Dec 2009 22:53:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLTuG-0006GY-Gw for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:53:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLTuC-00068o-QG for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:53:32 -0500 Original-Received: from [199.232.76.173] (port=33867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLTuC-00068f-Mj for emacs-devel@gnu.org; Thu, 17 Dec 2009 22:53:28 -0500 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:33112) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NLTuA-00028a-MC; Thu, 17 Dec 2009 22:53:27 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id nBI3rNCX022060; Fri, 18 Dec 2009 12:53:23 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay11.aps.necel.com with ESMTP; Fri, 18 Dec 2009 12:53:23 +0900 Original-Received: from dhlpc061 ([10.114.114.39] [10.114.114.39]) by relay11.aps.necel.com with ESMTP; Fri, 18 Dec 2009 12:53:23 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id C0BCE52E1E1; Fri, 18 Dec 2009 12:53:22 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <87tyvplky8.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 17 Dec 2009 09:43:59 -0500") Original-Lines: 20 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118694 Archived-At: Chong Yidong writes: >>> I don't know if this particular problem can be worked around, probably >>> there is a way with different caching and/or status flags, but it will >>> be just another band-aid. The real problem is harder to fix. >> >> Then please enable the feature of making Emacs react to the >> change of dpi, etc only after the workaroubnd is found or >> the real problem is fixed. > > Yes, this is the only sane approach. For "unlikely changes," it would seem fine to have a sort of out-of-band checker that checks only occasionally and invalidates relevant caches (and forces redisplay) when a change is found... -miles -- Faith, n. Belief without evidence in what is told by one who speaks without knowledge, of things without parallel.