From xemacs-m  Fri Sep 19 12:35:34 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA13839
	for <xemacs-beta@xemacs.org>; Fri, 19 Sep 1997 12:35:32 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.7/8.8.7/Debian/GNU) id KAA19997;
	Fri, 19 Sep 1997 10:35:32 -0700
To: XEmacs BETA <xemacs-beta@xemacs.org>
Subject: Re: `lazyshot': feature request
References: <87vhzyplc2.fsf@bittersweet.inetarena.com> <bysov1ogw4.fsf@midget.math.ethz.ch>
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: karlheg@inetarena.com (Karl M. Hegbloom)
Date: 19 Sep 1997 10:35:31 -0700
In-Reply-To: Jan Vroonhof's message of "19 Sep 1997 10:19:07 +0200"
Message-ID: <87k9gdb40s.fsf@bittersweet.inetarena.com>
Lines: 49
X-Mailer: Gnus v5.5/XEmacs 20.3(beta21) - "Bern"

>>>>> "Jan" == Jan Vroonhof <vroonhof@math.ethz.ch> writes:

    Jan> karlheg@inetarena.com (Karl M. Hegbloom) writes:
    >> CPerl mode has a function called `cperl-find-pods-heres' that
    >> font-locks POD documentation and here documents.

    Jan> Why don't they just update the fontlocking information? This
    Jan> seems pretty braindead to me.

 I think it's because the here documents and POD's need to be done
 with a second pass, to cleanup the things highlighted within them
 that shouldn't be.

    >> But when `cperl-mode' is finished, `lazy-shot' comes along and
    >> re-fontifies the visible region, undoing the extra level of
    >> highlighting that `cperl-find-pods-heres' has just done.

    Jan> How does this work with the lazy-lock v2 under FSF
    Jan> Emacs. Does cperl-mode do some special hacking for that?

 No; the timing is different.  `lazy-shot' happens after the
 find-pods-heres, and destroys what it did.

    >> I'd like a hook to hang `cperl-find-pods-heres' on, please.  It
    >> will have to be rewritten to only do a region at a time.

 I'll try to find a place to add that hook myself, using the version
 you've mailed us.

    Jan> I would say as long as you are at it, rewrite the stuff to do
    Jan> it properly. Of course you may put in all the hooks you
    Jan> like. I would like lazy-shot to be interface compatible with
    Jan> lazylock v2 (and in fact be renamed lazy-lock.el when it is
    Jan> finished).

 Ok with me.  If I understand it well enough, I'll do that.  I expect
 to take about six months to a year of solid study to really
 understand XEmacs...  that's *after* I complete more foundation
 studies.  I'll do what *I* can... and send it out for suggestions and
 improvement.



-- 
mailto:karlheg@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select+QNX  AMD K5 PR-133
You tell me and we'll both know.

