From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: agenda-todo format Date: Wed, 20 Sep 2006 12:13:57 +0100 Message-ID: <551027f8702a573d7266d888c64d27e4@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQ022-00046h-Ji for emacs-orgmode@gnu.org; Wed, 20 Sep 2006 07:14:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQ020-00044t-Hi for emacs-orgmode@gnu.org; Wed, 20 Sep 2006 07:14:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQ020-00044f-Bm for emacs-orgmode@gnu.org; Wed, 20 Sep 2006 07:14:20 -0400 Received: from [64.233.162.197] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQ05H-0002ph-DP for emacs-orgmode@gnu.org; Wed, 20 Sep 2006 07:17:43 -0400 Received: by nz-out-0102.google.com with SMTP id z31so90550nzd for ; Wed, 20 Sep 2006 04:14:19 -0700 (PDT) In-Reply-To: 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: Peter BARABAS Cc: emacs-orgmode@gnu.org On Sep 14, 2006, at 18:10, Peter BARABAS wrote: >> >>> Also, in the todo view tags are not fontified. Is it intentional? >> >> How and why would you want them fontified? > > In the org-mode buffer the tags have the same color as the text, e.g. > in > > * Foo :foo: > > :foo: is blue and bold. > > Though now I think I'd like to assign a face to my tags (e.g. green for > :personal:, blue for :work:). Is there anything that can help me in > this? > > Is it possible to give priorities faces? E.g. red for #A. Check out the documentation of the function `font-lock-add-keywords' (Emacs only, not XEmacs, I think), this will allow you to get your own little extras in org-mode. This will not work in the agenda, because there I control the fontification by hand, font-lock is not in the game here. I don't think it is a good idea to keep the headline-level related face in the agenda, because the agenda lists tag matches "democratically", without looking at outline level. That is why also the tags are just black, like the headline. I could give you a hook that runs when the agenda buffer has been created...... - Carsten