|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.516
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.516
|
|
|
073263 |
Problem: Completing a function name containing a # does not work. Issue
|
|
|
073263 |
253.
|
|
|
073263 |
Solution: Recognize the # character. (Christian Brabandt)
|
|
|
073263 |
Files: src/eval.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.515/src/eval.c 2014-11-12 18:49:12.992752234 +0100
|
|
|
073263 |
--- src/eval.c 2014-11-12 20:05:35.609826215 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 3368,3378 ****
|
|
|
073263 |
got_eq = TRUE;
|
|
|
073263 |
xp->xp_context = EXPAND_EXPRESSION;
|
|
|
073263 |
}
|
|
|
073263 |
! else if (c == '<'
|
|
|
073263 |
&& xp->xp_context == EXPAND_FUNCTIONS
|
|
|
073263 |
&& vim_strchr(xp->xp_pattern, '(') == NULL)
|
|
|
073263 |
{
|
|
|
073263 |
! /* Function name can start with "<SNR>" */
|
|
|
073263 |
break;
|
|
|
073263 |
}
|
|
|
073263 |
else if (cmdidx != CMD_let || got_eq)
|
|
|
073263 |
--- 3368,3378 ----
|
|
|
073263 |
got_eq = TRUE;
|
|
|
073263 |
xp->xp_context = EXPAND_EXPRESSION;
|
|
|
073263 |
}
|
|
|
073263 |
! else if ((c == '<' || c == '#')
|
|
|
073263 |
&& xp->xp_context == EXPAND_FUNCTIONS
|
|
|
073263 |
&& vim_strchr(xp->xp_pattern, '(') == NULL)
|
|
|
073263 |
{
|
|
|
073263 |
! /* Function name can start with "<SNR>" and contain '#'. */
|
|
|
073263 |
break;
|
|
|
073263 |
}
|
|
|
073263 |
else if (cmdidx != CMD_let || got_eq)
|
|
|
073263 |
*** ../vim-7.4.515/src/version.c 2014-11-12 19:28:12.682661756 +0100
|
|
|
073263 |
--- src/version.c 2014-11-12 20:05:00.730212577 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 743,744 ****
|
|
|
073263 |
--- 743,746 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 516,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
The Law of VIM:
|
|
|
073263 |
For each member b of the possible behaviour space B of program P, there exists
|
|
|
073263 |
a finite time t before which at least one user u in the total user space U of
|
|
|
073263 |
program P will request b becomes a member of the allowed behaviour space B'
|
|
|
073263 |
(B' <= B).
|
|
|
073263 |
In other words: Sooner or later everyone wants everything as an option.
|
|
|
073263 |
-- Vince Negri
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|