From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Is that change a good idea?
Date: Fri, 18 Mar 2005 15:07:07 +0100 [thread overview]
Message-ID: <x5ll8lf3p0.fsf@lola.goethe.zz> (raw)
In-Reply-To: <871xad5b2j.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 18 Mar 2005 08:45:49 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> > * help.el (describe-mode): Allow a :minor-mode-function property to
>>> > specify a different minor mode toggle function than the variable.
>>> > * simple.el (auto-fill-function):
>>> > * subr.el (add-minor-mode): Use it.
>>>
>>> > I have my doubts that the resulting flexibility is really in the best
>>> > interest of the users...
>>>
>>> 100% agreement.
>>> It's only meant to clean up the code,
>
>> Wouldn't it be far more cleaner to convert old minor-modes which would
>> need this hack to proper minor-modes following standard semantics?
>
> You do realize that there are packages over which we have no
> control, right?
Well, then we won't need to worry about us not being able to use
define-minor-mode for them.
> make sure they're kept in sync. Maybe we could do (defvaralias
> 'auto-fill-function 'auto-fill-mode) and then slowly change modes to
> replace (if auto-fill-function (funcall auto-fill-function)) with
> (if auto-fill-mode (funcall normal-auto-fill-function)).
That won't work if modes set auto-fill-function themselves to a
function...
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
prev parent reply other threads:[~2005-03-18 14:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 22:07 Is that change a good idea? David Kastrup
2005-03-17 22:16 ` Stefan Monnier
2005-03-18 8:24 ` Sascha Wilde
2005-03-18 13:45 ` Stefan Monnier
2005-03-18 14:07 ` David Kastrup [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x5ll8lf3p0.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).