[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compare-windows - synchronize points
From: |
Juri Linkov |
Subject: |
Re: compare-windows - synchronize points |
Date: |
26 Aug 2003 08:28:42 +0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Richard Stallman <address@hidden> writes:
> I can see how that would happen. It suggests an idea to me. The idea
> is to search for a larger matching substring first, and then try
> smaller matching substrings. It's the same kind of idea as first
> trying smaller search ranges and then larger ones.
The latest code I posted 2003-08-19 has an implementation of exactly
same idea. It first doubles search ranges, and if differences are
still not found, then it starts to halve a matching substring size.
So there are no problems with finding differences anymore. It works
correctly in all cases I tested.
However, I think that the size of matching substring should be
customizable. I found that current default value 32 (with which a
search is started) is optimal for most cases. But sometimes user
may want to start with a lesser value to get more fine-grained results.
--
http://www.jurta.org/emacs/
- compare-windows - synchronize points, Juri Linkov, 2003/08/11
- Re: compare-windows - synchronize points, Richard Stallman, 2003/08/12
- Re: compare-windows - synchronize points, Juri Linkov, 2003/08/12
- Re: compare-windows - synchronize points, Richard Stallman, 2003/08/13
- Re: compare-windows - synchronize points, Juri Linkov, 2003/08/14
- Re: compare-windows - synchronize points, Richard Stallman, 2003/08/16
- Re: compare-windows - synchronize points, Juri Linkov, 2003/08/18
- Re: compare-windows - synchronize points, Richard Stallman, 2003/08/20
- Re: compare-windows - synchronize points, Juri Linkov, 2003/08/22
- Re: compare-windows - synchronize points, Richard Stallman, 2003/08/25
- Re: compare-windows - synchronize points,
Juri Linkov <=
- Re: compare-windows - synchronize points, Richard Stallman, 2003/08/27
- Re: compare-windows - synchronize points, Alex Schroeder, 2003/08/14
- Re: compare-windows - synchronize points, Juri Linkov, 2003/08/14
- Re: compare-windows - synchronize points, Alex Schroeder, 2003/08/14
- Re: compare-windows - synchronize points, Juri Linkov, 2003/08/15