Karsten Hopp ebb48c
To: vim-dev@vim.org
Karsten Hopp ebb48c
Subject: Patch 7.3.026
Karsten Hopp ebb48c
Fcc: outbox
Karsten Hopp ebb48c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ebb48c
Mime-Version: 1.0
Karsten Hopp ebb48c
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ebb48c
Content-Transfer-Encoding: 8bit
Karsten Hopp ebb48c
------------
Karsten Hopp ebb48c
Karsten Hopp ebb48c
Patch 7.3.026
Karsten Hopp ebb48c
Problem:    CTRL-] in a help file doesn't always work. (Tony Mechelynck)
Karsten Hopp ebb48c
Solution:   Don't escape special characters. (Carlo Teubner)
Karsten Hopp ebb48c
Files:	    src/normal.c
Karsten Hopp ebb48c
Karsten Hopp ebb48c
Karsten Hopp ebb48c
*** ../vim-7.3.025/src/normal.c	2010-08-15 21:57:28.000000000 +0200
Karsten Hopp ebb48c
--- src/normal.c	2010-10-13 18:01:03.000000000 +0200
Karsten Hopp ebb48c
***************
Karsten Hopp ebb48c
*** 5666,5673 ****
Karsten Hopp ebb48c
  	else if (cmdchar == '#')
Karsten Hopp ebb48c
  	    aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
Karsten Hopp ebb48c
  	else if (tag_cmd)
Karsten Hopp ebb48c
! 	    /* Don't escape spaces and Tabs in a tag with a backslash */
Karsten Hopp ebb48c
! 	    aux_ptr = (char_u *)"\\|\"\n[";
Karsten Hopp ebb48c
  	else
Karsten Hopp ebb48c
  	    aux_ptr = (char_u *)"\\|\"\n*?[";
Karsten Hopp ebb48c
  
Karsten Hopp ebb48c
--- 5666,5678 ----
Karsten Hopp ebb48c
  	else if (cmdchar == '#')
Karsten Hopp ebb48c
  	    aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
Karsten Hopp ebb48c
  	else if (tag_cmd)
Karsten Hopp ebb48c
! 	{
Karsten Hopp ebb48c
! 	    if (curbuf->b_help)
Karsten Hopp ebb48c
! 		/* ":help" handles unescaped argument */
Karsten Hopp ebb48c
! 		aux_ptr = (char_u *)"";
Karsten Hopp ebb48c
! 	    else
Karsten Hopp ebb48c
! 		aux_ptr = (char_u *)"\\|\"\n[";
Karsten Hopp ebb48c
! 	}
Karsten Hopp ebb48c
  	else
Karsten Hopp ebb48c
  	    aux_ptr = (char_u *)"\\|\"\n*?[";
Karsten Hopp ebb48c
  
Karsten Hopp ebb48c
*** ../vim-7.3.025/src/version.c	2010-10-13 17:50:02.000000000 +0200
Karsten Hopp ebb48c
--- src/version.c	2010-10-13 18:04:54.000000000 +0200
Karsten Hopp ebb48c
***************
Karsten Hopp ebb48c
*** 716,717 ****
Karsten Hopp ebb48c
--- 716,719 ----
Karsten Hopp ebb48c
  {   /* Add new patch number below this line */
Karsten Hopp ebb48c
+ /**/
Karsten Hopp ebb48c
+     26,
Karsten Hopp ebb48c
  /**/
Karsten Hopp ebb48c
Karsten Hopp ebb48c
-- 
Karsten Hopp ebb48c
MAN:    Fetchez la vache!
Karsten Hopp ebb48c
GUARD:  Quoi?
Karsten Hopp ebb48c
MAN:    Fetchez la vache!
Karsten Hopp ebb48c
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp ebb48c
Karsten Hopp ebb48c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ebb48c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ebb48c
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp ebb48c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///