From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borbus Subject: Clocking time in frame title bar Date: Thu, 23 Feb 2012 18:45:02 +0000 Message-ID: <4F46892E.9070907@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0dfA-0003IU-T8 for emacs-orgmode@gnu.org; Thu, 23 Feb 2012 13:45:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0df9-00073K-B6 for emacs-orgmode@gnu.org; Thu, 23 Feb 2012 13:45:08 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:33360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0df8-00071a-VU for emacs-orgmode@gnu.org; Thu, 23 Feb 2012 13:45:07 -0500 Received: by wibhj13 with SMTP id hj13so1291119wib.0 for ; Thu, 23 Feb 2012 10:45:05 -0800 (PST) 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: emacs-orgmode@gnu.org Hi, I'm really enjoying using org-mode's clocking features and it's nice that it shows the current task and total clocking time in the modeline but for me there is a problem with this: I often have multiple windows open and my frame is split horizontally. This means the modeline is too short to contain this information. Also even if I could see it, it's being displayed redundantly in multiple modelines. So I thought about how it could be different and I realised something: I use the emacs GTK GUI but I turn off most things, scrollbars, menubars etc. but there is one thing still wasting space: the frame title bar. So why not use this space? I know emacs lisp and I'm happy to write a patch for this myself, but before I dive in I would like to ask a couple of questions here: first, does this sounds feasible? Is there something I don't know about the frame title that would make it unsuitable for being constantly updated like the modeline? Secondly, if it seems feasible, where is the best place to start in the org code (org-clock.el I guess) and would there be a preferable way to be able to switch this feature on and off? Thanks, Borbus.