all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Heime <heimeborgia@protonmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: What are the criteria for making a minor mode ?
Date: Tue, 27 Aug 2024 17:20:44 +0000	[thread overview]
Message-ID: <4KKNhKWg8C94wTWFdLxM_14VR2gVInyYd5QFkiaVqMHX0_gyWgV2ECG6WFu70P4XXXWGBRZC8HqihbYDswiaEaz9bm-0vGhIiNZ2Y6C25Ek=@protonmail.com> (raw)
In-Reply-To: <jwva5gz8bs7.fsf-monnier+emacs@gnu.org>

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	other threads:[~2024-08-27 17:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-26 15:54 What are the criteria for making a minor mode ? Heime
2024-08-26 16:59 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-08-27 17:20   ` Heime [this message]
2024-08-27 21:08     ` Rudolf Adamkovič
2024-08-27 21:27       ` Heime
2024-08-29 10:50         ` Rudolf Adamkovič

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4KKNhKWg8C94wTWFdLxM_14VR2gVInyYd5QFkiaVqMHX0_gyWgV2ECG6WFu70P4XXXWGBRZC8HqihbYDswiaEaz9bm-0vGhIiNZ2Y6C25Ek=@protonmail.com' \
    --to=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.