all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* adding a standard font-lock-number-face
@ 2011-06-17  2:00 Fabian Ezequiel Gallina
  2011-06-17  3:19 ` Stefan Monnier
  0 siblings, 1 reply; 13+ messages in thread
From: Fabian Ezequiel Gallina @ 2011-06-17  2:00 UTC (permalink / raw)
  To: Emacs-Devel devel

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



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

end of thread, other threads:[~2011-06-17 21:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.