Sunday, June 8, 2014

Re: vimdiff noob question

On Sunday, June 8, 2014 7:34:30 PM UTC-6, Tony Mechelynck wrote:
> On 09/06/14 02:39, wolfv wrote:
>
> > On Sunday, June 8, 2014 1:04:55 PM UTC-6, Ben Fritz wrote:
>
> >> On Sunday, June 8, 2014 12:18:24 AM UTC-5, wolfv wrote:
>
> >>>
>
> >>> Thanks Tony. My path environment checks out.
>
> >>>
>
> >>> The vim install has C:\Program Files (x86)\Vim\vim74\diff.exe
>
> >>> and PATH environment has variable:
>
> >>> ;C:\Program Files (x86)\Vim\vim74\
>
> >>>
>
> >>> I am running vim 7.4 on Windows 7.
>
> >>> What else can I trouble shoot?
>
> >>
>
> >> Check your diffexpr setting. In particular, if you do not have at least Vim 7.4.103, the diffexpr installed by default is incorrect.
>
> >>
>
> >> Either update your Vim install to at least patchlevel 103, or see here if you just want to copy the new default diffexpr: http://superuser.com/a/697914/233630
>
> >
>
> > Thanks Ben. I installed gvim-7-4-256.exe from http://sourceforge.net/projects/cream/files/
>
> > It was installed with the default _vimrc file.
>
> > But it made no difference.
>
> >
>
> > Attached are three screen shots of what my vimdiff is doing.
>
> > Here is the weird part: after opening a.txt in vimdiff and closing vimdiff (I did not save or do anything while in vimdiff), I open a.txt shows that a.txt is empty.
>
> >
>
> > Otherwise vim works normally.
>
> >
>
>
>
> Do you get the same problem when you don't use a filename which usually
>
> means a backup of the other file? Let's say "vim -d a.txt b.txt"?
>
>
>
> See
>
> :help 'backup'
>
> :help 'backupext'
>
> :help 'writebackup'
>
> :help 'backupcopy'
>
>
>
>
>
> Best regards,
>
> Tony.
>
> --
>
> hundred-and-one symptoms of being an internet addict:
>
> 122. You ask if the Netaholics Anonymous t-shirt you ordered can be
>
> sent to you via e-mail.

Same results with:
>vim -d a.txt b.txt
where a.txt and b.txt contain different text on every line.
both files end up empty.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: