On 15-Jun-2012 06:09:54 -0700 (PDT), mattn wrote:

> Try following.
> 
> :set wildignore+=*.bak
> :e `="foo.bak"`
> E480: No match: `="foo.bak"`
> 
> I think, this should be matched to wildignore. Also :e `ls foo.c`.

I have the opinion that having 'wildignore' apply (they way it is now) is more
consistent with the behavior of file completion, glob expansion (:arg foo*), and
interactive use of Vim. This is mostly from a consistency / mental model point
of view; I have rarely used backtick expansion so far, anyhow.

The issue is that some plugin writers have used backtick expansion as a
workaround for the mentioned bugs in fnameescape(). I think these bug(s) should
rather be addressed, and fnameescape() should be the canonical way for use in
scripts, as intended. (I also find it way more expressive that the backtick 
hack.)

> BTW, fnameescape() have bugs that wasn't fixed yet on windows.
> 
> https://groups.google.com/forum/?fromgroups#!msg/vim_dev/sTfkV2vcBoI/CckA_gxvYQsJ
> 
> On windows, we can't open file or directory that contains !, [][] in filename.

-- regards, ingo

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

Raspunde prin e-mail lui