From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Three strikes them out Date: Sat, 31 May 2008 12:24:56 +0200 Message-ID: <48412778.7030302@gmx.at> References: <48403C07.5080404@gmail.com> <484113E8.1040008@gmail.com> <4841177E.8020708@gmx.at> <484118F0.2050805@gmail.com> 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 1212229499 26219 80.91.229.12 (31 May 2008 10:24:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2008 10:24:59 +0000 (UTC) Cc: Stefan Monnier , Emacs Devel To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 31 12:25:40 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 1K2OGq-00079k-OM for ged-emacs-devel@m.gmane.org; Sat, 31 May 2008 12:25:09 +0200 Original-Received: from localhost ([127.0.0.1]:59215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2OG4-0003os-Ls for ged-emacs-devel@m.gmane.org; Sat, 31 May 2008 06:24:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2OFv-0003mJ-KH for emacs-devel@gnu.org; Sat, 31 May 2008 06:24:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2OFs-0003hv-GC for emacs-devel@gnu.org; Sat, 31 May 2008 06:24:09 -0400 Original-Received: from [199.232.76.173] (port=46889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2OFs-0003hg-62 for emacs-devel@gnu.org; Sat, 31 May 2008 06:24:08 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:38052) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K2OFr-0001Og-MG for emacs-devel@gnu.org; Sat, 31 May 2008 06:24:08 -0400 Original-Received: (qmail invoked by alias); 31 May 2008 10:24:06 -0000 Original-Received: from 88-117-41-42.adsl.highway.telekom.at (EHLO [88.117.41.42]) [88.117.41.42] by mail.gmx.net (mp025) with SMTP; 31 May 2008 12:24:06 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18aB5o9XVQaw6WAaUegHu+f6w+WgE3Xzw1lftGoLx X3TAeLBEZiORrW User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <484118F0.2050805@gmail.com> X-Y-GMX-Trusted: 0 X-detected-kernel: 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:98123 Archived-At: > What happens when you set `jit-lock-context-time' to a very large value? > > I can dig up one of those cases that loops and try it, but why do you > propose that? (It might of course help a bit to find out where the > problem happens and I have one case where this could indeed be > interesting, but I am not sure if that is what you mean.) If font-lock loops within contextual refontification there's either a bug in font-lock (which I consider highly impropable) or there's a bug in your code (maybe some function called by a hook or another timer) that changes the buffer and re-triggers contextual refontification. Whatever applies should be resolved. > The general problem that looping in a timer may hang Emacs is what I > really wanted to address here. You can't: As soon as you manage to exit looping, a repeating idle timer will fire again.