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:16:36 +0300 Message-ID: <83lhbar0tn.fsf@gnu.org> References: <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> <83pp0mr1f7.fsf@gnu.org> <87fv1ifshu.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444504627 31619 80.91.229.3 (10 Oct 2015 19:17:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2015 19:17:07 +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:16:55 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 1ZkzdV-0004In-Cy for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2015 21:16:53 +0200 Original-Received: from localhost ([::1]:45942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkzdU-0003Vn-PE for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2015 15:16:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkzdD-0003V8-N5 for emacs-devel@gnu.org; Sat, 10 Oct 2015 15:16:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkzdC-0007OZ-Mi for emacs-devel@gnu.org; Sat, 10 Oct 2015 15:16:35 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:65054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkzd8-0007NA-R9; Sat, 10 Oct 2015 15:16:31 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NW000B00QRK0100@a-mtaout22.012.net.il>; Sat, 10 Oct 2015 22:16:29 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NW000AP0QVHMBB0@a-mtaout22.012.net.il>; Sat, 10 Oct 2015 22:16:29 +0300 (IDT) In-reply-to: <87fv1ifshu.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:191170 Archived-At: > From: David Kastrup > Cc: emacs-devel@gnu.org > Date: Sat, 10 Oct 2015 21:11:57 +0200 > > Eli Zaretskii writes: > > > 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. > > A typical LilyPond score file switches into Scheme thousands of times > (most of the time just for a single scalar Scheme constant where an > actual mode switch would not necessarily be required, but also for all > user-defined functions and any non-trivial non-music expression). Not sure what you are saying. Is it that a region with two ends is not enough, and we need a list of regions? If so, I'm okay with that, and I don't see any serious obstacles to implement that.