From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: face for clock display in modeline Date: Fri, 5 Jun 2009 12:08:27 +0100 Message-ID: <18984.64683.552784.390264@pinto.chemeng.ucl.ac.uk> References: <20524da70906041450j4f277d8brbd7c4e5acdf5db54@mail.gmail.com> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCXHu-0003XK-0W for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 07:08:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCXHo-0003WR-Ot for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 07:08:41 -0400 Received: from [199.232.76.173] (port=53304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCXHo-0003WO-LL for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 07:08:36 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:38906) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MCXHo-000273-83 for emacs-orgmode@gnu.org; Fri, 05 Jun 2009 07:08:36 -0400 In-Reply-To: From: Eric S Fraga List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > On Jun 4, 2009, at 11:50 PM, Samuel Wales wrote: > > I sometimes forget to clock out. I wonder if the showing a > > distinctive face for the clock display might prevent that. > > > > It looks like org-clock-update-mode-line is the relevant function, but > > customizing modeline-highlight face did not change the face. > I would not know how to make this work either..... I believe you can customise the mode line entry for org-mode to include a face to use for that particular element of the mode line. For instance, check out the following variable: mode-line-buffer-identification It specifies (in a local map) the face (mode-line-buffer-id) to use for displaying the buffer name (bold by default) and this face can be customised. It should be possible to define a similar entry for org-mode-line-string with an appropriately defined face? HTH!