From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Nested sit-for's Date: Thu, 18 Oct 2007 09:40:09 +0200 Message-ID: References: <87y7tp90i1.fsf@stupidchicken.com> <87d5azjvcz.fsf@furball.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192693236 6874 80.91.229.12 (18 Oct 2007 07:40:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 07:40:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 09:40:35 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 1IiPzW-00077G-B4 for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 09:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiPzO-0001ZH-Jg for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 03:40:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IiPzK-0001Yp-Gr for emacs-devel@gnu.org; Thu, 18 Oct 2007 03:40:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IiPzG-0001XW-Q1 for emacs-devel@gnu.org; Thu, 18 Oct 2007 03:40:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiPzG-0001XT-Mz for emacs-devel@gnu.org; Thu, 18 Oct 2007 03:40:10 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IiPzG-0007wZ-8R for emacs-devel@gnu.org; Thu, 18 Oct 2007 03:40:10 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so74234rvf for ; Thu, 18 Oct 2007 00:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=H0uQevr4vGZWgo/6LP8hDuuRZ0BW3ny5o0X+8J4H6L4=; b=LbPi/KBQ58R3WqBI6GYCM8H/+U/iKN4B6wx1pmakNUui/jQ+YNi9vzDB8l3pqQ6K7Pkddnl1Rp/FMY3pyt7PCAaTJlDMKt3hPwsacg5crF/uIdVTK3hg0BNmMVlbwWjgcjVPwDIJZndOYN8m5EoS6MwcywFSP2s0NSYqzlNbbdo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WlbCiCDCZb8eDqjyh7B4v53NGykCYx8Cm0po2odI8Nq0ewi2AdU8Yv2BOvz48K9d9kDek4oo1oR9okCdGIUbxrDPRlTs1X9Z8/jbnZ1z8OOZAOzSzE4xDcwfq+4hQlqzt5Dsg59w0IoWsgT8nec7JnNlscaq8CmUdPXyLbxS5Hc= Original-Received: by 10.115.47.1 with SMTP id z1mr280151waj.1192693209220; Thu, 18 Oct 2007 00:40:09 -0700 (PDT) Original-Received: by 10.115.72.13 with HTTP; Thu, 18 Oct 2007 00:40:09 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:81138 Archived-At: On 10/18/07, Richard Stallman wrote: > I think it is convenient for it to return nil to indicate > "not idle", and if you wish it were (0 0 0), it is easy to > write (or ... '(0 0 0)). 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... ...But anyway, if you are certain that is the right interface, we should at least document it. The fact that the function could return nil is mentioned neither in the docstring nor the "Idle Timers" node of the Elisp reference. Juanma