4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the
12 "!" as a flag to to the command. Same for ":snomagic". (Johan
14 Solution: When checking for a forced command also ignore ":smagic" and
15 ":snomagic". (Ian Kelling)
19 *** ../vim-7.1.325/src/ex_docmd.c Fri Jun 20 11:10:53 2008
20 --- src/ex_docmd.c Fri Jun 20 10:42:30 2008
26 ! if (*p == '!' && ea.cmdidx != CMD_substitute) /* forced commands */
34 ! /* forced commands */
35 ! if (*p == '!' && ea.cmdidx != CMD_substitute
36 ! && ea.cmdidx != CMD_smagic && ea.cmdidx != CMD_snomagic)
40 *** ../vim-7.1.325/src/version.c Fri Jun 20 18:30:27 2008
41 --- src/version.c Fri Jun 20 18:50:19 2008
45 { /* Add new patch number below this line */
51 hundred-and-one symptoms of being an internet addict:
52 55. You ask your doctor to implant a gig in your brain.
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56 \\\ download, build and distribute -- http://www.A-A-P.org ///
57 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///