sent 06:36:28 30 July 2011, Saturday
by Gary Johnson:
> Either way works--I just prefer the former.
It is strange because first variant works better. Correct variant using :execute 
is
    execute 'edit' fnameescape(testme)
Original message:
> On 2011-07-29, sc wrote:
> > On Friday, July 29, 2011 16:55:17 Gary Johnson wrote:
> > > (which I'm surprised even works) to
> > > 
> > >    exe 'e' testme
> > 
> > well -- i was surprised THAT works and changed it to
> > 
> >     execute 'e ' . testme
> 
> From ":help :exe":
>     :exe[cute] {expr1} ..   Executes the string that results from
> 
>                             the evaluation of {expr1} as an Ex
>                             command.  Multiple arguments are
>                             concatenated, with a space in between.
> 
> Either way works--I just prefer the former.
> 
> Regards,
> Gary
 
No comments:
Post a Comment