From: Matthew Lundin <mdl@imapmail.org>
To: Saurabh Agrawal <mailsaurabh@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Novice here: agenda related questions
Date: Fri, 23 Jan 2009 07:22:13 -0600 [thread overview]
Message-ID: <m28wp2i2d6.fsf@fastmail.fm> (raw)
In-Reply-To: <4c4575360901230407x4a4d211ch2ad7a747c9a41cde@mail.gmail.com> (Saurabh Agrawal's message of "Fri\, 23 Jan 2009 17\:37\:37 +0530")
Saurabh Agrawal <mailsaurabh@gmail.com> 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
next prev parent reply other threads:[~2009-01-23 13:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 12:07 Novice here: agenda related questions Saurabh Agrawal
2009-01-23 13:22 ` Matthew Lundin [this message]
2009-01-23 16:09 ` Saurabh Agrawal
2009-01-23 16:33 ` Matthew Lundin
2009-01-23 16:53 ` Saurabh Agrawal
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=m28wp2i2d6.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=mailsaurabh@gmail.com \
/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).