From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: doc of defining minor modes
Date: Thu, 18 May 2006 14:59:29 -0400 [thread overview]
Message-ID: <jwvk68jnoyv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICOEEHDGAA.drew.adams@oracle.com> (Drew Adams's message of "Thu, 18 May 2006 11:10:15 -0700")
> If it does not already have a value when the library is loaded, then the
> library can set the (default) value to on or off, as appropriate. If on is
> inappropriate for some particular library for some reason, then its
> :init-value should be nil.
> Please provide a specific scenario of the problem you see - I'm not getting
> this.
Elisp packages may be loaded because the user specifically wants it to be
loaded, but they can also be loaded for all kinds of other
unrelated reasons. So as a matter of principle the user-visible behavior of
Emacs should be mostly unchanged by (load <foo>).
This often means that minor modes should default to being disabled.
Not always, tho: E.g. foo-aux-mode could default to being enabled without
any harm if it only ever affects buffers in foo-mode and foo-mode can't
exist without foo-aux-mode also existing (e.g. because they're defined in the
same file of because foo.el requires `foo-aux').
Stefan
next prev parent reply other threads:[~2006-05-18 18:59 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 16:38 doc of defining minor modes Drew Adams
2006-05-18 17:00 ` Andreas Schwab
2006-05-18 17:22 ` Drew Adams
2006-05-18 17:47 ` David Kastrup
2006-05-18 17:55 ` Drew Adams
2006-05-18 18:03 ` David Kastrup
2006-05-18 18:10 ` Drew Adams
2006-05-18 18:59 ` Stefan Monnier [this message]
2006-05-18 22:12 ` Drew Adams
2006-05-19 3:21 ` Stefan Monnier
2006-05-18 20:38 ` David Kastrup
2006-05-18 22:11 ` Drew Adams
2006-05-18 22:36 ` David Kastrup
2006-05-19 0:01 ` Drew Adams
2006-05-19 0:25 ` David Kastrup
2006-05-19 1:44 ` Drew Adams
2006-05-19 6:20 ` David Kastrup
2006-05-19 17:39 ` Drew Adams
2006-05-19 15:59 ` Drew Adams
2006-05-19 16:29 ` David Kastrup
2006-05-19 17:45 ` Drew Adams
2006-05-19 18:43 ` Andreas Schwab
2006-05-19 16:43 ` Stefan Monnier
2006-05-19 17:43 ` Drew Adams
2006-05-19 17:52 ` David Kastrup
2006-05-19 18:28 ` Stefan Monnier
2006-05-19 1:49 ` Miles Bader
2006-05-18 17:07 ` David Kastrup
2006-05-18 17:55 ` Drew Adams
2006-05-19 2:05 ` Richard Stallman
2006-05-19 15:59 ` Drew Adams
2006-05-19 16:40 ` Stefan Monnier
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=jwvk68jnoyv.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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.