From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: `define-globalized-minor-mode': why the need for a separate TURN-ON function?
Date: Fri, 06 Apr 2012 23:56:01 -0400 [thread overview]
Message-ID: <jwv1uo0fb8m.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <792A96A59B454A7596A0A1676765A152@us.oracle.com> (Drew Adams's message of "Thu, 5 Apr 2012 08:44:42 -0700")
> I've only looked briefly at this, and am no doubt not noticing
> something. Anyway, why for `define-globalized-minor-mode' must one
> define a separate TURN-ON function to turn the mode on, but using the
> (local) minor-mode function suffices to turn it off?
As the docstring says: "try to turn MODE on if applicable for that
buffer". That's different to MODE itself which should turn it in if at
all possible.
Stefan
next prev parent reply other threads:[~2012-04-07 3:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 15:44 `define-globalized-minor-mode': why the need for a separate TURN-ON function? Drew Adams
2012-04-07 3:56 ` Stefan Monnier [this message]
2012-04-07 14:45 ` Drew Adams
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=jwv1uo0fb8m.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--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.