4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: The CTRL-] command escapes too many characters.
12 Solution: Use a different list of characters to be escaped. (Sergey Khorev)
16 *** ../vim-7.2.334/src/normal.c 2010-01-12 15:42:03.000000000 +0100
17 --- src/normal.c 2010-01-19 15:20:11.000000000 +0100
21 int n = 0; /* init for GCC */
23 int g_cmd; /* "g" command */
24 + int tag_cmd = FALSE;
37 STRCPY(buf, "cstag ");
46 ! sprintf((char *)buf, "%ldta ", cap->count0);
60 ! sprintf((char *)buf, "%ldta ", cap->count0);
67 aux_ptr = (char_u *)(p_magic ? "/.*~[^$\\" : "/^$\\");
68 else if (cmdchar == '#')
69 aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
71 /* Don't escape spaces and Tabs in a tag with a backslash */
72 aux_ptr = (char_u *)"\\|\"\n*?[";
74 p = buf + STRLEN(buf);
76 aux_ptr = (char_u *)(p_magic ? "/.*~[^$\\" : "/^$\\");
77 else if (cmdchar == '#')
78 aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
80 /* Don't escape spaces and Tabs in a tag with a backslash */
81 + aux_ptr = (char_u *)"\\|\"\n[";
83 aux_ptr = (char_u *)"\\|\"\n*?[";
85 p = buf + STRLEN(buf);
86 *** ../vim-7.2.334/src/version.c 2010-01-19 15:12:33.000000000 +0100
87 --- src/version.c 2010-01-19 15:22:44.000000000 +0100
91 { /* Add new patch number below this line */
97 hundred-and-one symptoms of being an internet addict:
98 120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
100 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
101 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
102 \\\ download, build and distribute -- http://www.A-A-P.org ///
103 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///