From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: face for clock display in modeline Date: Sat, 6 Jun 2009 08:14:31 +0200 Message-ID: <6556EFA0-60BA-4B38-9057-3F9EAA72B848@gmail.com> References: <20524da70906041450j4f277d8brbd7c4e5acdf5db54@mail.gmail.com> <18984.64683.552784.390264@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCpB1-0006PJ-TE for emacs-orgmode@gnu.org; Sat, 06 Jun 2009 02:14:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCpAw-0006Oc-6A for emacs-orgmode@gnu.org; Sat, 06 Jun 2009 02:14:46 -0400 Received: from [199.232.76.173] (port=44680 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCpAw-0006OZ-1g for emacs-orgmode@gnu.org; Sat, 06 Jun 2009 02:14:42 -0400 Received: from mail-ew0-f205.google.com ([209.85.219.205]:54925) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCpAv-0000Yr-L3 for emacs-orgmode@gnu.org; Sat, 06 Jun 2009 02:14:41 -0400 Received: by ewy1 with SMTP id 1so2853403ewy.26 for ; Fri, 05 Jun 2009 23:14:40 -0700 (PDT) In-Reply-To: <18984.64683.552784.390264@pinto.chemeng.ucl.ac.uk> 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: e.fraga@ucl.ac.uk Cc: emacs-orgmode@gnu.org Thanks Eric! Samuel, after you next pull, customize the face org-mode-line-clock. HTH - Carsten On Jun 5, 2009, at 1:08 PM, Eric S Fraga wrote: > 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!