|
Karsten Hopp |
27e801 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
27e801 |
Subject: Patch 7.3.704
|
|
Karsten Hopp |
27e801 |
Fcc: outbox
|
|
Karsten Hopp |
27e801 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
27e801 |
Mime-Version: 1.0
|
|
Karsten Hopp |
27e801 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
27e801 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
27e801 |
------------
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
Patch 7.3.704
|
|
Karsten Hopp |
27e801 |
Problem: Repeating "cgn" does not always work correctly.
|
|
Karsten Hopp |
27e801 |
Solution: Also fetch the operator character. (Christian Brabandt)
|
|
Karsten Hopp |
27e801 |
Files: src/normal.c
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
*** ../vim-7.3.703/src/normal.c 2012-08-15 13:30:55.000000000 +0200
|
|
Karsten Hopp |
27e801 |
--- src/normal.c 2012-10-21 03:51:38.000000000 +0200
|
|
Karsten Hopp |
27e801 |
***************
|
|
Karsten Hopp |
27e801 |
*** 960,967 ****
|
|
Karsten Hopp |
27e801 |
#ifdef FEAT_CMDL_INFO
|
|
Karsten Hopp |
27e801 |
need_flushbuf |= add_to_showcmd(ca.nchar);
|
|
Karsten Hopp |
27e801 |
#endif
|
|
Karsten Hopp |
27e801 |
if (ca.nchar == 'r' || ca.nchar == '\'' || ca.nchar == '`'
|
|
Karsten Hopp |
27e801 |
! || ca.nchar == Ctrl_BSL)
|
|
Karsten Hopp |
27e801 |
{
|
|
Karsten Hopp |
27e801 |
cp = &ca.extra_char; /* need to get a third character */
|
|
Karsten Hopp |
27e801 |
if (ca.nchar != 'r')
|
|
Karsten Hopp |
27e801 |
--- 960,970 ----
|
|
Karsten Hopp |
27e801 |
#ifdef FEAT_CMDL_INFO
|
|
Karsten Hopp |
27e801 |
need_flushbuf |= add_to_showcmd(ca.nchar);
|
|
Karsten Hopp |
27e801 |
#endif
|
|
Karsten Hopp |
27e801 |
+ /* For "gn" from redo, need to get one more char to determine the
|
|
Karsten Hopp |
27e801 |
+ * operator */
|
|
Karsten Hopp |
27e801 |
if (ca.nchar == 'r' || ca.nchar == '\'' || ca.nchar == '`'
|
|
Karsten Hopp |
27e801 |
! || ca.nchar == Ctrl_BSL
|
|
Karsten Hopp |
27e801 |
! || ((ca.nchar == 'n' || ca.nchar == 'N') && !stuff_empty()))
|
|
Karsten Hopp |
27e801 |
{
|
|
Karsten Hopp |
27e801 |
cp = &ca.extra_char; /* need to get a third character */
|
|
Karsten Hopp |
27e801 |
if (ca.nchar != 'r')
|
|
Karsten Hopp |
27e801 |
***************
|
|
Karsten Hopp |
27e801 |
*** 1083,1088 ****
|
|
Karsten Hopp |
27e801 |
--- 1086,1093 ----
|
|
Karsten Hopp |
27e801 |
ca.nchar = ca.extra_char;
|
|
Karsten Hopp |
27e801 |
idx = find_command(ca.cmdchar);
|
|
Karsten Hopp |
27e801 |
}
|
|
Karsten Hopp |
27e801 |
+ else if (ca.nchar == 'n' || ca.nchar == 'N')
|
|
Karsten Hopp |
27e801 |
+ ca.oap->op_type = get_op_type(*cp, NUL);
|
|
Karsten Hopp |
27e801 |
else if (*cp == Ctrl_BSL)
|
|
Karsten Hopp |
27e801 |
{
|
|
Karsten Hopp |
27e801 |
long towait = (p_ttm >= 0 ? p_ttm : p_tm);
|
|
Karsten Hopp |
27e801 |
***************
|
|
Karsten Hopp |
27e801 |
*** 8009,8015 ****
|
|
Karsten Hopp |
27e801 |
#ifdef FEAT_VISUAL
|
|
Karsten Hopp |
27e801 |
if (!current_search(cap->count1, cap->nchar == 'n'))
|
|
Karsten Hopp |
27e801 |
#endif
|
|
Karsten Hopp |
27e801 |
! beep_flush();
|
|
Karsten Hopp |
27e801 |
break;
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
/*
|
|
Karsten Hopp |
27e801 |
--- 8014,8020 ----
|
|
Karsten Hopp |
27e801 |
#ifdef FEAT_VISUAL
|
|
Karsten Hopp |
27e801 |
if (!current_search(cap->count1, cap->nchar == 'n'))
|
|
Karsten Hopp |
27e801 |
#endif
|
|
Karsten Hopp |
27e801 |
! clearopbeep(oap);
|
|
Karsten Hopp |
27e801 |
break;
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
/*
|
|
Karsten Hopp |
27e801 |
*** ../vim-7.3.703/src/version.c 2012-10-21 03:45:57.000000000 +0200
|
|
Karsten Hopp |
27e801 |
--- src/version.c 2012-10-21 03:53:51.000000000 +0200
|
|
Karsten Hopp |
27e801 |
***************
|
|
Karsten Hopp |
27e801 |
*** 721,722 ****
|
|
Karsten Hopp |
27e801 |
--- 721,724 ----
|
|
Karsten Hopp |
27e801 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
27e801 |
+ /**/
|
|
Karsten Hopp |
27e801 |
+ 704,
|
|
Karsten Hopp |
27e801 |
/**/
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
--
|
|
Karsten Hopp |
27e801 |
The word "leader" is derived from the word "lead", as in the material that
|
|
Karsten Hopp |
27e801 |
bullets are made out of. The term "leader" was popularized at about the same
|
|
Karsten Hopp |
27e801 |
time as the invention of firearms. It grew out of the observation that the
|
|
Karsten Hopp |
27e801 |
person in charge of every organization was the person whom everyone wanted to
|
|
Karsten Hopp |
27e801 |
fill with hot lead.
|
|
Karsten Hopp |
27e801 |
I don't recomment this; it's just a point of historical interest.
|
|
Karsten Hopp |
27e801 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
27e801 |
|
|
Karsten Hopp |
27e801 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
27e801 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
27e801 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
27e801 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|