Karsten Hopp 0a3259
To: vim-dev@vim.org
Karsten Hopp 0a3259
Subject: Patch 7.1.188
Karsten Hopp 0a3259
Fcc: outbox
Karsten Hopp 0a3259
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 0a3259
Mime-Version: 1.0
Karsten Hopp 0a3259
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 0a3259
Content-Transfer-Encoding: 8bit
Karsten Hopp 0a3259
------------
Karsten Hopp 0a3259
Karsten Hopp 0a3259
Patch 7.1.188
Karsten Hopp 0a3259
Problem:    When 'showmode' is off the message for changing a readonly file is
Karsten Hopp 0a3259
	    given in the second column instead of the first.  (Payl B.  Mahol)
Karsten Hopp 0a3259
Solution:   Put the W10 message in the first column.
Karsten Hopp 0a3259
Files:	    src/edit.c
Karsten Hopp 0a3259
Karsten Hopp 0a3259
Karsten Hopp 0a3259
*** ../vim-7.1.187/src/edit.c	Wed Jan  2 17:48:24 2008
Karsten Hopp 0a3259
--- src/edit.c	Wed Jan  2 20:56:46 2008
Karsten Hopp 0a3259
***************
Karsten Hopp 0a3259
*** 550,556 ****
Karsten Hopp 0a3259
  	i = showmode();
Karsten Hopp 0a3259
  
Karsten Hopp 0a3259
      if (!p_im && did_restart_edit == 0)
Karsten Hopp 0a3259
! 	change_warning(i + 1);
Karsten Hopp 0a3259
  
Karsten Hopp 0a3259
  #ifdef CURSOR_SHAPE
Karsten Hopp 0a3259
      ui_cursor_shape();		/* may show different cursor shape */
Karsten Hopp 0a3259
--- 550,556 ----
Karsten Hopp 0a3259
  	i = showmode();
Karsten Hopp 0a3259
  
Karsten Hopp 0a3259
      if (!p_im && did_restart_edit == 0)
Karsten Hopp 0a3259
! 	change_warning(i == 0 ? 0 : i + 1);
Karsten Hopp 0a3259
  
Karsten Hopp 0a3259
  #ifdef CURSOR_SHAPE
Karsten Hopp 0a3259
      ui_cursor_shape();		/* may show different cursor shape */
Karsten Hopp 0a3259
*** ../vim-7.1.187/src/version.c	Wed Jan  2 21:54:33 2008
Karsten Hopp 0a3259
--- src/version.c	Wed Jan  2 22:06:19 2008
Karsten Hopp 0a3259
***************
Karsten Hopp 0a3259
*** 668,669 ****
Karsten Hopp 0a3259
--- 668,671 ----
Karsten Hopp 0a3259
  {   /* Add new patch number below this line */
Karsten Hopp 0a3259
+ /**/
Karsten Hopp 0a3259
+     188,
Karsten Hopp 0a3259
  /**/
Karsten Hopp 0a3259
Karsten Hopp 0a3259
-- 
Karsten Hopp 0a3259
PRINCE:    He's come to rescue me, father.
Karsten Hopp 0a3259
LAUNCELOT: (embarrassed) Well, let's not jump to conclusions ...
Karsten Hopp 0a3259
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 0a3259
Karsten Hopp 0a3259
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 0a3259
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 0a3259
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 0a3259
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///