From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: font-lock-keywords for new macros Date: Mon, 19 Nov 2012 13:32:48 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1353350014 10972 80.91.229.3 (19 Nov 2012 18:33:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 18:33:34 +0000 (UTC) Cc: Emacs development discussions To: Daniel Hackney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 19:33:45 2012 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 1TaWAC-0002vt-Lc for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 19:33:44 +0100 Original-Received: from localhost ([::1]:43071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaW9z-00077r-3f for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 13:33:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaW9g-0006u5-5w for emacs-devel@gnu.org; Mon, 19 Nov 2012 13:33:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaW9U-0002oT-1e for emacs-devel@gnu.org; Mon, 19 Nov 2012 13:33:06 -0500 Original-Received: from relais.videotron.ca ([24.201.245.36]:30757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaW9T-0002ks-Tw for emacs-devel@gnu.org; Mon, 19 Nov 2012 13:32:59 -0500 Original-Received: from ceviche.home ([24.201.208.110]) by VL-VM-MR006.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MDQ00H7HZIOUU80@VL-VM-MR006.ip.videotron.ca> for emacs-devel@gnu.org; Mon, 19 Nov 2012 13:32:49 -0500 (EST) Original-Received: by ceviche.home (Postfix, from userid 20848) id 21DE4660FF; Mon, 19 Nov 2012 13:32:48 -0500 (EST) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 24.201.245.36 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:154963 Archived-At: > Many of the new macros in 24.3 aren't in `lisp-font-lock-keywords' which > means they don't get highlighted. This is true for the `cl-*' macros, as > well as `ert-deftest'. There are probably some others which aren't > fontified either. FWIW, I think we should not hardcode the list of macros in lisp-font-lock-keywords but instead build it dynamically (e.g. with an after-load-functions hook to flush the cached regexp). Stefan