From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r101338:*lisp/emacs-lisp/syntax.el(syntax-ppss): More sanity check to catchtch Date: Fri, 14 Feb 2014 15:38:01 +0000 Message-ID: <87eh35n1ra.fsf@gmail.com> References: <87r47bi1e5.fsf@yandex.ru> <52F96284.50507@yandex.ru> <52FAE12B.6060101@yandex.ru> <52FC3BEE.60604@yandex.ru> <52FCD2B4.5080006@yandex.ru> <52FD9F1D.50205@yandex.ru> <83mwhucg1h.fsf@gnu.org> <878ute589i.fsf@fencepost.gnu.org> <83d2iqc84m.fsf@gnu.org> <87wqgxkcr9.fsf@yandex.ru> <87fvnln2md.fsf@gmail.com> <87ob297m3c.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392392298 26949 80.91.229.3 (14 Feb 2014 15:38:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2014 15:38:18 +0000 (UTC) Cc: Eli Zaretskii , David Kastrup , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 14 16:38:25 2014 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 1WEKqP-00027Z-8U for ged-emacs-devel@m.gmane.org; Fri, 14 Feb 2014 16:38:25 +0100 Original-Received: from localhost ([::1]:52402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKqO-0005iY-Nf for ged-emacs-devel@m.gmane.org; Fri, 14 Feb 2014 10:38:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKqF-0005h6-BU for emacs-devel@gnu.org; Fri, 14 Feb 2014 10:38:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEKq8-00023a-Pd for emacs-devel@gnu.org; Fri, 14 Feb 2014 10:38:15 -0500 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:61127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKq8-00023L-IQ; Fri, 14 Feb 2014 10:38:08 -0500 Original-Received: by mail-wi0-f171.google.com with SMTP id cc10so589388wib.4 for ; Fri, 14 Feb 2014 07:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=V8a/ge6njiQV6FetzmGepk/sD0C6Tded+hI3pjDSNBU=; b=Tl+U6p60r8Jy2DdAxYeMZMwdSnTDyB4jiRu69k2ivK8S/vZAEa105Tbs+t+h7vLzNT UvFABv+yN2DwguOtvPmVf4pUycOwfeLH7t5mAl8D2FkMl84oBkzsgglAUT5yzQqxmpwv RYMRp63LZA88KaUXeR/Lqv0/hIW42pB9ZaLoLTENf5vcWH2sK02BazfvSnOfix/aI4dr EQp2wzMRWdKwrSS+Euio10PXAOl3yARgvsr6hi8KVfkTdTL/nolQTwdxoYrK1qIL7Csw brliBZsrzWgmq6fQP6dPNAwEM7kb7468kDnKoGHRNelKIwyIlrpNXI9vQMaO+pVWMS4P 0mCQ== X-Received: by 10.180.73.19 with SMTP id h19mr2868185wiv.40.1392392285988; Fri, 14 Feb 2014 07:38:05 -0800 (PST) Original-Received: from ubuntu ([2.218.154.175]) by mx.google.com with ESMTPSA id ux5sm13519470wjc.6.2014.02.14.07.38.04 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 14 Feb 2014 07:38:05 -0800 (PST) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.4 In-reply-to: <87ob297m3c.fsf@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b 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:169618 Archived-At: Dmitry Gutov writes: > For org-mode, org-babel would be the proper place to handle the chunk > boundaries, I believe. Not sure how they handle it. But fontification is the only thing that is supported. >> Or maybe php-mode with html/css/js snippets. >> Or html-mode with js/css. > > How would html-mode know about js and css? Or, more generally, how would > Emacs know about *new* modes and their delimiters that need to be handled? The "parent" mode gives emacs a "child" region, and tells it which mode to use in it. Fontification could be handled this way. Additonal data might be needed for indentation. Potentally the parent mode might tell emacs to treat a number of regions "as one". _Maybe_, this way flymake could still work on embedded modes. Evgeni