From xemacs-m  Mon Jun  2 22:37:05 1997
Received: from pentagana.sonic.jp (jhod@tc-6-113.tokyo.gol.com [203.216.8.113])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA12569
	for <xemacs-beta@xemacs.org>; Mon, 2 Jun 1997 22:37:01 -0500 (CDT)
Received: (from jhod@localhost) by pentagana.sonic.jp (8.7.1+2.6Wbeta4/3.4W3) id MAA00425; Tue, 3 Jun 1997 12:22:03 +0900
To: xemacs-beta@xemacs.org
Subject: Re: Request for objections...
References: <u467vx5uwr.fsf@pentagana.sonic.jp> <m2bu5po17i.fsf@altair.xemacs.org> <s1cu3jh2xs6.fsf@mousa.jaist.ac.jp> <u4zpt94amh.fsf@pentagana.sonic.jp> <rvpvu47o4a.fsf@sdnp5.ucsd.edu>
From: jhod@po.iijnet.or.jp (P. E. Jareth Hein)
In-Reply-To: David Moore's message of 02 Jun 1997 13:20:53 -0700
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 03 Jun 1997 12:22:01 +0900
Message-ID: <u47mgcgyli.fsf@pentagana.sonic.jp>
Lines: 28
X-Mailer: Gnus v5.4.52/XEmacs 20.2

David Moore <dmoore@ucsd.edu> writes:

> jhod@po.iijnet.or.jp (P. E. Jareth Hein) writes:
> 
> modification-hooks, insert-before-hooks and insert-after-hooks can
> likely be added to insdel.c.
> 
> If you want to do point-enter-hook and similar, the comment below from
> insdel.c is quite appropriate.  You may also want to look in the
> archives for previous discussion about the evils of these kinds of
> hooks.  Ie, although it might make sense to run those hooks because of a
> user moving the point into the extent (like mouse hilight), it's
> probably a very bad idea to run those hooks on general entry into an
> extent since _a lot_ of functions move the point around for simple
> internal reasons, and you'd pay a lot of pain.
> 
<stuff from insdel.c snipped> 

Yah, I ran across that when I started my implementation.  I've
currently got a little c function that is wedged at the end of
post-command-hook in event-streams.c.  The problem I've got at the
moment is what appears to be some sort of sync problem with the
setting of current-buffer (which is actually present in 20.0, 20.2 as
well) that I'm trying to chase down to make sure I'm not exacerbating
the problem. I figure this will be a lot less painful...

--
Jareth

