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: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically Date: Mon, 16 Mar 2015 16:56:36 -0400 Message-ID: References: <20150315082509.21193.18465@vcs.savannah.gnu.org> <55054CE9.6010702@dancol.org> <87bnjt4e00.fsf@gnu.org> <550681E3.7080407@dancol.org> <871tkpov7p.fsf@gnu.org> <877fug8z8u.fsf@gnu.org> <55073F67.20809@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426539429 24375 80.91.229.3 (16 Mar 2015 20:57:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 20:57:09 +0000 (UTC) Cc: Artur Malabarba , emacs-devel To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 16 21:57:01 2015 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 1YXc4K-0005ia-S4 for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 21:57:01 +0100 Original-Received: from localhost ([::1]:51644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXc4K-00086o-Ew for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 16:57:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXc46-00085g-7z for emacs-devel@gnu.org; Mon, 16 Mar 2015 16:56:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXc41-0003xp-5i for emacs-devel@gnu.org; Mon, 16 Mar 2015 16:56:46 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:46756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXc41-0003xi-1X for emacs-devel@gnu.org; Mon, 16 Mar 2015 16:56:41 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t2GKua9u006572; Mon, 16 Mar 2015 16:56:37 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A69506615C; Mon, 16 Mar 2015 16:56:36 -0400 (EDT) In-Reply-To: <55073F67.20809@dancol.org> (Daniel Colascione's message of "Mon, 16 Mar 2015 13:39:03 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5247=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5247> : inlines <2424> : streams <1406573> : uri <1882118> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:183933 Archived-At: > > Any suggestions how/where to update existing buffers? My suggestion would be to do it from after-load-functions, i.e. using the exact same code as the code used for the alternative implementation ;-) > Isn't font-lock-flush supposed to be cheap? If you use jit-lock-mode, yes. If not, no. >>> push and pushnew aren't function-like, so they *should* be highlighted >>> as keywords, I think. >> I guess they are not function-like because they deal with generalized >> variables, right? Right: (push x y) is not the same as (let ((z y)) (push x z)). Stefan