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