Hello, I have now found the problem.
I looked in the source code, and found that ex_diffupdate() writes temporary files into $TMP/... Well, my $TMP (in both A and B accounts) points to a directory in the A account, and this directory was only writable by A, so vim running under B could not create the temp files. (I don't even remember why I had $TMP defined in the first place; if it is unset, diffing works.) Thank you both for your suggestions. Sam On Jan 12, 10:25 am, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > On 12/01/09 09:56, Samuel Ferencik wrote: > > > > > Hi John, > > > thanks for the reply. I have tried your suggestion, and I get the same > > output from both accounts: > > > :function MyDiff2 > > function MyDiff2() > > 1 call input("MyDiff2 called") > > endfunction > > > I should have said I was using vim on VMS, which is probably not what > > most of you are using. Unfortunately, I have no other multi-user > > environment where I could try the same thing with another vim build > > (win, unix). I think I will now turn to the vim-vms discussion list. > > > Is there no other way to look under the hood? What does vim do between > > :windo:difft > > and calling > > 'diffexpr' > > for the first window? > > > Thanks, > > Sam > > Have you tried setting 'diffexpr' to the empty string (for instance by > running "vim -N -u NONE")? And if you have, did it work? > > Best regards, > Tony. > -- > It's a good thing we don't get all the government we pay for. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---