Karsten Hopp 8c7d88
To: vim_dev@googlegroups.com
Karsten Hopp 8c7d88
Subject: Patch 7.4.170
Karsten Hopp 8c7d88
Fcc: outbox
Karsten Hopp 8c7d88
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8c7d88
Mime-Version: 1.0
Karsten Hopp 8c7d88
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 8c7d88
Content-Transfer-Encoding: 8bit
Karsten Hopp 8c7d88
------------
Karsten Hopp 8c7d88
Karsten Hopp 8c7d88
Patch 7.4.170
Karsten Hopp 8c7d88
Problem:    Some help tags don't work with ":help". (Tim Chase)
Karsten Hopp 8c7d88
Solution:   Add exceptions.
Karsten Hopp 8c7d88
Files:	    src/ex_cmds.c
Karsten Hopp 8c7d88
Karsten Hopp 8c7d88
Karsten Hopp 8c7d88
*** ../vim-7.4.169/src/ex_cmds.c	2013-11-09 03:31:45.000000000 +0100
Karsten Hopp 8c7d88
--- src/ex_cmds.c	2014-02-11 12:10:43.905946437 +0100
Karsten Hopp 8c7d88
***************
Karsten Hopp 8c7d88
*** 5936,5949 ****
Karsten Hopp 8c7d88
  			       "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
Karsten Hopp 8c7d88
  			       "/\\?", "/\\z(\\)", "\\=", ":s\\=",
Karsten Hopp 8c7d88
  			       "[count]", "[quotex]", "[range]",
Karsten Hopp 8c7d88
! 			       "[pattern]", "\\|", "\\%$"};
Karsten Hopp 8c7d88
      static char *(rtable[]) = {"star", "gstar", "[star", "]star", ":star",
Karsten Hopp 8c7d88
  			       "/star", "/\\\\star", "quotestar", "starstar",
Karsten Hopp 8c7d88
  			       "cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)",
Karsten Hopp 8c7d88
  			       "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
Karsten Hopp 8c7d88
  			       "/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
Karsten Hopp 8c7d88
  			       "\\[count]", "\\[quotex]", "\\[range]",
Karsten Hopp 8c7d88
! 			       "\\[pattern]", "\\\\bar", "/\\\\%\\$"};
Karsten Hopp 8c7d88
      int flags;
Karsten Hopp 8c7d88
  
Karsten Hopp 8c7d88
      d = IObuff;		    /* assume IObuff is long enough! */
Karsten Hopp 8c7d88
--- 5936,5953 ----
Karsten Hopp 8c7d88
  			       "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
Karsten Hopp 8c7d88
  			       "/\\?", "/\\z(\\)", "\\=", ":s\\=",
Karsten Hopp 8c7d88
  			       "[count]", "[quotex]", "[range]",
Karsten Hopp 8c7d88
! 			       "[pattern]", "\\|", "\\%$",
Karsten Hopp 8c7d88
! 			       "s/\\~", "s/\\U", "s/\\L",
Karsten Hopp 8c7d88
! 			       "s/\\1", "s/\\2", "s/\\3", "s/\\9"};
Karsten Hopp 8c7d88
      static char *(rtable[]) = {"star", "gstar", "[star", "]star", ":star",
Karsten Hopp 8c7d88
  			       "/star", "/\\\\star", "quotestar", "starstar",
Karsten Hopp 8c7d88
  			       "cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)",
Karsten Hopp 8c7d88
  			       "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
Karsten Hopp 8c7d88
  			       "/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
Karsten Hopp 8c7d88
  			       "\\[count]", "\\[quotex]", "\\[range]",
Karsten Hopp 8c7d88
! 			       "\\[pattern]", "\\\\bar", "/\\\\%\\$",
Karsten Hopp 8c7d88
!                                "s/\\\\\\~", "s/\\\\U", "s/\\\\L",
Karsten Hopp 8c7d88
! 			       "s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"};
Karsten Hopp 8c7d88
      int flags;
Karsten Hopp 8c7d88
  
Karsten Hopp 8c7d88
      d = IObuff;		    /* assume IObuff is long enough! */
Karsten Hopp 8c7d88
***************
Karsten Hopp 8c7d88
*** 5982,5988 ****
Karsten Hopp 8c7d88
  	  /* Replace:
Karsten Hopp 8c7d88
  	   * "[:...:]" with "\[:...:]"
Karsten Hopp 8c7d88
  	   * "[++...]" with "\[++...]"
Karsten Hopp 8c7d88
! 	   * "\{" with "\\{"
Karsten Hopp 8c7d88
  	   */
Karsten Hopp 8c7d88
  	    if ((arg[0] == '[' && (arg[1] == ':'
Karsten Hopp 8c7d88
  			 || (arg[1] == '+' && arg[2] == '+')))
Karsten Hopp 8c7d88
--- 5986,5992 ----
Karsten Hopp 8c7d88
  	  /* Replace:
Karsten Hopp 8c7d88
  	   * "[:...:]" with "\[:...:]"
Karsten Hopp 8c7d88
  	   * "[++...]" with "\[++...]"
Karsten Hopp 8c7d88
! 	   * "\{" with "\\{"               -- matching "} \}"
Karsten Hopp 8c7d88
  	   */
Karsten Hopp 8c7d88
  	    if ((arg[0] == '[' && (arg[1] == ':'
Karsten Hopp 8c7d88
  			 || (arg[1] == '+' && arg[2] == '+')))
Karsten Hopp 8c7d88
*** ../vim-7.4.169/src/version.c	2014-02-05 22:46:49.062587842 +0100
Karsten Hopp 8c7d88
--- src/version.c	2014-02-11 11:41:50.433919875 +0100
Karsten Hopp 8c7d88
***************
Karsten Hopp 8c7d88
*** 740,741 ****
Karsten Hopp 8c7d88
--- 740,743 ----
Karsten Hopp 8c7d88
  {   /* Add new patch number below this line */
Karsten Hopp 8c7d88
+ /**/
Karsten Hopp 8c7d88
+     170,
Karsten Hopp 8c7d88
  /**/
Karsten Hopp 8c7d88
Karsten Hopp 8c7d88
-- 
Karsten Hopp 8c7d88
   GALAHAD turns back.  We see from his POV the lovely ZOOT standing by him
Karsten Hopp 8c7d88
   smiling enchantingly and a number of equally delectable GIRLIES draped
Karsten Hopp 8c7d88
   around in the seductively poulticed room.  They look at him smilingly and
Karsten Hopp 8c7d88
   wave.
Karsten Hopp 8c7d88
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 8c7d88
Karsten Hopp 8c7d88
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8c7d88
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8c7d88
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 8c7d88
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///