3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.240
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.240
3ef2ca
Problem:    ":tjump" shows "\n" as "\\n".
3ef2ca
Solution:   Skip over "\" that escapes a backslash. (Gary Johnson)
3ef2ca
Files:	    src/tag.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.239/src/tag.c	2013-11-28 14:36:24.000000000 +0100
3ef2ca
--- src/tag.c	2014-04-02 17:14:27.087731943 +0200
3ef2ca
***************
3ef2ca
*** 741,748 ****
3ef2ca
  			    break;
3ef2ca
  			msg_advance(15);
3ef2ca
  
3ef2ca
! 			/* skip backslash used for escaping command char */
3ef2ca
! 			if (*p == '\\' && *(p + 1) == *tagp.command)
3ef2ca
  			    ++p;
3ef2ca
  
3ef2ca
  			if (*p == TAB)
3ef2ca
--- 741,750 ----
3ef2ca
  			    break;
3ef2ca
  			msg_advance(15);
3ef2ca
  
3ef2ca
! 			/* skip backslash used for escaping a command char or
3ef2ca
! 			 * a backslash */
3ef2ca
! 			if (*p == '\\' && (*(p + 1) == *tagp.command
3ef2ca
! 				        || *(p + 1) == '\\'))
3ef2ca
  			    ++p;
3ef2ca
  
3ef2ca
  			if (*p == TAB)
3ef2ca
*** ../vim-7.4.239/src/version.c	2014-04-02 14:22:00.123874274 +0200
3ef2ca
--- src/version.c	2014-04-02 17:15:26.395731128 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     240,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
Anyone who is capable of getting themselves made President should on no
3ef2ca
account be allowed to do the job.
3ef2ca
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///