Aside: Behaviors [was: Framework to change dumped ...]

"Stephen J. Turnbull" <[email protected]> Wed, 23 Mar 2005 14:17:43 +0900
Newsgroups gmane.emacs.xemacs.patches,gmane.emacs.xemacs.design
Organization The XEmacs Project
Message-ID <[email protected]>
Reply-To/MFT set.

>>>>> "APA" == Adrian Aichner <[email protected]> writes:

    APA> are you aware of
    APA> (info "(xemacs)Behaviors")

We need to discuss Ben's behavior implementation.

IMHO, the "behavior mechanism" should not be user-visible at all!
Rather it should be described as "global minor modes" (as we already
do with font-lock, for example).

I think it's an important enhancement to the idea of minor mode, and
should be described as such.  (And it's _not_ an "interface to
packages" at all, not all packages supply minor modes, and some that
do actually have a completely different main purpose.)  I don't think
it's possible to distinguish between behaviors and minor modes in
general.  Also, while the behavior mechanism is worth having now, we
really should make a priority of integrating the behavior definition
functionality into define-minor-mode (which would then become actually
worth having, instead of being yet another GNU compatibility
irritant).


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.