From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: A bit of work around org-clock-idle-time Date: Sat, 28 Jul 2012 01:43:28 +0200 Message-ID: <87r4rwsrbz.fsf@gnu.org> References: <8935.1342651403@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuuBI-0008Iy-Ia for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 19:42:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuuBH-0004N1-Pe for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 19:42:52 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:55348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuuBH-0004Mr-Ib for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 19:42:51 -0400 Received: by wibhq4 with SMTP id hq4so99969wib.12 for ; Fri, 27 Jul 2012 16:42:50 -0700 (PDT) In-Reply-To: <8935.1342651403@alphaville> (Nick Dokos's message of "Wed, 18 Jul 2012 18:43:23 -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: nicholas.dokos@hp.com Cc: Nicolas Calderon , emacs-orgmode@gnu.org Nick Dokos writes: > o in org-clock.el, instead of checking whether x11idle exists or not, how > about something like this: > > ... > (eq window-system 'x) > (max (org-x11-idle-seconds) (org-emacs-idle-seconds)) > ... Yes, this is cleaner, thanks! -- Bastien