emacs-devel
[Top][All Lists]
Advanced

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

Re: Should outline-minor-mode be globalized?


From: Stefan Monnier
Subject: Re: Should outline-minor-mode be globalized?
Date: Mon, 04 Apr 2016 08:39:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> It's nice to be able to globally turn on font-lock mode; on a similar note,
>> it would be nice to be able to turn on outline-minor-mode globally -- rather
>> than setting mode-specific hooks to turn on outline-minor-mode.
>> Is there any risk in globalizing outline-minor-mode?

> Wouldn't it really just be applicable in text-mode derived buffers?

Actually I wouldn't expect it to be very much used in text-mode buffers.
These use-cases are probably better supported by outline-mode or org-mode.

But maybe

    (add-hook 'prog-mode-hook #'outline-minor-mode)

covers Raman's needs?


        Stefan




reply via email to

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