Sunday, June 8, 2014

Re: vimdiff noob question

Ethan Alan


On Sun, Jun 8, 2014 at 8:39 PM, wolfv <wolfvolpi@gmail.com> 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.
>

Just out of curiosity, what is the contents of this a.txt~ file? Just
a long shot in the dark, but is it possible that the two files are the
same and for some reason that's why the diff doesn't show anything? I
seriously doubt this because by default (I think) there should at
least be a fold displayed at the top. And this certainly doesn't
explain why a.txt would be empty after closing the diff.

Cheers,

Ethan Alan
> --
> --
> 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.

--
--
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:

Post a Comment