|
From: | Dmitry Gutov |
Subject: | Re: What is a "superior mode"? |
Date: | Tue, 9 Mar 2021 13:54:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |