|
Karsten Hopp |
0df7a2 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0df7a2 |
Subject: Patch 7.1.226
|
|
Karsten Hopp |
0df7a2 |
Fcc: outbox
|
|
Karsten Hopp |
0df7a2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0df7a2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0df7a2 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
0df7a2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0df7a2 |
------------
|
|
Karsten Hopp |
0df7a2 |
|
|
Karsten Hopp |
0df7a2 |
Patch 7.1.226
|
|
Karsten Hopp |
0df7a2 |
Problem: Command line completion doesn't work when a file name contains a
|
|
Karsten Hopp |
0df7a2 |
'&' character.
|
|
Karsten Hopp |
0df7a2 |
Solution: Accept all characters in a file name, except ones that end a
|
|
Karsten Hopp |
0df7a2 |
command or white space.
|
|
Karsten Hopp |
0df7a2 |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
0df7a2 |
|
|
Karsten Hopp |
0df7a2 |
|
|
Karsten Hopp |
0df7a2 |
*** ../vim-7.1.225/src/ex_docmd.c Wed Jan 9 20:29:51 2008
|
|
Karsten Hopp |
0df7a2 |
--- src/ex_docmd.c Wed Jan 9 20:11:13 2008
|
|
Karsten Hopp |
0df7a2 |
***************
|
|
Karsten Hopp |
0df7a2 |
*** 3338,3349 ****
|
|
Karsten Hopp |
0df7a2 |
}
|
|
Karsten Hopp |
0df7a2 |
in_quote = !in_quote;
|
|
Karsten Hopp |
0df7a2 |
}
|
|
Karsten Hopp |
0df7a2 |
#ifdef SPACE_IN_FILENAME
|
|
Karsten Hopp |
0df7a2 |
! else if (!vim_isfilec_or_wc(c)
|
|
Karsten Hopp |
0df7a2 |
! && (!(ea.argt & NOSPC) || usefilter))
|
|
Karsten Hopp |
0df7a2 |
! #else
|
|
Karsten Hopp |
0df7a2 |
! else if (!vim_isfilec_or_wc(c))
|
|
Karsten Hopp |
0df7a2 |
#endif
|
|
Karsten Hopp |
0df7a2 |
{
|
|
Karsten Hopp |
0df7a2 |
while (*p != NUL)
|
|
Karsten Hopp |
0df7a2 |
{
|
|
Karsten Hopp |
0df7a2 |
--- 3338,3350 ----
|
|
Karsten Hopp |
0df7a2 |
}
|
|
Karsten Hopp |
0df7a2 |
in_quote = !in_quote;
|
|
Karsten Hopp |
0df7a2 |
}
|
|
Karsten Hopp |
0df7a2 |
+ /* An argument can contain just about everything, except
|
|
Karsten Hopp |
0df7a2 |
+ * characters that end the command and white space. */
|
|
Karsten Hopp |
0df7a2 |
+ else if (c == '|' || c == '\n' || c == '"' || (vim_iswhite(c)
|
|
Karsten Hopp |
0df7a2 |
#ifdef SPACE_IN_FILENAME
|
|
Karsten Hopp |
0df7a2 |
! && (!(ea.argt & NOSPC) || usefilter)
|
|
Karsten Hopp |
0df7a2 |
#endif
|
|
Karsten Hopp |
0df7a2 |
+ ))
|
|
Karsten Hopp |
0df7a2 |
{
|
|
Karsten Hopp |
0df7a2 |
while (*p != NUL)
|
|
Karsten Hopp |
0df7a2 |
{
|
|
Karsten Hopp |
0df7a2 |
*** ../vim-7.1.225/src/version.c Sun Jan 13 16:30:23 2008
|
|
Karsten Hopp |
0df7a2 |
--- src/version.c Sun Jan 13 17:10:15 2008
|
|
Karsten Hopp |
0df7a2 |
***************
|
|
Karsten Hopp |
0df7a2 |
*** 668,669 ****
|
|
Karsten Hopp |
0df7a2 |
--- 668,671 ----
|
|
Karsten Hopp |
0df7a2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0df7a2 |
+ /**/
|
|
Karsten Hopp |
0df7a2 |
+ 226,
|
|
Karsten Hopp |
0df7a2 |
/**/
|
|
Karsten Hopp |
0df7a2 |
|
|
Karsten Hopp |
0df7a2 |
--
|
|
Karsten Hopp |
0df7a2 |
[Another hideous roar.]
|
|
Karsten Hopp |
0df7a2 |
BEDEVERE: That's it!
|
|
Karsten Hopp |
0df7a2 |
ARTHUR: What?
|
|
Karsten Hopp |
0df7a2 |
BEDEVERE: It's The Legendary Black Beast of Aaaaarrrrrrggghhh!
|
|
Karsten Hopp |
0df7a2 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
0df7a2 |
|
|
Karsten Hopp |
0df7a2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0df7a2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0df7a2 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0df7a2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|