From xemacs-m  Thu Jul 10 03:48:18 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA00644
	for <xemacs-beta@xemacs.org>; Thu, 10 Jul 1997 03:48:17 -0500 (CDT)
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.6/8.8.6) id KAA23450;
	Thu, 10 Jul 1997 10:48:15 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: hide-ifdef again
References: <199707100516.BAA24011@spacely.icd.teradyne.com> <kig3epn4fzw.fsf@jagor.srce.hr> <m267uj74yl.fsf@altair.xemacs.org> <kigwwmzz733.fsf@jagor.srce.hr> <m2vi2j5np1.fsf@altair.xemacs.org>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 10 Jul 1997 10:48:15 +0200
In-Reply-To: Steven L Baur's message of "10 Jul 1997 01:14:02 -0700"
Message-ID: <kigrad7z41c.fsf@jagor.srce.hr>
Lines: 41
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta12) - "Helsinki"

Steven L Baur <steve@xemacs.org> writes:

> I just tested follow mode.  Its keymap doesn't work either and
> unless anyone protests[1] it will not appear in beta13.  Besides not
> working across frames it commits the mortal sin of defining keys on
> C-c <alphabetic> keys.

Yup.  We'd best put it to an attic, so people who really want it can
find it.

> > I don't know what follow mode is, and if it works.  Other minor modes
> > seem to use the keymap here (not the symbol pointing to a keymap), and 
> > my patch certainly does fix hide-ifdef-mode.
> 
> The primary advantage of autoloading the `add-minor-mode' call is to
> make loading the minor-mode accessible by default by clicking on the
> modeline.

You've got a point, but it's an easy thing to do for modes without a
keymap.  When the mode has a keymap, it becomes hard.

> I would like to see a solution where it can be autoloaded.

I'm not sure if it is possible, without also creating the keymap at
dump-time (which looks like an overkil to me).

> Footnotes: 
> [1]  *And* converts it to work correctly with multiple frames *and*
> removes the *sinful* C-c alphabetic keybindings.  The latter
> requirement is non-negotiable.

The latter requirement is trivial, too. :-)

But the rest...  I don't know.  The mode looks like a useful thing, if 
implemented properly.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
`VI' - An editor used by those heretics that don't subscribe to
       the Emacs religion.

