From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12761: cl-lib.el functions do not get font-locked like cl.el ones Date: Tue, 30 Oct 2012 09:33:16 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351604026 17291 80.91.229.3 (30 Oct 2012 13:33:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2012 13:33:46 +0000 (UTC) Cc: 12761@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 14:33:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TTBx2-0001BG-OE for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 14:33:52 +0100 Original-Received: from localhost ([::1]:52911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTBwu-00087k-BO for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 09:33:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTBwm-00086a-Sw for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 09:33:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTBwh-0003Rv-3A for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 09:33:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTBwg-0003Rn-VS for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 09:33:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTBz8-000062-7U for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 09:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Oct 2012 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12761 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12761-submit@debbugs.gnu.org id=B12761.1351604153355 (code B ref 12761); Tue, 30 Oct 2012 13:36:02 +0000 Original-Received: (at 12761) by debbugs.gnu.org; 30 Oct 2012 13:35:53 +0000 Original-Received: from localhost ([127.0.0.1]:39204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTByy-00005f-Kt for submit@debbugs.gnu.org; Tue, 30 Oct 2012 09:35:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21713) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTByv-00005X-Jk for 12761@debbugs.gnu.org; Tue, 30 Oct 2012 09:35:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LET/2dsb2JhbAA8CLQRgQiCFQEBBAFWIwULCw4mEhQYDSSIHAW6CYsdhScDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="203141769" Original-Received: from 206-248-177-19.dsl.teksavvy.com (HELO pastel.home) ([206.248.177.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 Oct 2012 09:33:17 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0520959419; Tue, 30 Oct 2012 09:33:16 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Tue, 30 Oct 2012 03:37:56 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66237 Archived-At: >>> `letf' gets font-lock-keyword-face, `cl-letf' does not get fontified. >> I'm not sure which of the two is a bug, to tell you the truth. > I guess the bug was ever font-locking things from cl.el that are not in > Common Lisp. And to the extent that cl.el's "namespace uncleanliness" was enough to ostracize it, font-locking the elements which are in Common-Lisp (but not in core Elisp) was also a mistake. > So maybe that special treatment (lexical-let, letf, etc) > should be removed, to make everyone equally miserable. Right. But then the "cl-*" versions could be fine choices (tho I'd much rather not hard code those things in the font-lock rules. Couldn't we build those dynamically by loading cl-lib.el, then going through the obarray, keeping all macros whose name starts with "cl-" but not "cl--"?). Stefan