From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: org-agenda: different face (color) per file? Date: Fri, 16 Sep 2016 13:31:17 +0300 Message-ID: References: <87y42sgxos.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114736ac747e91053c9d76e7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkqQS-0000q0-Dj for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 06:31:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkqQR-0007Zi-Eh for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 06:31:20 -0400 Received: from mail-yw0-x230.google.com ([2607:f8b0:4002:c05::230]:33487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkqQR-0007ZP-AG for emacs-orgmode@gnu.org; Fri, 16 Sep 2016 06:31:19 -0400 Received: by mail-yw0-x230.google.com with SMTP id i129so85968872ywb.0 for ; Fri, 16 Sep 2016 03:31:18 -0700 (PDT) In-Reply-To: <87y42sgxos.fsf@alphapapa.net> 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: Adam Porter Cc: org mode --001a114736ac747e91053c9d76e7 Content-Type: text/plain; charset=UTF-8 hehe thx both are way over my head :) ill just give up on the idea ;-) thx! Z On Fri, Sep 16, 2016 at 9:34 AM, Adam Porter wrote: > 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. > > > --001a114736ac747e91053c9d76e7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hehe thx

both are way over my head :)

ill just give up on the idea ;-)

thx!

Z

On Fri, Sep 16, 2016 at 9:34 AM, Adam Port= er <adam@alphapapa.net> wrote:
Xebar Saram <zeltakc@gmail.com> 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.=C2=A0 Advise the code that writes the agenda line-by-line.=C2=A0 You'= ;ll have to
dig through the agenda-making code...

2.=C2=A0 Write a function to post-process the agenda and adjust the color o= f
each line depending on its source file (or its category, which is
usually the file it comes from).=C2=A0 I'm guessing this would be easie= r.



--001a114736ac747e91053c9d76e7--