On Fri, Jan 18, 2019 at 09:10:13PM -0500, Richard Kimberly Heck wrote:
> On 1/18/19 8:29 PM, Pavel Sanda wrote:
> > I guess my point now is that experienced user is not expecting
> > emergency file to be renamed and stored, so some hint should be provided. 
> 
> How about a dialog after that's done: "Emergency file saved as
> whatever.lyx"?

That's completely fine with me as well.

> >>> What I would find as a real improvement in the emergency case workflow
> >>> is to offer comparison of the emergency and stored file.
> >>> I found myself doing this manually bunch of times after emergency file
> >>> was created, so new button for that would be handy and not so much work
> >>> I believe.
> >> Sure, we could certainly do that.
> >>
> >> Personally, I have not found the comparison stuff very useful. It seems
> >> to proceed character by character, which can be lead to bizarre diffs.
> >> I've occasionally thought about converting it (or adding an option) so
> >> that it went word by word. That would be more informative, I think.
> > Agreed, I use comparison just for getting indication which part of document
> > changed, the character based diff makes the comparison feature somewhat
> > useless due to the bizarre diffs you mentioned. We even have bug discussing
> > this issue, unf Vincent never got to fix that and it might not be trivial.
> 
> I keep thinking this can't be that hard. I'll have a look.

This would be great to have fixed and it might get even much faster if word
based. My impressioon from the cursory look at the code some years back 
was that it's not straightforward change...

Also just switching to words without touching the comparison algorithm itself
might produce similar problems we have now, see Vincent's comments on #6889.

Pavel

Reply via email to