From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: IDE Date: Sat, 10 Oct 2015 22:03:40 +0300 Message-ID: <83pp0mr1f7.fsf@gnu.org> References: <831td9z18h.fsf@gnu.org> <5612E996.7090700@yandex.ru> <83bnc7tavr.fsf@gnu.org> <5618C92A.3040207@yandex.ru> <83a8rrt9ag.fsf@gnu.org> <5618D376.1080700@yandex.ru> <831td3t62e.fsf@gnu.org> <5618E51D.4070800@yandex.ru> <83twpzrp05.fsf@gnu.org> <5618ED93.8000001@yandex.ru> <83lhbbrnn7.fsf@gnu.org> <56191EBE.5050404@yandex.ru> <83612essaw.fsf@gnu.org> <877fmuix68.fsf@isaac.fritz.box> <8337xispn2.fsf@gnu.org> <56195055.6010409@gmx.at> <87oag6ftoq.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444503861 20569 80.91.229.3 (10 Oct 2015 19:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2015 19:04:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 10 21:04:12 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 1ZkzR8-0008Lt-Mx for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2015 21:04:06 +0200 Original-Received: from localhost ([::1]:45901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkzR8-0008Ap-4f for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2015 15:04:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkzQi-00089R-1e for emacs-devel@gnu.org; Sat, 10 Oct 2015 15:03:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkzQh-0002gD-5r for emacs-devel@gnu.org; Sat, 10 Oct 2015 15:03:39 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:41899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkzQc-0002fw-Fg; Sat, 10 Oct 2015 15:03:34 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NW000M00PRTE200@mtaout28.012.net.il>; Sat, 10 Oct 2015 22:03:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NW000M82Q90KO20@mtaout28.012.net.il>; Sat, 10 Oct 2015 22:03:00 +0300 (IDT) In-reply-to: <87oag6ftoq.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 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:191165 Archived-At: > From: David Kastrup > Date: Sat, 10 Oct 2015 20:46:13 +0200 > > Emacs sucks at multiple-language buffers out of the box. They are > inherent for any form of literate programming, they are rather prevalent > for embedding languages in HTML, they are useful for things like Texinfo > with embedded examples, I'd need them for LilyPond (which integrates > Scheme code). Many IDEs are single-language to start with, and if they > aren't, they are either generic or single-language per file. > > There is mmm-mode but it's not part of ELPA (and probably not > copyright-assignable, at least that's my guess of why it might be out). > And I strongly suspect that some stronger core features inside of Emacs > would be desirable, like keeping indentation and font-locking engines > and syntax constrained to regions identified with overlays or text > properties. I indeed think that we should have infrastructure to turn on a major mode in a region of a buffer. I'm not sure we should use text properties or overlays for that, though. The region could be part of the command that turns on the mode with region limits stored in markers.