From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Nested sit-for's Date: Thu, 17 Aug 2006 23:33:19 +0200 Message-ID: References: <87y7tp90i1.fsf@stupidchicken.com> <87hd0bjvoi.fsf@furball.mit.edu> <44E493E0.5000205@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155850524 30423 80.91.229.2 (17 Aug 2006 21:35:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2006 21:35:24 +0000 (UTC) Cc: Chong Yidong , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 17 23:35:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GDpW0-0000XS-Hx for ged-emacs-devel@m.gmane.org; Thu, 17 Aug 2006 23:35:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDpW0-0006ic-17 for ged-emacs-devel@m.gmane.org; Thu, 17 Aug 2006 17:35:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDpVm-0006g0-VX for emacs-devel@gnu.org; Thu, 17 Aug 2006 17:34:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDpVk-0006em-7D for emacs-devel@gnu.org; Thu, 17 Aug 2006 17:34:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDpVk-0006eh-2y for emacs-devel@gnu.org; Thu, 17 Aug 2006 17:34:44 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GDpcH-0005jp-9M; Thu, 17 Aug 2006 17:41:29 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id AF4A18A0014; Thu, 17 Aug 2006 23:34:36 +0200 (CEST) Original-To: martin rudalics In-Reply-To: <44E493E0.5000205@gmx.at> (martin rudalics's message of "Thu, 17 Aug 2006 18:05:52 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:58481 Archived-At: martin rudalics writes: >> If we simply document that "timers (and process filters) should avoid >> using sit-for", it should be clear to the reader that rare exceptions >> may exist (especially if we add a comment to jit-lock-stealth-fontify >> stating this). After the release, we can probably rework >> jit-lock-stealth-fontify to avoid using sit-for, but I don't think the >> current situation is bad enough to block the release. > > If you accept a pre-command-hook the attached patch would be a first > step in that direction. Is the pre-command-hook installed permanently, or only when jit-lock is active? IMHO, using a permanently installed pre-command-hook is not acceptable, but it may be ok if only used temporarily... But why is this needed at all? -- Kim F. Storm http://www.cua.dk