From: Donald Ephraim Curtis <dcurtis@gmail.com>
To: Fabian Ezequiel Gallina <galli.87@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: adding a standard font-lock-number-face
Date: Fri, 17 Jun 2011 11:29:58 -0500 [thread overview]
Message-ID: <49FB66A8-05CE-4843-BE46-B39F0435BE38@gmail.com> (raw)
In-Reply-To: <BANLkTikSAGYcHx3geFRgF0G=3te_ZcKy9g@mail.gmail.com>
Hi,
I was originally the person that brought this to Fabian's attention, and so it was my "complaint". But he's more-correct in that it's not a "complaint" as much as something I like.
There are numerous posts elsewhere where people have fixed this issue by adding some elisp to their personal configs; i will not fill this thread with links to prove the point. I currently do this in my configuration file. Performance doesn't seem to be an issue. As well, there are plenty of other editors (whose authors are developers themselves) that also must find this useful; since they include this highlighting. This doesn't mean Emacs should go jump off a bridge (because their friends are doing it).
I don't understand why syntax highlighting has to *only* signify structure. More important is to help me (the user/developer) navigating the code. I personally find highlighting numbers does help me navigate code; especially in debugging.\b Highlighting should be useful over being "technically consistent".
Regardless of opinions, limiting the available faces limits theme designers and ultimately limits the user. The default can always be to inherit the default-face. At least then there is a face for this type of thing that modes and themes can use.
This is just an opportunity for Emacs to include some better (i.e., expected, standard, common, etc.) defaults. Maybe that's not the point, but everytime it takes me an hour or more – because i'm a newb – to do something I think should be really simple, I'm a bit annoyed. So then I think, maybe I could fix this for future generations. And here we are.
argument against myself: it's easy to add into your personal config so no big deal.
--
Donald Ephraim Curtis
dcurtis@milkbox.net
On Jun 17, 2011, at 10:14, Fabian Ezequiel Gallina wrote:
> 2011/6/17 Stefan Monnier <monnier@iro.umontreal.ca>:
>>> An argument I can think of for inclusion is that it seems highlighting
>>> those kind of stuff (event operators) is really common on other
>>> editors, so it is acceptable that people coming from other places
>>> would expect this kind of stuff highlighted out-of-the-box. I know the
>>
>> I haven't seen many complaints about it either in emacs-devel or
>> gnu-emacs-help, so I don't think it makes much difference. People do
>> not expect one editor to behave exactly like another.
>>
>
> Think of it of as a feature request, not a problem. I think it might
> be good to have some way to define those kind of *extra* fancy stuff
> and standardize them (even if not enabled by default). In my opinion,
> that will likely help also to improve things avoiding the creation of
> new non standard faces in external packages.
>
> Even when I'm writing that, I feel we could also define a set standard
> faces for package developers to use in their special modes. I guess
> this can be the start of more complete font-locking framework that
> could lead to help Emacs to be simple to theme, avoiding the need to
> define a hundred faces to make themes work OK with your custom
> packages.
>
>
> Regards,
> --
> Fabián E. Gallina
>
prev parent reply other threads:[~2011-06-17 16:29 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
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 [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49FB66A8-05CE-4843-BE46-B39F0435BE38@gmail.com \
--to=dcurtis@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=galli.87@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.