[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax ambiguities in narrowed buffers and multiple major modes: a p
From: |
Alan Mackenzie |
Subject: |
Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution. |
Date: |
Sun, 26 Feb 2017 16:10:39 +0000 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
Hello, Yuri.
On Sun, Feb 26, 2017 at 19:24:41 +0700, Yuri Khan wrote:
> On Sun, Feb 26, 2017 at 7:06 PM, Alan Mackenzie <address@hidden> wrote:
> > In that case, we'd need some other term to mean what I'm calling an
> > "island", i.e. a region of buffer bounded by island open/close
> > syntax-table text properties, possibly with its own syntax table, which
> > is syntactically disjoint from the surrounding buffer pieces.
> In many languages, conventions exist for including formal
> documentation in the source. In Elisp and Python, it is syntactically
> expressed as a string. In Javadoc and Doxygen (used for C and C++), it
> takes the form of a specially formatted comment. In C#, it is a
> comment containing XML markup.
> In all cases, the documentation has its own syntax, distinct from the
> syntax of the surrounding program, and may benefit from local
> bindings. Totally a use case for islands.
Could well be. Once the facility has been implemented, people will be
able to try out things like this.
--
Alan Mackenzie (Nuremberg, Germany).
- Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Alan Mackenzie, 2017/02/25
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Stefan Monnier, 2017/02/25
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Alan Mackenzie, 2017/02/25
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Stefan Monnier, 2017/02/26
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Alan Mackenzie, 2017/02/26
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Stefan Monnier, 2017/02/26
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Alan Mackenzie, 2017/02/27
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Stefan Monnier, 2017/02/27
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Stefan Monnier, 2017/02/27
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Dmitry Gutov, 2017/02/27
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Alan Mackenzie, 2017/02/28
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Stefan Monnier, 2017/02/28
- Re: Syntax ambiguities in narrowed buffers and multiple major modes: a proposed solution., Alan Mackenzie, 2017/02/28