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: Phil Sainty
Subject: bug#57469: Missing information about all the modes that fall under prog-mode.
Date: Tue, 30 Aug 2022 09:24:33 +1200
User-agent: Orcon Webmail

On 2022-08-30 04:33, uzibalqa wrote:
Gregory manages to compile a list.  How was that done?

If you want to see LOADED modes derived from prog-mode you can do
this sort of thing:

 (cl-loop for sym being the symbols
          if (provided-mode-derived-p sym 'prog-mode)
          collect sym)

I imagine Gregory grepped the codebase for define-derived-mode
definitions deriving from prog-mode, though, rather than loading
all of the things.


-Phil






reply via email to

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