From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Nested sit-for's Date: Tue, 23 Oct 2007 03:13:00 -0400 Message-ID: References: <87y7tp90i1.fsf@stupidchicken.com> <87d5azjvcz.fsf@furball.mit.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193125807 22616 80.91.229.12 (23 Oct 2007 07:50:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 07:50:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 09:50:08 2007 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 1IkEWc-0005K2-Nb for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 09:50:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEWU-0005mu-V0 for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 03:49:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkEVi-0005Bu-UP for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkEVc-00055Z-Pn for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEVc-00055O-Hp for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkEVb-00021r-OM for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IkDwi-0000t8-Lx; Tue, 23 Oct 2007 03:13:00 -0400 In-reply-to: (lekktu@gmail.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81512 Archived-At: AFAICS, current-idle-time is used exactly once in the Emacs sources (in jit-lock.el), so I'm not entirely sure what convenience are you talking about; to my eyes it just adds a tiny bit of unneeded complexity to the function's interface... I think it is good to make it easy to test whether Emacs is idle, given that the function already exists and does this. So I will document the current behavior when Emacs is not idle. As far as I can see, jit-lock-stealth-fontify is only called when Emacs is idle, so it does not need to be changed.