From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: CVS version: message mode + flyspell terribly slow Date: Thu, 27 Nov 2008 19:23:58 +0100 Message-ID: <87myfl3u4h.fsf@marauder.physik.uni-ulm.de> References: <87iqqa9pc4.fsf@cyd.mit.edu> <871vwy41l2.fsf@cyd.mit.edu> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227810270 30291 80.91.229.12 (27 Nov 2008 18:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 18:24:30 +0000 (UTC) Cc: kzeitler@alcatel-lucent.com, Stefan Monnier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 27 19:25:31 2008 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 1L5lYQ-0005sO-Tr for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 19:25:31 +0100 Original-Received: from localhost ([127.0.0.1]:38032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5lXG-0005Pb-N6 for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 13:24:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5lXC-0005PF-Ls for emacs-devel@gnu.org; Thu, 27 Nov 2008 13:24:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5lXA-0005Oj-KF for emacs-devel@gnu.org; Thu, 27 Nov 2008 13:24:13 -0500 Original-Received: from [199.232.76.173] (port=36164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5lXA-0005Og-DH for emacs-devel@gnu.org; Thu, 27 Nov 2008 13:24:12 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]:39254) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L5lX9-0008JK-UR for emacs-devel@gnu.org; Thu, 27 Nov 2008 13:24:12 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mARIO1Zs027026; Thu, 27 Nov 2008 19:24:01 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 14DCF134DB; Thu, 27 Nov 2008 19:24:01 +0100 (CET) X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l; 3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2; n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3, Stefan Monnier , kzeitler@alcatel-lucent.com, emacs-devel@gnu.org In-Reply-To: <871vwy41l2.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 26 Nov 2008 16:30:33 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-Misty-Metrics: poseidon 1170; Body=4 Fuz1=4 Fuz2=4 X-Virus-Scanned: by amavisd-new X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:106246 Archived-At: On Wed, Nov 26 2008, Chong Yidong wrote: > It turns out that tool-bar-make-keymap is rather expensive, leading to > slowdowns like the above when it is called repeatedly. I'm not sure why > flyspell+message causes it to be called so often, though. Maybe a gnus > hacker can enlighten us. message-make-tool-bar only calls any tool-bar-* functions when message-tool-bar-map is nil. Thus it should only happen once per session. I don't see that it's called repeatedly. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/