From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: color header based on priority/tags rather than level Date: Tue, 14 Jan 2014 09:32:48 +0100 Message-ID: <86vbxn6k0f.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org David Rees wrote: > Is there way to set the color/face of a header line based on priority/tags > rather than level? Maybe a way of setting a hook method that takes header line > info and returns color/face info? > > I've found that I can use org-priority-face to color the priority cookie and > I can use org-agenda-fontify-priorities to apply color to the agenda line, but > I want to color the header line in the original buffer. > > FYI, Here is a link to old post on this, but it ended just with solution for > agenda lines > http://article.gmane.org/gmane.emacs.orgmode/17143/match=color+entire+header Once again, not what you're looking for, but John Wiegley once shared his code to highlight agenda lines depending of a tag (home, work, etc.). Though, can't find it anymore... Best regards, Seb -- Sebastien Vauban