Karsten Hopp e1aed4
To: vim_dev@googlegroups.com
Karsten Hopp e1aed4
Subject: Patch 7.4.801
Karsten Hopp e1aed4
Fcc: outbox
Karsten Hopp e1aed4
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e1aed4
Mime-Version: 1.0
Karsten Hopp e1aed4
Content-Type: text/plain; charset=UTF-8
Karsten Hopp e1aed4
Content-Transfer-Encoding: 8bit
Karsten Hopp e1aed4
------------
Karsten Hopp e1aed4
Karsten Hopp e1aed4
Patch 7.4.801 (after 7.4.769)
Karsten Hopp e1aed4
Problem:    Test for ":diffoff" doesn't catch all potential problems.
Karsten Hopp e1aed4
Solution:   Add a :diffthis and a :diffoff command. (Olaf Dabrunz)
Karsten Hopp e1aed4
Files:      src/testdir/test47.in
Karsten Hopp e1aed4
Karsten Hopp e1aed4
Karsten Hopp e1aed4
*** ../vim-7.4.800/src/testdir/test47.in	2015-07-04 15:05:08.606736259 +0200
Karsten Hopp e1aed4
--- src/testdir/test47.in	2015-07-28 14:37:53.316858455 +0200
Karsten Hopp e1aed4
***************
Karsten Hopp e1aed4
*** 21,26 ****
Karsten Hopp e1aed4
--- 21,30 ----
Karsten Hopp e1aed4
  :redir => diffsettings
Karsten Hopp e1aed4
  :silent! :set diff? fdm? fdc? scb? crb? wrap?
Karsten Hopp e1aed4
  :redir END
Karsten Hopp e1aed4
+ :let diff_fdm = &fdm
Karsten Hopp e1aed4
+ :let diff_fdc = &fdc
Karsten Hopp e1aed4
+ :" repeat entering diff mode here to see if this saves the wrong settings
Karsten Hopp e1aed4
+ :diffthis
Karsten Hopp e1aed4
  :" jump to second window for a moment to have filler line appear at start of
Karsten Hopp e1aed4
  :" first window
Karsten Hopp e1aed4
  ??gg?pgg:let one = winline()
Karsten Hopp e1aed4
***************
Karsten Hopp e1aed4
*** 48,53 ****
Karsten Hopp e1aed4
--- 52,63 ----
Karsten Hopp e1aed4
  :"
Karsten Hopp e1aed4
  :" Test diffoff
Karsten Hopp e1aed4
  :diffoff!
Karsten Hopp e1aed4
+ 1??
Karsten Hopp e1aed4
+ :let &diff = 1
Karsten Hopp e1aed4
+ :let &fdm = diff_fdm
Karsten Hopp e1aed4
+ :let &fdc = diff_fdc
Karsten Hopp e1aed4
+ 4??
Karsten Hopp e1aed4
+ :diffoff!
Karsten Hopp e1aed4
  :$put =nodiffsettings
Karsten Hopp e1aed4
  :$put =diffsettings
Karsten Hopp e1aed4
  1??
Karsten Hopp e1aed4
***************
Karsten Hopp e1aed4
*** 82,88 ****
Karsten Hopp e1aed4
  :enew
Karsten Hopp e1aed4
  :put =w0
Karsten Hopp e1aed4
  :.w >> test.out
Karsten Hopp e1aed4
! :unlet! one two three nodiffsettings diffsettings nd1 nd2 nd3 w0
Karsten Hopp e1aed4
  :qa!
Karsten Hopp e1aed4
  ENDTEST
Karsten Hopp e1aed4
  
Karsten Hopp e1aed4
--- 92,98 ----
Karsten Hopp e1aed4
  :enew
Karsten Hopp e1aed4
  :put =w0
Karsten Hopp e1aed4
  :.w >> test.out
Karsten Hopp e1aed4
! :unlet! one two three nodiffsettings diffsettings diff_fdm diff_fdc nd1 nd2 nd3 w0
Karsten Hopp e1aed4
  :qa!
Karsten Hopp e1aed4
  ENDTEST
Karsten Hopp e1aed4
  
Karsten Hopp e1aed4
*** ../vim-7.4.800/src/version.c	2015-07-28 14:25:41.848151118 +0200
Karsten Hopp e1aed4
--- src/version.c	2015-07-28 14:40:19.143395365 +0200
Karsten Hopp e1aed4
***************
Karsten Hopp e1aed4
*** 743,744 ****
Karsten Hopp e1aed4
--- 743,746 ----
Karsten Hopp e1aed4
  {   /* Add new patch number below this line */
Karsten Hopp e1aed4
+ /**/
Karsten Hopp e1aed4
+     801,
Karsten Hopp e1aed4
  /**/
Karsten Hopp e1aed4
Karsten Hopp e1aed4
-- 
Karsten Hopp e1aed4
FIRST HEAD:  Oh! quick! get the sword out I want to cut his head off.
Karsten Hopp e1aed4
THIRD HEAD:  Oh, cut your own head off.
Karsten Hopp e1aed4
SECOND HEAD: Yes - do us all a favour.
Karsten Hopp e1aed4
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp e1aed4
Karsten Hopp e1aed4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e1aed4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e1aed4
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp e1aed4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///