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

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

Re: outline-minor-mode heading levels in C, C++, and html


From: Joel Reicher
Subject: Re: outline-minor-mode heading levels in C, C++, and html
Date: Fri, 16 Aug 2024 10:05:09 +1000
User-agent: Gnus/5.13 (Gnus v5.13)

Heime <heimeborgia@protonmail.com> writes:

On Friday, August 16th, 2024 at 12:34 AM, Joel Reicher <joel.reicher@gmail.com> wrote:

Heime heimeborgia@protonmail.com writes:

In elisp one uses

;;; Level 1 Heading
;;;; Level 2 Heading
;;;;; Level 3 Heading

This is common, but not universal, and is not part of elisp.

Is it the default embedded in outline-minor-mode ?

No, it isn't.

I do understand that the heading patterns are modified by some projects. But I am only looking at what outline-minor-mode does.

Outline minor mode provides an abstraction that needs to be implemented by the major mode in use.

The outline-regexp variable is a large part of that abstraction, which is why I've tried to direct your attention to it. If and when a major mode sets that to a sensible value, it is providing the implementation for outline-minor-mode that would otherwise be missing.

Not default. Missing.

Regards,

       - Joel



reply via email to

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