emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda: different face (color) per file?
Date: Fri, 16 Sep 2016 01:34:27 -0500	[thread overview]
Message-ID: <87y42sgxos.fsf@alphapapa.net> (raw)
In-Reply-To: CAOQHXPqMCx39quphZNLg3=GR6D9hEbfpnSqaBLOx-5emy3dycA@mail.gmail.com

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.  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.

  reply	other threads:[~2016-09-16  6:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-16  4:14 org-agenda: different face (color) per file? Xebar Saram
2016-09-16  6:34 ` Adam Porter [this message]
2016-09-16 10:31   ` Xebar Saram
2016-09-16 11:41     ` Adam Porter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y42sgxos.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).