all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fabian Ezequiel Gallina <galli.87@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: adding a standard font-lock-number-face
Date: Thu, 16 Jun 2011 23:00:12 -0300	[thread overview]
Message-ID: <BANLkTimpomC9aMyQTnW7K=yF=T8=dk2KGA@mail.gmail.com> (raw)

Hi devs,

In the python.el bugtracker[0] an interesting discussion started about
highlighting numbers in python.el.

I'm kinda against of adding a custom python.el face for it and
contribute to the non-standard faces hell we already face from other
packages which make Emacs hard to theme.

So the first idea the user mentioned when I rejected such approach was
using font-lock-constant-face which sounds good, but I don't think
I've seen another package to do such thing, and I'm sure most Emacs
users are accustomed to see numbers in a different decoration than
constants.

So long story short: isn't a good idea to add a standard
font-lock-number-face in order to have fine grained control on
font-lock and give the users the chance to customize numbers
decoration out of the box?


[0] https://github.com/fgallina/python.el/issues/42

Thanks,
-- 
Fabián E. Gallina



             reply	other threads:[~2011-06-17  2:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17  2:00 Fabian Ezequiel Gallina [this message]
2011-06-17  3:19 ` adding a standard font-lock-number-face 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
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='BANLkTimpomC9aMyQTnW7K=yF=T8=dk2KGA@mail.gmail.com' \
    --to=galli.87@gmail.com \
    --cc=emacs-devel@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 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.