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

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

Re: What are the criteria for making a minor mode ?


From: Heime
Subject: Re: What are the criteria for making a minor mode ?
Date: Tue, 27 Aug 2024 17:20:44 +0000

On Tuesday, August 27th, 2024 at 4:59 AM, Stefan Monnier via Users list for the 
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:

> > One can just add code to a file and require it.
> 
> 
> Do remember that loading a file should not significantly change Emacs's
> behavior (this is a convention on which Emacs relies occasionally to
> "enthusiastically" load files without an explicit request to do so,
> e.g. to try and generate a better docstring, or to try and find out what
> functions that file defines).
> 
> > Ar make a minor mode. What are the criteria for making a minor mode
> > justified ?
> 
> 
> You don't need any justification. You can define as many minor modes as
> makes you happy. It's cheap, don't hold back. - Stefan

Are there any other ways for making a new tool apart from making a minor
or major mode ?  And what would they be good for ? 





reply via email to

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