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: Eli Zaretskii
Subject: Re: What is a "superior mode"?
Date: Wed, 10 Mar 2021 05:26:53 +0200

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Tue, 09 Mar 2021 22:20:03 +0100
> Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
> 
> >>   -- 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?

Those facilities are some simple infrastructure in support of such
modes.



reply via email to

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