Patch 7.4b.017
Problem:    ":he \^x" gives a strange error message. (glts)
Solution:   Do not translate \^x to \_CTRL-x.
Files:      src/ex_cmds.c


*** ../vim-7.4b.016/src/ex_cmds.c       2013-08-03 13:41:12.000000000 +0200
--- src/ex_cmds.c       2013-08-07 15:15:51.000000000 +0200
***************
*** 6019,6026 ****
            if (*s < ' ' || (*s == '^' && s[1] && (ASCII_ISALPHA(s[1])
                           || vim_strchr((char_u *)"?@[\\]^", s[1]) != NULL)))
            {
!               if (d > IObuff && d[-1] != '_')
!                   *d++ = '_';         /* prepend a '_' */
                STRCPY(d, "CTRL-");
                d += 5;
                if (*s < ' ')
--- 6019,6026 ----
            if (*s < ' ' || (*s == '^' && s[1] && (ASCII_ISALPHA(s[1])
                           || vim_strchr((char_u *)"?@[\\]^", s[1]) != NULL)))
            {
!               if (d > IObuff && d[-1] != '_' && d[-1] != '\\')
!                   *d++ = '_';         /* prepend a '_' to make x_CTRL-x */
                STRCPY(d, "CTRL-");
                d += 5;
                if (*s < ' ')
*** ../vim-7.4b.016/src/version.c       2013-08-07 15:22:19.000000000 +0200
--- src/version.c       2013-08-07 15:23:24.000000000 +0200
***************
*** 729,730 ****
--- 729,732 ----
  {   /* Add new patch number below this line */
+ /**/
+     17,
  /**/

-- 
Be thankful to be in a traffic jam, because it means you own a car.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui