From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: What is a "superior mode"?
Date: Wed, 10 Mar 2021 05:26:53 +0200 [thread overview]
Message-ID: <83h7ljpu2q.fsf@gnu.org> (raw)
In-Reply-To: <874khkyqgs.fsf@mbork.pl> (message from Marcin Borkowski on Tue, 09 Mar 2021 22:20:03 +0100)
> 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.
next prev parent reply other threads:[~2021-03-10 3:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 4:54 What is a "superior mode"? Marcin Borkowski
2021-03-09 7:19 ` Philip Kaludercic
2021-03-09 11:54 ` Dmitry Gutov
2021-03-09 21:20 ` Marcin Borkowski
2021-03-09 21:37 ` Dmitry Gutov
2021-03-09 21:49 ` Stefan Monnier
2021-03-10 7:07 ` Marcin Borkowski
2021-03-10 3:26 ` Eli Zaretskii [this message]
2021-03-09 12:49 ` Eli Zaretskii
2021-03-09 21:19 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h7ljpu2q.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.