|
Karsten Hopp |
178c7e |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
178c7e |
Subject: Patch 7.3.651
|
|
Karsten Hopp |
178c7e |
Fcc: outbox
|
|
Karsten Hopp |
178c7e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
178c7e |
Mime-Version: 1.0
|
|
Karsten Hopp |
178c7e |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
178c7e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
178c7e |
------------
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
Patch 7.3.651
|
|
Karsten Hopp |
178c7e |
Problem: Completion after ":help \{-" gives an error message.
|
|
Karsten Hopp |
178c7e |
Solution: Prepend a backslash.
|
|
Karsten Hopp |
178c7e |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
*** ../vim-7.3.650/src/ex_cmds.c 2012-08-08 16:50:40.000000000 +0200
|
|
Karsten Hopp |
178c7e |
--- src/ex_cmds.c 2012-09-05 15:10:13.000000000 +0200
|
|
Karsten Hopp |
178c7e |
***************
|
|
Karsten Hopp |
178c7e |
*** 4851,4857 ****
|
|
Karsten Hopp |
178c7e |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
178c7e |
if (do_count)
|
|
Karsten Hopp |
178c7e |
{
|
|
Karsten Hopp |
178c7e |
! /* prevent accidently changing the buffer by a function */
|
|
Karsten Hopp |
178c7e |
save_ma = curbuf->b_p_ma;
|
|
Karsten Hopp |
178c7e |
curbuf->b_p_ma = FALSE;
|
|
Karsten Hopp |
178c7e |
sandbox++;
|
|
Karsten Hopp |
178c7e |
--- 4851,4857 ----
|
|
Karsten Hopp |
178c7e |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
178c7e |
if (do_count)
|
|
Karsten Hopp |
178c7e |
{
|
|
Karsten Hopp |
178c7e |
! /* prevent accidentally changing the buffer by a function */
|
|
Karsten Hopp |
178c7e |
save_ma = curbuf->b_p_ma;
|
|
Karsten Hopp |
178c7e |
curbuf->b_p_ma = FALSE;
|
|
Karsten Hopp |
178c7e |
sandbox++;
|
|
Karsten Hopp |
178c7e |
***************
|
|
Karsten Hopp |
178c7e |
*** 5264,5270 ****
|
|
Karsten Hopp |
178c7e |
* is assumed to be 'p' if missing.
|
|
Karsten Hopp |
178c7e |
*
|
|
Karsten Hopp |
178c7e |
* This is implemented in two passes: first we scan the file for the pattern and
|
|
Karsten Hopp |
178c7e |
! * set a mark for each line that (not) matches. secondly we execute the command
|
|
Karsten Hopp |
178c7e |
* for each line that has a mark. This is required because after deleting
|
|
Karsten Hopp |
178c7e |
* lines we do not know where to search for the next match.
|
|
Karsten Hopp |
178c7e |
*/
|
|
Karsten Hopp |
178c7e |
--- 5264,5270 ----
|
|
Karsten Hopp |
178c7e |
* is assumed to be 'p' if missing.
|
|
Karsten Hopp |
178c7e |
*
|
|
Karsten Hopp |
178c7e |
* This is implemented in two passes: first we scan the file for the pattern and
|
|
Karsten Hopp |
178c7e |
! * set a mark for each line that (not) matches. Secondly we execute the command
|
|
Karsten Hopp |
178c7e |
* for each line that has a mark. This is required because after deleting
|
|
Karsten Hopp |
178c7e |
* lines we do not know where to search for the next match.
|
|
Karsten Hopp |
178c7e |
*/
|
|
Karsten Hopp |
178c7e |
***************
|
|
Karsten Hopp |
178c7e |
*** 5896,5904 ****
|
|
Karsten Hopp |
178c7e |
}
|
|
Karsten Hopp |
178c7e |
else
|
|
Karsten Hopp |
178c7e |
{
|
|
Karsten Hopp |
178c7e |
! /* replace "[:...:]" with "\[:...:]"; "[+...]" with "\[++...]" */
|
|
Karsten Hopp |
178c7e |
! if (arg[0] == '[' && (arg[1] == ':'
|
|
Karsten Hopp |
178c7e |
! || (arg[1] == '+' && arg[2] == '+')))
|
|
Karsten Hopp |
178c7e |
*d++ = '\\';
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
for (s = arg; *s; ++s)
|
|
Karsten Hopp |
178c7e |
--- 5896,5909 ----
|
|
Karsten Hopp |
178c7e |
}
|
|
Karsten Hopp |
178c7e |
else
|
|
Karsten Hopp |
178c7e |
{
|
|
Karsten Hopp |
178c7e |
! /* Replace:
|
|
Karsten Hopp |
178c7e |
! * "[:...:]" with "\[:...:]"
|
|
Karsten Hopp |
178c7e |
! * "[++...]" with "\[++...]"
|
|
Karsten Hopp |
178c7e |
! * "\{" with "\\{"
|
|
Karsten Hopp |
178c7e |
! */
|
|
Karsten Hopp |
178c7e |
! if ((arg[0] == '[' && (arg[1] == ':'
|
|
Karsten Hopp |
178c7e |
! || (arg[1] == '+' && arg[2] == '+')))
|
|
Karsten Hopp |
178c7e |
! || (arg[0] == '\\' && arg[1] == '{'))
|
|
Karsten Hopp |
178c7e |
*d++ = '\\';
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
for (s = arg; *s; ++s)
|
|
Karsten Hopp |
178c7e |
*** ../vim-7.3.650/src/version.c 2012-09-05 15:03:27.000000000 +0200
|
|
Karsten Hopp |
178c7e |
--- src/version.c 2012-09-05 15:12:51.000000000 +0200
|
|
Karsten Hopp |
178c7e |
***************
|
|
Karsten Hopp |
178c7e |
*** 721,722 ****
|
|
Karsten Hopp |
178c7e |
--- 721,724 ----
|
|
Karsten Hopp |
178c7e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
178c7e |
+ /**/
|
|
Karsten Hopp |
178c7e |
+ 651,
|
|
Karsten Hopp |
178c7e |
/**/
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
--
|
|
Karsten Hopp |
178c7e |
GUARD #1: Where'd you get the coconut?
|
|
Karsten Hopp |
178c7e |
ARTHUR: We found them.
|
|
Karsten Hopp |
178c7e |
GUARD #1: Found them? In Mercea? The coconut's tropical!
|
|
Karsten Hopp |
178c7e |
ARTHUR: What do you mean?
|
|
Karsten Hopp |
178c7e |
GUARD #1: Well, this is a temperate zone.
|
|
Karsten Hopp |
178c7e |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
178c7e |
|
|
Karsten Hopp |
178c7e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
178c7e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
178c7e |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
178c7e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|