home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.240 < prev    next >
Encoding:
Internet Message Format  |  2014-04-01  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.240
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.240
  11. Problem:    ":tjump" shows "\n" as "\\n".
  12. Solution:   Skip over "\" that escapes a backslash. (Gary Johnson)
  13. Files:        src/tag.c
  14.  
  15.  
  16. *** ../vim-7.4.239/src/tag.c    2013-11-28 14:36:24.000000000 +0100
  17. --- src/tag.c    2014-04-02 17:14:27.087731943 +0200
  18. ***************
  19. *** 741,748 ****
  20.                   break;
  21.               msg_advance(15);
  22.   
  23. !             /* skip backslash used for escaping command char */
  24. !             if (*p == '\\' && *(p + 1) == *tagp.command)
  25.                   ++p;
  26.   
  27.               if (*p == TAB)
  28. --- 741,750 ----
  29.                   break;
  30.               msg_advance(15);
  31.   
  32. !             /* skip backslash used for escaping a command char or
  33. !              * a backslash */
  34. !             if (*p == '\\' && (*(p + 1) == *tagp.command
  35. !                         || *(p + 1) == '\\'))
  36.                   ++p;
  37.   
  38.               if (*p == TAB)
  39. *** ../vim-7.4.239/src/version.c    2014-04-02 14:22:00.123874274 +0200
  40. --- src/version.c    2014-04-02 17:15:26.395731128 +0200
  41. ***************
  42. *** 736,737 ****
  43. --- 736,739 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     240,
  47.   /**/
  48.  
  49. -- 
  50. Anyone who is capable of getting themselves made President should on no
  51. account be allowed to do the job.
  52.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  53.  
  54.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  55. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  56. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  57.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  58.