From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: org-agenda: different face (color) per file? Date: Fri, 16 Sep 2016 01:34:27 -0500 Message-ID: <87y42sgxos.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmjp-0002Xr-Er for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 02:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmjk-0008Fg-Eo for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 02:35:04 -0400 Received: from [195.159.176.226] (port=47396 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmjk-0008DO-8O for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 02:35:00 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bkmjU-0002yD-K7 for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 08:34:44 +0200 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@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Xebar Saram writes: > this seems it should be trivial but googling didnt help. my org-agenda > view is made out of 5-6 files. can one define a different face (mainly > color) per file? There's no way to do this that I know of, but I guess you could try two approaches: 1. Advise the code that writes the agenda line-by-line. You'll have to dig through the agenda-making code... 2. Write a function to post-process the agenda and adjust the color of each line depending on its source file (or its category, which is usually the file it comes from). I'm guessing this would be easier.