[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /srv/bzr/emacs/trunk r101338:*lisp/emacs-lisp/syntax.el(syntax-ppss)

From: E Sabof
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
User-agent: mu4e; emacs

Dmitry Gutov <address@hidden> 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 

>> 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 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]