From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Novice here: agenda related questions Date: Fri, 23 Jan 2009 07:22:13 -0600 Message-ID: References: <4c4575360901230407x4a4d211ch2ad7a747c9a41cde@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQLzI-00015B-BK for emacs-orgmode@gnu.org; Fri, 23 Jan 2009 08:22:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQLzG-00014T-Ru for emacs-orgmode@gnu.org; Fri, 23 Jan 2009 08:22:19 -0500 Received: from [199.232.76.173] (port=45360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQLzF-00014I-Um for emacs-orgmode@gnu.org; Fri, 23 Jan 2009 08:22:18 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:33331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQLzF-0003iv-Nx for emacs-orgmode@gnu.org; Fri, 23 Jan 2009 08:22:17 -0500 In-Reply-To: <4c4575360901230407x4a4d211ch2ad7a747c9a41cde@mail.gmail.com> (Saurabh Agrawal's message of "Fri\, 23 Jan 2009 17\:37\:37 +0530") 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: Saurabh Agrawal Cc: emacs-orgmode Mailinglist Saurabh Agrawal 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