Viktor Kojouharov wrote:

> Hi Bram,
> 
> I made a patch which adds a new variable, 'v:progpath'. Quite similar
> to 'v:progname', but including the full invocation path of the current
> vim instance. The full path itself is quite useful when you want to do
> tricks with vim servers and --remote-expr, and you don't have to care
> whether vim is in the $PATH.

Thanks, I can see that this is useful.

There also is the findYourself() functio in workshop.c.  But we don't
want to execute that on startup, since it scans directories which can be
slow.  Perhaps we can make it available as a function.
A more tricky solution would be to add v:progfullpath and only figure it
out when it's read.

-- 
TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT
                      SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE
                      KILLED BY THE RABBIT)
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to