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: A vision for multiple major modes: some design notes Date: Thu, 21 Apr 2016 10:24:42 -0400 Message-ID: References: <20160420194450.GA3457@acm.fritz.box> <05d5bd7e-1cea-4336-a37c-fe6bd6752558@default> <20160421124325.GC1775@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461248691 13741 80.91.229.3 (21 Apr 2016 14:24:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Apr 2016 14:24:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 21 16:24:43 2016 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 1atFX8-0001RT-Di for ged-emacs-devel@m.gmane.org; Thu, 21 Apr 2016 16:24:42 +0200 Original-Received: from localhost ([::1]:42067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atFX7-0004Fo-Lq for ged-emacs-devel@m.gmane.org; Thu, 21 Apr 2016 10:24:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atFX3-00048t-9w for emacs-devel@gnu.org; Thu, 21 Apr 2016 10:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atFX0-0004Wu-4e for emacs-devel@gnu.org; Thu, 21 Apr 2016 10:24:37 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atFWz-0004Wm-U7 for emacs-devel@gnu.org; Thu, 21 Apr 2016 10:24:34 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1atFWx-0001MJ-RR for emacs-devel@gnu.org; Thu, 21 Apr 2016 16:24:31 +0200 Original-Received: from modemcable043.43-19-135.mc.videotron.ca ([135.19.43.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Apr 2016 16:24:31 +0200 Original-Received: from monnier by modemcable043.43-19-135.mc.videotron.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Apr 2016 16:24:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: modemcable043.43-19-135.mc.videotron.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:ltHwHnobVTCNPwag7E44v3v3cLM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203146 Archived-At: I haven't kept up with this discussion, but I think it'd worthwhile taking a look at what things like SublimeText do for syntax highlighting, because it's a lot more powerful than what font-lock does (IOW it lets you define contexts and is hence closer to a parser whereas font-lock is closer to a lexer), and it might be an interesting starting point for multiple major modes. I think font-lock is old and deserves a replacement. Stefan