unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs Lisp and Lisp mode font-locking
@ 2013-07-10 12:14 Bozhidar Batsov
  2013-07-18  0:38 ` Michael Heerdegen
  0 siblings, 1 reply; 2+ messages in thread
From: Bozhidar Batsov @ 2013-07-10 12:14 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

Hi guys,

I've noticed something odd about the font-locking in Emacs Lisp and Lisp
mode - keyword args are highlighted using the font-lock-builtin-face and
constructs like &optional are highlighted using font-lock-type-face.

I guess this was was done way back and hasn't been updated in a while, but
I think it might a good idea to revise this. Pretty sure those font faces
are intended for different usage. I think it would be great if all Emacs
programming modes used the faces consistently, so that the meaning of
certain faces doesn't change from mode to mode.

I guess that the two modes might also start using the font-lock-built-in
face to highlight their core functions (like car, cdr, mapcar, mapc, etc) -
as Clojure mode does.

[-- Attachment #2: Type: text/html, Size: 884 bytes --]

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

* Re: Emacs Lisp and Lisp mode font-locking
  2013-07-10 12:14 Emacs Lisp and Lisp mode font-locking Bozhidar Batsov
@ 2013-07-18  0:38 ` Michael Heerdegen
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Heerdegen @ 2013-07-18  0:38 UTC (permalink / raw)
  To: emacs-devel

Hi Bozhidar,

> I've noticed something odd about the font-locking in Emacs Lisp and
> Lisp mode - keyword args are highlighted using the
> font-lock-builtin-face and constructs like &optional are highlighted
> using font-lock-type-face. 
>
> I guess this was was done way back and hasn't been updated in a
> while, but I think it might a good idea to revise this. Pretty sure
> those font faces are intended for different usage. I think it would
> be great if all Emacs programming modes used the faces consistently,
> so that the meaning of certain faces doesn't change from mode to
> mode.
>
> I guess that the two modes might also start using the
> font-lock-built-in face to highlight their core functions (like car,
> cdr, mapcar, mapc, etc) - as Clojure mode does.

Typically, if you get no answer here, nobody disagrees, and nobody wants
to care about it at the moment.  Please make a bug report.  Please give
some details what exactly should be changed, e.g. which faces should be
used instead of the ones you don't want to use.  Then, I hope someone
will have a look sooner or later.


Regards,

Michael.




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

end of thread, other threads:[~2013-07-18  0:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 12:14 Emacs Lisp and Lisp mode font-locking Bozhidar Batsov
2013-07-18  0:38 ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).