From: Alan Mackenzie <acm@muc.de>
To: Juri Linkov <juri@linkov.net>
Cc: 22097@debbugs.gnu.org
Subject: bug#22097: Ispell: lazy highlighting doesn't work properly.
Date: Thu, 10 Dec 2015 16:08:08 +0000 [thread overview]
Message-ID: <20151210160808.GC3978@acm.fritz.box> (raw)
In-Reply-To: <87poyfrwwt.fsf@mail.linkov.net>
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).
next prev parent reply other threads:[~2015-12-10 16:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-05 11:42 bug#22097: Ispell: lazy highlighting doesn't work properly Alan Mackenzie
2015-12-05 13:23 ` Eli Zaretskii
2015-12-05 14:06 ` Alan Mackenzie
2015-12-05 14:20 ` Eli Zaretskii
2015-12-05 16:04 ` Alan Mackenzie
2015-12-05 16:47 ` Eli Zaretskii
2015-12-05 23:04 ` Juri Linkov
2015-12-08 0:47 ` Juri Linkov
2015-12-09 21:59 ` Alan Mackenzie
2020-09-07 16:34 ` Lars Ingebrigtsen
2015-12-10 0:04 ` Juri Linkov
2015-12-10 16:08 ` Alan Mackenzie [this message]
2015-12-11 22:45 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151210160808.GC3978@acm.fritz.box \
--to=acm@muc.de \
--cc=22097@debbugs.gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).