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: jit-lock timer etc. Date: Thu, 24 Aug 2006 09:58:45 +0200 Message-ID: References: <44E9E5F5.8000400@gmx.at> <87fyfpq5wf.fsf@stupidchicken.com> <44EA3222.9050405@gmx.at> <44EC49AD.2080001@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156406625 23468 80.91.229.2 (24 Aug 2006 08:03:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2006 08:03:45 +0000 (UTC) Cc: rudalics@gmx.at, cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 24 10:03:42 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 1GGABb-00044z-Nv for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2006 10:03:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGABa-0004sE-SE for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2006 04:03:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGA8L-0003UN-CX for emacs-devel@gnu.org; Thu, 24 Aug 2006 04:00:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGA8J-0003TO-9Q for emacs-devel@gnu.org; Thu, 24 Aug 2006 04:00:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGA8I-0003Sm-4g for emacs-devel@gnu.org; Thu, 24 Aug 2006 04:00:10 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGAGD-0002ip-NS; Thu, 24 Aug 2006 04:08:21 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id AA0BE8A006E; Thu, 24 Aug 2006 09:59:58 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Kim F. Storm's message of "Thu, 24 Aug 2006 09:47:01 +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:58797 Archived-At: storm@cua.dk (Kim F. Storm) writes: >> However, returning the value in floating point might be a good method. > > That would be much better and cleaner, IMO. > And we can leave time-to-seconds where it is! > >> But if we do that, we should call it float-idle-time. > > The doc string will tell that the return value is a float. Actually, the return value of the new `current-idle-time' will be either a float or nil (if not idle). So the name `float-idle-time' would be misleading! Shall I fix current-idle-time to return a float or nil? -- Kim F. Storm http://www.cua.dk