help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What is a "superior mode"?


From: Marcin Borkowski
Subject: Re: What is a "superior mode"?
Date: Tue, 09 Mar 2021 22:20:03 +0100
User-agent: mu4e 1.1.0; emacs 28.0.50

On 2021-03-09, at 12:54, Dmitry Gutov <dgutov@yandex.ru> wrote:

> On 09.03.2021 06:54, Marcin Borkowski wrote:
>> the Elisp reference says (in the "Mode-Specific Indent" node):
>>   -- Function: prog-first-column
>>       Call this function instead of using a literal value (usually, zero)
>>       of the column number for indenting top-level program constructs.
>>       The function’s value is the column number to use for top-level
>>       constructs.  When no superior mode is in effect, this function
>>       returns zero.
>> What is a "superior mode" (and a "sub-mode", for that matter)?
>
> It refers to a "multiple major modes" situation. Like Python embedded
> in HTML, that sort of thing. Or C inside Latex.

Yeah, I know now.  But: are "multiple modes" supported by core Emacs?

Best,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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