all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Marcin Borkowski <mbork@mbork.pl>,
	Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: What is a "superior mode"?
Date: Tue, 9 Mar 2021 13:54:06 +0200	[thread overview]
Message-ID: <fb739c74-d046-db60-3137-ced2ce6c3c17@yandex.ru> (raw)
In-Reply-To: <878s6xhqp6.fsf@mbork.pl>

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.



  parent reply	other threads:[~2021-03-09 11:54 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 [this message]
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
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=fb739c74-d046-db60-3137-ced2ce6c3c17@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /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.