<p>Date: Wed, 19 Aug 2009 17:55:54 +0200<br>
>From: gregory hainaut <<a href="mailto:gregory.hainaut@gmail.com">gregory.hainaut@gmail.com</a>><br>
>-------------<br>
>Body: Package: vim<br>
>Version: 2:7.2.245-2<br>
>Severity: normal<br>
>Tags: patch<br>
><br>
>--- Please enter the report below this line. ---<br>
><br>
>Hi,<br>
><br>
>To reproduce the bug. Just create a directory with a ~ (mkdir<br>
>-p /tmp/bad~dir). Then when you do a ":chdir /tmp/bad~dir", an error<br>
>is raised "E79: Cannot expand wildcards". <br>
>As a side effect it is not possible to use a tags file in the bad~dir<br>
>or below (/tmp/bad~dir/tags) because it will no be seen by vim.<br>
><br>
>Note I have not tested all shell but the bug appears with the tsch<br>
>shell (and not zsh for example). So you must use this option "set<br>
>shell=/bin/tcsh\ -f".<br>
><br>
>Please find attached a patch that seems solve the problem not sure it<br>
>is the good solution (and works in all situations). Maybe a solution<br>
>will be to escaped ~ like '\~' before sending to the tcsh shell.<br>
><br>
>Note: Tcsh debian version is 6.14.00-7 <br>
><br>
>Best Regards,<br>
>Gregory<br>
><br>
><br>
>--- System information. ---<br>
>Architecture: i386<br>
>Kernel:       Linux 2.6.30.3-ghost<br>
><br>
>Debian Release: squeeze/sid<br>
>  500 unstable        <a href="http://ftp.fr.debian.org">ftp.fr.debian.org</a> <br>
>    1 experimental    <a href="http://ftp.fr.debian.org">ftp.fr.debian.org</a> <br>
><br>
>--- Package information. ---<br>
>Depends                   (Version) | Installed<br>
>===================================-+-====================<br>
>vim-common        (= 2:7.2.245-2)   | 2:7.2.245-2<br>
>vim-runtime       (= 2:7.2.245-2)   | 2:7.2.245-2<br>
>libacl1               (>= 2.2.11-1) | 2.2.47-3<br>
>libc6                    (>= 2.3.4) | 2.9-25<br>
>libgpm2                 (>= 1.20.4) | 1.20.4-3.2<br>
>libncurses5     (>= 5.6+20071006-3) | 5.7+20090803-1+b1<br>
>libselinux1             (>= 2.0.85) | 2.0.85-1<br>
><br>
><br>
>Package's Recommends field is empty.<br>
><br>
>Suggests         (Version) | Installed<br>
>==========================-+-===========<br>
>ctags                      | <br>
>vim-doc                    | <br>
>vim-scripts                | 20090211-1</p>