|
Karsten Hopp |
00e0e8 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
00e0e8 |
Subject: Patch 7.1.326
|
|
Karsten Hopp |
00e0e8 |
Fcc: outbox
|
|
Karsten Hopp |
00e0e8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
00e0e8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
00e0e8 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
00e0e8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
00e0e8 |
------------
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
Patch 7.1.326
|
|
Karsten Hopp |
00e0e8 |
Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the
|
|
Karsten Hopp |
00e0e8 |
"!" as a flag to to the command. Same for ":snomagic". (Johan
|
|
Karsten Hopp |
00e0e8 |
Spetz)
|
|
Karsten Hopp |
00e0e8 |
Solution: When checking for a forced command also ignore ":smagic" and
|
|
Karsten Hopp |
00e0e8 |
":snomagic". (Ian Kelling)
|
|
Karsten Hopp |
00e0e8 |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
*** ../vim-7.1.325/src/ex_docmd.c Fri Jun 20 11:10:53 2008
|
|
Karsten Hopp |
00e0e8 |
--- src/ex_docmd.c Fri Jun 20 10:42:30 2008
|
|
Karsten Hopp |
00e0e8 |
***************
|
|
Karsten Hopp |
00e0e8 |
*** 2142,2148 ****
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
#endif
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
! if (*p == '!' && ea.cmdidx != CMD_substitute) /* forced commands */
|
|
Karsten Hopp |
00e0e8 |
{
|
|
Karsten Hopp |
00e0e8 |
++p;
|
|
Karsten Hopp |
00e0e8 |
ea.forceit = TRUE;
|
|
Karsten Hopp |
00e0e8 |
--- 2142,2150 ----
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
#endif
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
! /* forced commands */
|
|
Karsten Hopp |
00e0e8 |
! if (*p == '!' && ea.cmdidx != CMD_substitute
|
|
Karsten Hopp |
00e0e8 |
! && ea.cmdidx != CMD_smagic && ea.cmdidx != CMD_snomagic)
|
|
Karsten Hopp |
00e0e8 |
{
|
|
Karsten Hopp |
00e0e8 |
++p;
|
|
Karsten Hopp |
00e0e8 |
ea.forceit = TRUE;
|
|
Karsten Hopp |
00e0e8 |
*** ../vim-7.1.325/src/version.c Fri Jun 20 18:30:27 2008
|
|
Karsten Hopp |
00e0e8 |
--- src/version.c Fri Jun 20 18:50:19 2008
|
|
Karsten Hopp |
00e0e8 |
***************
|
|
Karsten Hopp |
00e0e8 |
*** 668,669 ****
|
|
Karsten Hopp |
00e0e8 |
--- 673,676 ----
|
|
Karsten Hopp |
00e0e8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
00e0e8 |
+ /**/
|
|
Karsten Hopp |
00e0e8 |
+ 326,
|
|
Karsten Hopp |
00e0e8 |
/**/
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
--
|
|
Karsten Hopp |
00e0e8 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
00e0e8 |
55. You ask your doctor to implant a gig in your brain.
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
00e0e8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
00e0e8 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
00e0e8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|