[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vdiff and smerge-refine-subst
From: |
Justin Burkett |
Subject: |
Re: vdiff and smerge-refine-subst |
Date: |
Wed, 17 May 2017 12:43:58 -0400 |
> Would you be interested in extending smerge-refine-subst so vdiff can use it?
Yes, I could do that when I get a chance.
> Have you actually ever needed to change its value (or found users who
> requested to be able to change this value)?
No, I just did that because it was easy to do and ediff offered
something similar.
On Wed, May 17, 2017 at 12:32 PM, Stefan Monnier
<address@hidden> wrote:
> 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)).
>
>
> Stefan