From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Org Clock Timer in Frame Title bug Date: Sat, 21 Apr 2012 19:43:24 -0500 Message-ID: <87d37038b7.fsf@fastmail.fm> References: <8DD2D644-3CB5-4F40-9801-90C3AA577438@pobox.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLktn-0004yz-8B for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 20:43:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLktl-0006Qz-CB for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 20:43:30 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLktk-0006Qu-RV for emacs-orgmode@gnu.org; Sat, 21 Apr 2012 20:43:29 -0400 In-Reply-To: <8DD2D644-3CB5-4F40-9801-90C3AA577438@pobox.com> (Mike McLean's message of "Sat, 21 Apr 2012 19:45:34 -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: Mike McLean Cc: emacs-orgmode@gnu.org Mike McLean writes: > It appears that there is a small problem with commit > 37fafb7b9e4e8e1eeb6b8faa76a1621c28970ef5 (Option for clock and timer to > be displayed in frame-title). The default value offrame-title-format in > my setup is t and this causes an error when clocking in/out. I can confirm this bug. The problem is that org-clock-out calls a delq on frame-title-format regardless of the value of org-clock-clocked-in-display. This is a problem because frame-title-format can be either a list or a string. Note: the same problem will occur when calling org-clock-in if the value of frame-title-format is a string and if org-clock-clocked-in-display is set to 'frame-title. Best, Matt