To: vim-dev@vim.org Subject: Patch 5.6.018 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.018 Problem: ":help [:digit:]" takes a long time to jump to the wrong place. Solution: Insert a backslash to avoid the special meaning of '[]'. Files: src/ex_cmds.c *** ../vim-5.6.17/src/ex_cmds.c Sat Mar 25 14:31:34 2000 --- src/ex_cmds.c Sat Mar 25 14:25:52 2000 *************** *** 4015,4020 **** --- 4015,4024 ---- } else { + /* replace "[:...:]" with "\[:...:]" */ + if (arg[0] == '[' && arg[1] == ':') + *d++ = '\\'; + for (s = arg; *s; ++s) { /* *** ../vim-5.6.17/src/version.c Sat Mar 25 14:31:34 2000 --- src/version.c Sat Mar 25 14:31:18 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 18, /**/ -- ZOOT: I'm afraid our life must seem very dull and quiet compared to yours. We are but eightscore young blondes, all between sixteen and nineteen-and-a-half, cut off in this castle, with no one to protect us. Oooh. It is a lonely life ... bathing ... dressing ... undressing ... making exciting underwear.... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/