From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Emacs Lisp and Lisp mode font-locking Date: Wed, 10 Jul 2013 15:14:00 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6da73e78b12504e127364e X-Trace: ger.gmane.org 1373458461 22851 80.91.229.3 (10 Jul 2013 12:14:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jul 2013 12:14:21 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 10 14:14:23 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UwtHq-0003Mf-97 for ged-emacs-devel@m.gmane.org; Wed, 10 Jul 2013 14:14:22 +0200 Original-Received: from localhost ([::1]:54615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwtHp-00064N-Qb for ged-emacs-devel@m.gmane.org; Wed, 10 Jul 2013 08:14:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwtHd-00062i-BK for emacs-devel@gnu.org; Wed, 10 Jul 2013 08:14:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwtHV-0004j4-EH for emacs-devel@gnu.org; Wed, 10 Jul 2013 08:14:09 -0400 Original-Received: from mail-qe0-x22b.google.com ([2607:f8b0:400d:c02::22b]:61857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwtHV-0004ix-7V for emacs-devel@gnu.org; Wed, 10 Jul 2013 08:14:01 -0400 Original-Received: by mail-qe0-f43.google.com with SMTP id q19so3624663qeb.2 for ; Wed, 10 Jul 2013 05:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=/EQZGDQmONyPfxaNWJRmFtVduntlBNU767DOcVgWRtU=; b=ofcnsl0ZdQEwEkiMefWa1JnhdvAYqUQtKKdpydwHf7CZMENoRRuaTzvazEqAZ4iZaK QezdjUUsDvnTwjg/rA/Gp4LTszKpwbL9U1LzE7xZ7CKQjTwTcpdPlSy5+GSlGGy55cWS MA6gX5BrHyAt0lj3usiAwWw8wfs7phUrgDjQ0QrUoKz5wbLTAzdroSEDVdb63b0KhJxt YgJeJ4H2yjADFATqvNmg8Bn8sCsb5XlOgA+wL6BYggNEN28tVZdb6TOus4wlo4aNgnwp gAhK+r8EzWb9iVoJN49pXBBlyq48jdhd6dO1rqyvJOTmRo+KxRcBrUMTcGE1BpfQXbYE VDkA== X-Received: by 10.49.13.229 with SMTP id k5mr25118666qec.64.1373458440694; Wed, 10 Jul 2013 05:14:00 -0700 (PDT) Original-Received: by 10.49.59.13 with HTTP; Wed, 10 Jul 2013 05:14:00 -0700 (PDT) X-Google-Sender-Auth: QQbBJxTkbCx0Ger7E3IJ7N0_XtY X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161805 Archived-At: --047d7b6da73e78b12504e127364e Content-Type: text/plain; charset=UTF-8 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. --047d7b6da73e78b12504e127364e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi guys,

I've noticed somethi= ng odd about the font-locking in Emacs Lisp and Lisp mode - keyword args ar= e highlighted using the font-lock-builtin-face and constructs like &opt= ional are highlighted using font-lock-type-face.=C2=A0

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 thin= k it would be great if all Emacs programming modes used the faces consisten= tly, so that the meaning of certain faces doesn't change from mode to m= ode.

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.
--047d7b6da73e78b12504e127364e--