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.215 < prev    next >
Encoding:
Internet Message Format  |  2014-03-24  |  3.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.215
  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.215
  11. Problem:    Inconsistency: ":sp foo" does not reload "foo", unless "foo" is
  12.         the current buffer. (Liang Li)
  13. Solution:   Do not reload the current buffer on a split command.
  14. Files:        runtime/doc/windows.txt, src/ex_docmd.c
  15.  
  16.  
  17. *** ../vim-7.4.214/runtime/doc/windows.txt    2013-08-10 13:25:08.000000000 +0200
  18. --- runtime/doc/windows.txt    2014-03-25 12:34:51.989767212 +0100
  19. ***************
  20. *** 132,144 ****
  21.   CTRL-W s                        *CTRL-W_s*
  22.   CTRL-W S                        *CTRL-W_S*
  23.   CTRL-W CTRL-S                        *CTRL-W_CTRL-S*
  24. ! :[N]sp[lit] [++opt] [+cmd]                *:sp* *:split*
  25.           Split current window in two.  The result is two viewports on
  26. !         the same file.  Make new window N high (default is to use half
  27. !         the height of the current window).  Reduces the current window
  28. !         height to create room (and others, if the 'equalalways' option
  29. !         is set, 'eadirection' isn't "hor", and one of them is higher
  30. !         than the current or the new window).
  31.           Note: CTRL-S does not work on all terminals and might block
  32.           further input, use CTRL-Q to get going again.
  33.           Also see |++opt| and |+cmd|.
  34. --- 132,151 ----
  35.   CTRL-W s                        *CTRL-W_s*
  36.   CTRL-W S                        *CTRL-W_S*
  37.   CTRL-W CTRL-S                        *CTRL-W_CTRL-S*
  38. ! :[N]sp[lit] [++opt] [+cmd] [file]            *:sp* *:split*
  39.           Split current window in two.  The result is two viewports on
  40. !         the same file.
  41. !         
  42. !         Make the new window N high (default is to use half the height
  43. !         of the current window).  Reduces the current window height to
  44. !         create room (and others, if the 'equalalways' option is set,
  45. !         'eadirection' isn't "hor", and one of them is higher than the
  46. !         current or the new window).
  47. !         If [file] is given it will be edited in the new window.  If it
  48. !         is not loaded in any buffer, it will be read.  Else the new
  49. !         window will use the already loaded buffer.
  50.           Note: CTRL-S does not work on all terminals and might block
  51.           further input, use CTRL-Q to get going again.
  52.           Also see |++opt| and |+cmd|.
  53. *** ../vim-7.4.214/src/ex_docmd.c    2014-03-23 16:03:56.167311626 +0100
  54. --- src/ex_docmd.c    2014-03-25 12:57:13.737787771 +0100
  55. ***************
  56. *** 7938,7943 ****
  57. --- 7938,7945 ----
  58.                              ? ECMD_ONE : eap->do_ecmd_lnum,
  59.               (P_HID(curbuf) ? ECMD_HIDE : 0)
  60.               + (eap->forceit ? ECMD_FORCEIT : 0)
  61. +               /* after a split we can use an existing buffer */
  62. +             + (old_curwin != NULL ? ECMD_OLDBUF : 0)
  63.   #ifdef FEAT_LISTCMDS
  64.               + (eap->cmdidx == CMD_badd ? ECMD_ADDBUF : 0 )
  65.   #endif
  66. *** ../vim-7.4.214/src/version.c    2014-03-24 19:43:56.604837795 +0100
  67. --- src/version.c    2014-03-25 12:30:13.137762939 +0100
  68. ***************
  69. *** 736,737 ****
  70. --- 736,739 ----
  71.   {   /* Add new patch number below this line */
  72. + /**/
  73. +     215,
  74.   /**/
  75.  
  76. -- 
  77. BLACK KNIGHT: The Black Knight always triumphs. Have at you!
  78.    ARTHUR takes his last leg off.  The BLACK KNIGHT's body lands upright.
  79. BLACK KNIGHT: All right, we'll call it a draw.
  80.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  81.  
  82.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  83. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  84. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  85.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  86.