GNU bug report logs - #22097
Ispell: lazy highlighting doesn't work properly.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sat, 5 Dec 2015 11:41:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 22097 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 22097 <at> debbugs.gnu.org
Subject: Re: bug#22097: Ispell: lazy highlighting doesn't work properly.
Date: Thu, 10 Dec 2015 16:08:08 +0000
Hello, Juri.

On Thu, Dec 10, 2015 at 02:04:50AM +0200, Juri Linkov wrote:
> > Lazy highlight doesn't want to try matching in those skip-regions, and
> > since it cannot support non-contiguous regions

> Adding support for non-contiguous regions to lazy-highlight is trivial -
> the same way we did it recently for query-replace.

I don't think I know what you mean, here.  I don't see it as being at
all trivial, but maybe I'm missing something.
isearch-lazy-highlight-new-loop will need to get a list of regions to
skip, and pass this on to i-l-h-update which will need to step gingerly
through the allowed regions.

> But to use it we need a list of boundaries of skipped regions from
> ispell.  I guess this shouldn't be too difficult to do using regexps
> that Alan fixed today in ispell-skip-region-list.

We should be able to take the list of boundaries from the bit of code
which searches for them in the first place.  Maybe.  Somehow.

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 4 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.