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: Wed, 17 Oct 2007 16:41:38 +0200 Message-ID: References: <87y7tp90i1.fsf@stupidchicken.com> <87d5azjvcz.fsf@furball.mit.edu> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192632130 26647 80.91.229.10 (17 Oct 2007 14:42:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2007 14:42:10 +0000 (UTC) Cc: Emacs Devel To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 17 16:43:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1IiA7h-0003rN-Q5 for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 16:43:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiA5t-0002Et-WF for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 10:41:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IiA5e-00025x-N2 for emacs-devel@gnu.org; Wed, 17 Oct 2007 10:41:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IiA5c-000252-VP for emacs-devel@gnu.org; Wed, 17 Oct 2007 10:41:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiA5c-00024L-13 for emacs-devel@gnu.org; Wed, 17 Oct 2007 10:41:40 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IiA5b-0004L5-Ht for emacs-devel@gnu.org; Wed, 17 Oct 2007 10:41:39 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so2889383wah for ; Wed, 17 Oct 2007 07:41:38 -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=ogq0yh/8hn2XvV2NETe53oIHpIkocMNAIVapfK3uBSc=; b=uS3464/s7kNTT2CO5Z4IGEiVVkru3zHlDOyzGjaCeSeoFH37W0awWHYOhZ1r/yH7zqUDYYZSAi1qYCXoAU2enxUiOwZsvLEj8545VRHlEFh7xDK4G7lVDhWxuKv0LFAfCvdn9ooqD/BCaHePOKc/8GT/yfoLT6PPB+42uYHHnDo= 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=GAF2F6ctt9HjkY9Wp8NdIx2mrKRtfOQ0rYdjk26DLOCf7BccUKsF3RDcU0MqzJiAGY3Rp0d+6g5jluDd26HvAKz4JgsN7eScAWZhNo5FPX2Oi08UUCsbgCYXOE6fhLSeNK0s0Xk+HDSM6pftCSbqX5cDwe4925S+CJu3yGVp3l4= Original-Received: by 10.114.13.1 with SMTP id 1mr9915323wam.1192632098312; Wed, 17 Oct 2007 07:41:38 -0700 (PDT) Original-Received: by 10.115.72.13 with HTTP; Wed, 17 Oct 2007 07:41:38 -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:81068 Archived-At: (From an old thread) On 8/18/06, Richard Stallman wrote: > To enable that, I added a function current-idle-time. Is there any reason for `current-idle-time' returning nil when Emacs is not idle, instead of (0 0 0)? That return value is not documented, and though there are time functions that understand nil as (0 0 0): ELISP> (timer-set-time (timer-create) nil) [t nil nil 0 nil nil nil nil] there are others that do not: ELISP> (time-add (current-idle-time) '(0 0 0)) *** Eval error *** Wrong type argument: number-or-marker-p, nil Juanma