James McCoy wrote:

> On Sun, Feb 23, 2014 at 11:39:29PM +0100, Bram Moolenaar wrote:
> > 
> > Patch 7.4.191
> > Problem:    Escaping a file name for shell commands can't be done without a
> >             function.
> > Solution:   Add the :S file name modifier.
> 
> Test 105 doesn't work when a shadowdir is being used:
> 
> # Check if the test.out file matches test.ok.
> 6,7c6,7
> < fnamemodify('test.out',       ':~'      )     '~/vim-nox/testdir/test.out'
> < fnamemodify('../testdir/a',   ':~'      )     '~/vim-nox/testdir/a'
> ---
> > fnamemodify('test.out',       ':~'      )     '~/src/testdir/test.out'
> > fnamemodify('../testdir/a',   ':~'      )     '~/src/testdir/a'
> 16c16
> < substitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(src/testdir/.*\)', 
> '\1', '') '/path/to/vim/src/vim-nox/testdir/abc.fb2'
> ---
> > substitute(fnamemodify('abc.fb2.tar.gz', ':p:r:r'), '.*\(src/testdir/.*\)', 
> > '\1', '') 'src/testdir/abc.fb2'

I'll make a patch to fix that, hopefully.  Please try again after patch
7.4.220.

-- 
I recommend ordering large cargo containers of paper towels to make up
whatever budget underruns you have.  Paper products are always useful and they
have the advantage of being completely flushable if you need to make room in
the storage area later.
                                (Scott Adams - The Dilbert principle)

 /// 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.

Raspunde prin e-mail lui