From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: A bit of work around org-clock-idle-time Date: Fri, 27 Jul 2012 23:19:59 -0400 Message-ID: <28102.1343445599@alphaville> References: <8935.1342651403@alphaville> <87r4rwsrbz.fsf@gnu.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuxZY-0004TR-QD for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 23:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuxZX-0008VH-S8 for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 23:20:08 -0400 In-Reply-To: Message from Bastien of "Sat, 28 Jul 2012 01:43:28 +0200." <87r4rwsrbz.fsf@gnu.org> 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: Bastien Cc: Nicolas Calderon , emacs-orgmode@gnu.org Bastien wrote: > 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! > Cleaner maybe, but it's not correct, as Nicolas C. pointed out. Nicolas C. and I had an email exchange and I hope he will follow up with revised patches. Nick