emacs-devel
[Top][All Lists]
Advanced

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

Re: antlr-mode.el - need some support by python.el


From: Dmitry Gutov
Subject: Re: antlr-mode.el - need some support by python.el
Date: Tue, 9 Jun 2015 00:33:17 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/08/2015 11:50 PM, Stefan Monnier wrote:

What new variable?  You mean prog-indentation-context?

Yes.

The intended use case where PREVIOUS-CHUNKS is a string is when this
"context" is a fixed short string, e.g. in a tool like yacc/bison, each
C chunk would use a PREVIOUS-CHUNKS along the lines of "void
pseudofunction () {" so as to make it clear that the chunk's content is
expected to be a function body rather than a top-level declaration.

Okay, thanks for the explanation. Indeed, that sounds fine, even if it'll require more smarts on the part of the inner major mode.



reply via email to

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