From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Patch for org-clock.el Date: Tue, 24 Jul 2012 17:10:43 +0200 Message-ID: <87a9ypfb4c.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StgkR-0005VM-IK for emacs-orgmode@gnu.org; Tue, 24 Jul 2012 11:10:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StgkN-0006dK-GH for emacs-orgmode@gnu.org; Tue, 24 Jul 2012 11:10:07 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:57249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StgkN-0006b1-AQ for emacs-orgmode@gnu.org; Tue, 24 Jul 2012 11:10:03 -0400 Received: by wgbez12 with SMTP id ez12so5665091wgb.30 for ; Tue, 24 Jul 2012 08:10:01 -0700 (PDT) In-Reply-To: (Nicolas Calderon's message of "Wed, 18 Jul 2012 16:40:29 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Calderon Cc: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Calderon writes: > From c8979b360749ecd66e298fdbdbc2450668be3a20 Mon Sep 17 00:00:00 2001 > From: Nicolas Calderon Asselin > Date: Wed, 18 Jul 2012 14:58:31 -0400 > Subject: [PATCH 2/2] Added checks to determine which idle time to use > > * lisp/org-clock.el (org-clock-idle-time): Org-mode assumed that x11idle > was an available command, and returned an idle time of 0 if it was not > (never idle). Added checks so that org-idle-time will come from emacs' > own current-idle-time if x11idle cannot be found or if it cannot > retrieve the idle time from X11 Applied, thanks a lot for catching this. -- Bastien