bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25355: 26.0.50; Provide function to non-destructively replace buffer


From: Philipp Stephani
Subject: bug#25355: 26.0.50; Provide function to non-destructively replace buffer contents
Date: Sat, 17 Jun 2017 13:47:48 +0000



Philipp Stephani <address@hidden> schrieb am Mo., 12. Juni 2017 um 23:17 Uhr:
Philipp Stephani <address@hidden> schrieb am So., 7. Mai 2017 um 20:21 Uhr:


P.S. Doesn't GNU Diff have code to do this? 

Sure, but it's not a library. libmba was the only library that I've found so far with a usable interface (i.e. that doesn't assume that the input sequences are byte arrays).
 

Apparently I didn't look closely enough: Diffutils uses an implementation of the Myers algorithm from Gnulib, which is customizable enough to fit our needs. I've attached a patch that uses Gnulib. 

I've pushed a slightly modified version of this patch as d682f0daa3. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]