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

On Jan 10, 12:07 am, "John Beckett" <[email protected]> wrote:
> Samuel Ferencik wrote:
> > In both accounts, I see the following:
>
> >   :set diffexpr?
> >     diffexpr=MyDiff2()
>
> >   :call MyDiff2()
> >   MyDiff2 called
> >      (I press <CR>)
>
> You seem to have proved that what you're seeing is impossible, so I
> would do one more sanity check. For both accounts:
>
>   :set diffexpr?
>   :function MyDiff2
>
> Does B have exactly what you posted:
>   function! MyDiff2()
>     call input("MyDiff2 called")
>   endfunction
>
> John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to