all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>,
	Fabian Ezequiel Gallina <galli.87@gmail.com>
Subject: Re: adding a standard font-lock-number-face
Date: Fri, 17 Jun 2011 09:34:38 -0400	[thread overview]
Message-ID: <jwvr56sr3i2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <874o3pklmh.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Fri, 17 Jun 2011 15:39:02 +0900")

>> Please note that I'm no expert at font-locking but I think it might be
>> good (and possible) to let modes to specify a higher or special level
>> of font-locking so this kind of things can be highlighted.
> C-h v font-lock-maximum-decoration RET
> Of course not all modes use this variable.

I'd be happy to throw it away, indeed, because it gives the wrong
impression that there's a strong ordering of "levels" of decoration,
whereas that is not true.

You may like some elements to be decorated with lots of details, but
want to leave some other element mostly plain and vice-versa.

And furthermore, it tends to conflate "work needed to find what to
highlight" with "amount of different faces one screen at the same time",
even though the two aren't necessarily connected either.

Finally, this variable has had t (aka "use the max") as its default
value forever, so it can't be used to tell Emacs to do "even more than
the default".


        Stefan



  reply	other threads:[~2011-06-17 13:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17  2:00 adding a standard font-lock-number-face Fabian Ezequiel Gallina
2011-06-17  3:19 ` Stefan Monnier
2011-06-17  3:54   ` Fabian Ezequiel Gallina
2011-06-17  5:25     ` Andreas Röhler
2011-06-17  6:39     ` Stephen J. Turnbull
2011-06-17 13:34       ` Stefan Monnier [this message]
2011-06-17 13:38     ` Stefan Monnier
2011-06-17 14:22       ` Lennart Borgman
2011-06-17 15:14       ` Fabian Ezequiel Gallina
2011-06-17 16:25         ` Stefan Monnier
2011-06-17 20:42           ` Donald Ephraim Curtis
2011-06-17 21:04             ` Glenn Morris
2011-06-17 16:29         ` Donald Ephraim Curtis

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

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

  git send-email \
    --in-reply-to=jwvr56sr3i2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=galli.87@gmail.com \
    --cc=stephen@xemacs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.