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