emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: face for clock display in modeline
Date: Fri, 5 Jun 2009 12:08:27 +0100	[thread overview]
Message-ID: <18984.64683.552784.390264@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <B5001F00-1A7E-4CC4-963A-0A0A99B15687@gmail.com>

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!

  reply	other threads:[~2009-06-05 11:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 21:50 face for clock display in modeline Samuel Wales
2009-06-05 10:50 ` Carsten Dominik
2009-06-05 11:08   ` Eric S Fraga, Eric S Fraga [this message]
2009-06-05 11:16     ` Eric S Fraga, Eric S Fraga
2009-06-06  6:14     ` Carsten Dominik
2009-06-06 10:15       ` Eric S Fraga, Eric S Fraga
2009-06-09 13:57         ` David Abrahams
2009-06-09 14:18       ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18984.64683.552784.390264@pinto.chemeng.ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=carsten.dominik@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).