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: Re: Trying to use a custom face for highlighting tags used in agenda filtering
Date: Thu, 08 Dec 2011 14:49:05 +0100	[thread overview]
Message-ID: <80aa73cgxa.fsf@somewhere.org> (raw)
In-Reply-To: 87mxcjtlj9.fsf@gnu.org

Hi Bastien,

Bastien wrote:
>>> using a better default for the face :)
>>
>> Well, I wouldn't call org-default a better default, but that's fine with
>> me. I mean: if org-default is black for the majority of the people, they
>> won't even see that you can customize that aspect of the modeline (in a
>> light scheme).
>
> Well, org-default is *not* a good default, 'modeline is. I've pushed a fix
> for this:
>
> (defface org-agenda-filter-tags
>   (org-compatible-face 'modeline
>     nil)
>   "Face for tag(s) in the mode-line when filtering the agenda."
>   :group 'org-faces)

AFAIK, `modeline' is the facename used in XEmacs. In GNU Emacs, it is
`mode-line'.

>> So, I prefer some color (I chose orange) that everybody can customize, and
>> that makes everybody be aware of the tags used for filtering (in this
>> case). But, as said, I don't mind the default: I'll customize it anyway for
>> my own usage.
>
> One advantage of making the use of a face visible is to let people know they
> can change it. In this case, changing the weight or using a different color
> may be an option -- let's see if people come up with good ideas.

Using `mode-line' as the default face for highlighting the tags is contrary to
my intended goal: the filters simply won't be different from any information
shown in the mode-line. Hence:

- there is no highlighting by default, and
- nobody even knows that it's customizable...

I think the best choice, if you want to use an already existing face, is then
to choose `mode-line-emphasis'. At least, that one is, by default, bold, so
that one sees something different without any specific customization.

What do you think?

Best regards,
  Seb

-- 
Sebastien Vauban

      reply	other threads:[~2011-12-08 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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