From xemacs-m  Sun Jan  5 16:41:32 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id QAA12984 for <xemacs-beta@xemacs.org>; Sun, 5 Jan 1997 16:41:31 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id OAA08380; Sun, 5 Jan 1997 14:51:42 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: lazy-lock 1.15 fixes
References: <yviasp4fu6hg.fsf@atreides.mindspring.com>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Sudish Joseph's message of 05 Jan 1997 17:01:15 -0500
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII
Date: 05 Jan 1997 14:51:41 -0800
Message-ID: <m2afqnvipu.fsf@altair.xemacs.org>
Lines: 51
X-Mailer: Red Gnus v0.72/XEmacs 20.0

>>>>> "Sudish" == Sudish Joseph <sudish@mindspring.com> writes:

Sudish> The XEmacs 20.0-beta-34 lazy-lock 1.15 synch up broke lazy-lock coz
Sudish> some of it's version tests assume a major version number of 19.

(I'm rejecting this patch for the moment, although I think you're on
the right track).

Did you examine all the places where mistaken version identity tests
are made?

I also see:

;; XEmacs 19.11 and below exercise a bug in the Xt event loop.
(defvar lazy-lock-continuity-time
  (if (or (not lazy-lock-running-xemacs-p) (> emacs-minor-version 11))
      0
    (if (featurep 'lisp-float-type) 0.001 1))
  "*Time in seconds to delay before normal window fontification.
Window fontification occurs if there is no input within this time.")

;; `previous-single-property-change' at `point-min' up to Emacs 19.25 is fatal.
;; `text-property-any', `text-property-not-all' and
;; `next-single-property-change' up to XEmacs 19.11 are too broke.
(defvar lazy-lock-stealth-time
  (if (> emacs-minor-version (if lazy-lock-running-xemacs-p 11 25)) 30)
  "*Time in seconds to delay before beginning stealth fontification.
Stealth fontification occurs if there is no input within this time.
If nil, means no fontification by stealth.")

;;;###autoload
(defun turn-on-lazy-lock ()
  "Unconditionally turn on Lazy Lock mode."
  (lazy-lock-mode 1))

(if (< emacs-minor-version (if lazy-lock-running-xemacs-p 12 29))
    ;; We don't need this in Emacs 19.29 or XEmacs 19.12.
    (defun lazy-lock-fontify-buffer ()
      "Fontify the current buffer where necessary."
      (interactive)
      (lazy-lock-fontify-region (point-min) (point-max))))



> --- lazy-lock.el.orig	Sat Jan  4 18:05:14 1997
> +++ lazy-lock.el	Sun Jan  5 16:56:59 1997
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

