From xemacs-m  Fri Sep 19 03:19:11 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA28755
	for <xemacs-beta@xemacs.org>; Fri, 19 Sep 1997 03:19:10 -0500 (CDT)
Received: from midget (vroonhof@midget [129.132.145.4]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id KAA29712 for <xemacs-beta@xemacs.org>; Fri, 19 Sep 1997 10:19:08 +0200
Received: (vroonhof@localhost) by midget (SMI-8.6/D-MATH-client) id KAA29929; Fri, 19 Sep 1997 10:19:08 +0200
To: xemacs-beta@xemacs.org
Subject: Re: `lazyshot': feature request
References: <87vhzyplc2.fsf@bittersweet.inetarena.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 19 Sep 1997 10:19:07 +0200
In-Reply-To: karlheg@inetarena.com's message of 18 Sep 1997 10:45:33 -0700
Message-ID: <bysov1ogw4.fsf@midget.math.ethz.ch>
Lines: 28
X-Mailer: Gnus v5.4.55/XEmacs 19.15

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.  When you first find
>  a perl file, when font-lock is enabled, font-lock is turned on by
>  `cperl-mode', and at the end of `cperl-mode', `cperl-find-pods-heres'
>  is called.  That's working great.

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

>  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.

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

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


Jan

