emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Trying to use a custom face for highlighting tags used in agenda filtering
Date: Wed, 26 Oct 2011 22:22:21 +0200	[thread overview]
Message-ID: <80pqhjpkoy.fsf@somewhere.org> (raw)


I tried modifying the lines of defun org-agenda-set-mode-name, line 6764, so
that tags are highlighted in the mode-line.

#+begin_src emacs-lisp
	      (if (or org-agenda-filter (get 'org-agenda-filter
		  '(:eval (concat " {" (propertize (mapconcat
						    (append (get 'org-agenda-filter
							    org-agenda-filter) "")
						   'face 'compilation-warning
						   'help-echo "Tags used in filtering"

While my code seems correct, it is not applied -- or, maybe, the face is
overwritten by another one, in which case I don't know how to debug: I can't
do C-u C-x = on the mode-line...

Any idea?

Best regards,

Sebastien Vauban

             reply	other threads:[~2011-10-26 20:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 20:22 Sebastien Vauban [this message]
2011-10-27 21:20 ` Trying to use a custom face for highlighting tags used in agenda filtering Sebastien Vauban
2011-10-29 11:25   ` Bastien
2011-10-29 19:36     ` Sebastien Vauban
2011-10-29 23:39       ` Bastien
2011-12-08 13:49         ` Sebastien Vauban

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:

  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=80pqhjpkoy.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \


* 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


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