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

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

bug#57469: Missing information about all the modes that fall under prog-


From: uzibalqa
Subject: bug#57469: Missing information about all the modes that fall under prog-mode.
Date: Mon, 29 Aug 2022 06:05:10 +0000

------- Original Message -------
On Monday, August 29th, 2022 at 5:49 AM, Gregory Heytings 
<gregory@heytings.org> wrote:


> > I am using prog-mode-hook but cannot find anywhere in the manual stating
> > all the modes that fall under prog-mode.
> 
> 
> All modes do not fall under prog-mode. There are four "root" modes in the
> hierarchy (see the info manual of Elisp, section 24.2.5: Basic Major
> Modes): text-mode and prog-mode, which are the two modes from which most
> modes inherit, special-mode which is the mode from which for example
> Help buffers inherit, and fundamental-mode which is the mode from which
> modes that do not fall in one of the three previous categories inherit.

Your elaboration does not bring to light anything valuable to users.

When one uses  prog-mode-hook  , which major modes are affected?  The manuals
do not say.






reply via email to

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