From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Three strikes them out Date: Sun, 01 Jun 2008 01:09:49 +0200 Message-ID: <4841DABD.5050705@gmail.com> References: <48403C07.5080404@gmail.com> <484113E8.1040008@gmail.com> <4841177E.8020708@gmx.at> <484118F0.2050805@gmail.com> <48412778.7030302@gmx.at> <48413D82.9080304@gmail.com> <48415454.9050607@gmx.at> <48415CC6.8060108@gmail.com> <4841D5F7.40706@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212275407 16391 80.91.229.12 (31 May 2008 23:10:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2008 23:10:07 +0000 (UTC) Cc: Stefan Monnier , Emacs Devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 01 01:10:49 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 1K2aDo-0000pM-Pt for ged-emacs-devel@m.gmane.org; Sun, 01 Jun 2008 01:10:49 +0200 Original-Received: from localhost ([127.0.0.1]:35740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2aD2-00004u-Rq for ged-emacs-devel@m.gmane.org; Sat, 31 May 2008 19:10:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2aCz-0008Vc-7m for emacs-devel@gnu.org; Sat, 31 May 2008 19:09:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2aCx-0008Ta-MP for emacs-devel@gnu.org; Sat, 31 May 2008 19:09:56 -0400 Original-Received: from [199.232.76.173] (port=46071 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2aCx-0008TP-IV for emacs-devel@gnu.org; Sat, 31 May 2008 19:09:55 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:42377) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2aCw-0004ML-SZ for emacs-devel@gnu.org; Sat, 31 May 2008 19:09:55 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:63703 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1K2aCu-0001TH-8A; Sun, 01 Jun 2008 01:09:53 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <4841D5F7.40706@gmx.at> X-Antivirus: avast! (VPS 080531-1, 2008-05-31), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1K2aCu-0001TH-8A. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1K2aCu-0001TH-8A 6b7ff00182846d178d9812a7c4b38564 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:98156 Archived-At: martin rudalics wrote: > > Does that mean I have to arrange to avoid after-change-functions to be > > run during fontification? > > I'm afraid I don't understand your question. Font-lock routines bind > `inhibit-modification-hooks' to t so these won't be run during > fontification. Ah, thanks. That was not clear to me. > I suppose you use some other hook or timer based code > that modifes the buffer and triggers contextual fontification over and > over. This time I happened to change the text property 'fontified (because of a test I forgot to remove). But the hang I experienced during this did not lock up Emacs totally. Thinking about it again that is what I expect since the loops involved restarting idle timers.