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: Why js2-mode in Emacs 23.2? Date: Mon, 10 Aug 2009 09:12:01 -0400 Message-ID: References: <7b501d5c0908091634ndfba631vd9db6502db301097@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249909946 10114 80.91.229.12 (10 Aug 2009 13:12:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 13:12:26 +0000 (UTC) Cc: Daniel Colascione , Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 15:12:18 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaUfe-0007pG-6K for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 15:12:14 +0200 Original-Received: from localhost ([127.0.0.1]:53831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaUfd-0003n6-Ff for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 09:12:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaUfX-0003n0-QL for emacs-devel@gnu.org; Mon, 10 Aug 2009 09:12:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaUfT-0003mO-GG for emacs-devel@gnu.org; Mon, 10 Aug 2009 09:12:07 -0400 Original-Received: from [199.232.76.173] (port=49470 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaUfT-0003mL-9W for emacs-devel@gnu.org; Mon, 10 Aug 2009 09:12:03 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:4494 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MaUfS-0007qx-T4 for emacs-devel@gnu.org; Mon, 10 Aug 2009 09:12:03 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAAy5f0pFxL8W/2dsb2JhbACBUs0GhBgFhzg X-IronPort-AV: E=Sophos;i="4.43,353,1246852800"; d="scan'208";a="43234310" Original-Received: from 69-196-191-22.dsl.teksavvy.com (HELO ceviche.home) ([69.196.191.22]) by ironport2-out.teksavvy.com with ESMTP; 10 Aug 2009 09:11:47 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 35ECFB454F; Mon, 10 Aug 2009 09:12:01 -0400 (EDT) In-Reply-To: (Lennart Borgman's message of "Mon, 10 Aug 2009 04:55:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113961 Archived-At: > I am not sure I understand this, but thinking of it again, could not > Daniel use a font-lock-fontify-region-function that first does a > fontification without keywords (if it is there it is needed). You mean that there can be workarounds; well sure there might be. But font-lock was not written with this use in mind, so I'd expect snags. And there's no reason why it should be bound to font-lock. And we still need to make sure that this gets called properly when doing forward-sexp, etc... Stefan