emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Trying to use a custom face for highlighting tags used in agenda filtering
@ 2011-10-26 20:22 Sebastien Vauban
  2011-10-27 21:20 ` Sebastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastien Vauban @ 2011-10-26 20:22 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

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
					     :preset-filter))
		  '(:eval (concat " {" (propertize (mapconcat
						    'identity
						    (append (get 'org-agenda-filter
								 :preset-filter)
							    org-agenda-filter) "")
						   'face 'compilation-warning
						   'help-echo "Tags used in filtering"
						   )
				  "}")
			  )
		"")
#+end_src

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,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-08 13:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 20:22 Trying to use a custom face for highlighting tags used in agenda filtering Sebastien Vauban
2011-10-27 21:20 ` 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

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