[Top][All Lists]

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

vdiff and smerge-refine-subst

From: Stefan Monnier
Subject: vdiff and smerge-refine-subst
Date: Wed, 17 May 2017 12:32:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi Justin,

Here's another question: any particular reason why you use your own
vdiff--diff-words instead of smerge-refine-subst?  Oh, wait, I think
I see why: smerge-refine-subst all works in the current buffer whereas
you have the two parts in separate buffers.  Would you be interested in
extending smerge-refine-subst so vdiff can use it?
[ We could rename it at the same time since I can't find
  a justification for the `subst` part of the name.  ]

While I'm here: I see you have a vdiff-default-refinement-syntax-code
custom variable, just like ediff has a ediff-forward-word-function.
Have you actually ever needed to change its value (or found users who
requested to be able to change this value)?  I resisted the original
temptation to introduce such a configuration into smerge-refine-subst
and never had to look back (although I occasionally feel like it would
be neat to refine the refinements (with char-granularity refinement
within words)).


reply via email to

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