Chong Yidong <cyd@HIDDEN>to
control@HIDDEN. Full text available.
Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2009 21:33:02 +0000 From xah@HIDDEN Tue Mar 10 14:33:02 2009 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [188.8.131.52]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2ALWxmq015909 for <submit@HIDDEN>; Tue, 10 Mar 2009 14:33:00 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lh9ZK-0006Nc-R7 for bug-gnu-emacs@HIDDEN; Tue, 10 Mar 2009 17:32:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lh9ZK-0006NH-5Q for bug-gnu-emacs@HIDDEN; Tue, 10 Mar 2009 17:32:58 -0400 Received: from [184.108.40.206] (port=56669 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh9ZJ-0006NA-WC for bug-gnu-emacs@HIDDEN; Tue, 10 Mar 2009 17:32:58 -0400 Received: from mout.perfora.net ([220.127.116.11]:53570) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <xah@HIDDEN>) id 1Lh9ZJ-0008OA-LA for bug-gnu-emacs@HIDDEN; Tue, 10 Mar 2009 17:32:57 -0400 Received: from [192.168.1.5] (c-24-6-175-142.hsd1.ca.comcast.net [18.104.22.168]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1Lh9Z740KT-000d1v; Tue, 10 Mar 2009 17:32:47 -0400 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: quoted-printable Message-Id: <E13CDC88-6F7A-4F04-8D1A-0186275DCFD1@HIDDEN> Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed To: bug-gnu-emacs@HIDDEN From: xah lee <xah@HIDDEN> Subject: most keywords in emacs-lisp-mode has no syntax highlight Date: Tue, 10 Mar 2009 14:31:25 -0700 X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX1/3f+u3lU20EPrHrCcCZWoxn8oPL1KPeji/wwI o/0LmXLw85skpvW0KZX1PS5t5GoKv+3Bae/ErPG7eINUrtxnT8 jxVSDbM6VxObAThiiD2Aw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. the syntax highlighting in emacs-lisp-mode only support the very =20 minimum of highlighting. for example, these keywords would be colored purple by default: defun, lambda, while, if, progn, save-restriction while the following built-in keywords are uncolored (black): narrow-to-region, mapc, goto-char, point-min, search-forward, car, nil, replace-match ... etc. it appears that this is because only proper elisp =E2=80=9Cspecial = forms=E2=80=9D =20 are are colored, while all the others are not (macros, functions, =20 commands, variables ...). (thanks to Nikolaj Schumacher & Tassilo Horn) but in summary, i think the way it is is rather odd. It is rather =20 strange and difficult to understand unless the user has expert elisp =20 knowledge, and it is somewhat not typical with how most other major =20 mode for languages syntax color the lang's keywords. (emacs-lisp-mode doesn't seem to support customize-group and font-=20 lock-maximum-decoration) i think the current behavior is severe enough to be considered a bug. This is emacs 22.x. Xah =E2=88=91 http://xahlee.org/ =E2=98=84
xah lee <xah@HIDDEN>:
Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
emacs. Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.