[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Novice here: agenda related questions
From: |
Matthew Lundin |
Subject: |
Re: [Orgmode] Novice here: agenda related questions |
Date: |
Fri, 23 Jan 2009 07:22:13 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Saurabh Agrawal <address@hidden> writes:
> 1. How to change colour of the TODO states? (the word TODO/DONE etc in
> particular and that of whole line in the agenda view?)
To change the color of TODO states, you can use the variable
org-todo-keyword-faces. Here's an example from my own settings:
--8<---------------cut here---------------start------------->8---
(setq org-todo-keyword-faces
'(
("TODO" . (:foreground "firebrick2" :weight bold))
("WAITING" . (:foreground "olivedrab" :weight bold))
("BORROWED" . (:foreground "olivedrab" :weight bold))
("ORDERED" . (:foreground "olivedrab" :weight bold))
("LATER" . (:foreground "sienna" :weight bold))
("PROJECT" . (:foreground "steelblue" :weight bold))
("DONE" . (:foreground "forestgreen" :weight bold))
("RETURNED" . (:foreground "forestgreen" :weight bold))
("RECEIVED" . (:foreground "forestgreen" :weight bold))
("RESOLVED" . (:foreground "forestgreen" :weight bold))
("MAYBE" . (:foreground "dimgrey" :weight bold))
("CANCELED" . (:foreground "dimgrey" :weight bold))
))
--8<---------------cut here---------------end--------------->8---
> 2. Since I have a number of TODO action items in several projects, I
> would like to display only top two of them for each project at a time
> in an agenda. Is it somehow possible using some particular custom
> agenda view?
>
To customize a line in the agenda, simply type M-x customize-face on
that line and emacs should take you to the correct customization buffer.
Or you can add lines such as the following to your .emacs file:
--8<---------------cut here---------------start------------->8---
(set-face-foreground 'org-warning "firebrick2")
(set-face-foreground 'org-todo "firebrick2")
(set-face-foreground 'org-done "forestgreen")
(set-face-foreground 'org-scheduled-today "limegreen")
--8<---------------cut here---------------end--------------->8---
Hope this helps,
Matt