Karsten Hopp b9c88c
To: vim-dev@vim.org
Karsten Hopp b9c88c
Subject: Patch 7.1.308
Karsten Hopp b9c88c
Fcc: outbox
Karsten Hopp b9c88c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b9c88c
Mime-Version: 1.0
Karsten Hopp b9c88c
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp b9c88c
Content-Transfer-Encoding: 8bit
Karsten Hopp b9c88c
------------
Karsten Hopp b9c88c
Karsten Hopp b9c88c
Patch 7.1.308
Karsten Hopp b9c88c
Problem:    When in readonly mode ":options" produces an error.
Karsten Hopp b9c88c
Solution:   Reset 'readonly'. (Gary Johnson)
Karsten Hopp b9c88c
Files:	    runtime/optwin.vim
Karsten Hopp b9c88c
Karsten Hopp b9c88c
Karsten Hopp b9c88c
*** ../vim-7.1.307/runtime/optwin.vim	Sat May  5 19:13:05 2007
Karsten Hopp b9c88c
--- runtime/optwin.vim	Mon May 12 22:30:28 2008
Karsten Hopp b9c88c
***************
Karsten Hopp b9c88c
*** 1,7 ****
Karsten Hopp b9c88c
  " These commands create the option window.
Karsten Hopp b9c88c
  "
Karsten Hopp b9c88c
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp b9c88c
! " Last Change:	2006 Oct 10
Karsten Hopp b9c88c
  
Karsten Hopp b9c88c
  " If there already is an option window, jump to that one.
Karsten Hopp b9c88c
  if bufwinnr("option-window") > 0
Karsten Hopp b9c88c
--- 1,7 ----
Karsten Hopp b9c88c
  " These commands create the option window.
Karsten Hopp b9c88c
  "
Karsten Hopp b9c88c
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp b9c88c
! " Last Change:	2008 May 12
Karsten Hopp b9c88c
  
Karsten Hopp b9c88c
  " If there already is an option window, jump to that one.
Karsten Hopp b9c88c
  if bufwinnr("option-window") > 0
Karsten Hopp b9c88c
***************
Karsten Hopp b9c88c
*** 147,153 ****
Karsten Hopp b9c88c
  
Karsten Hopp b9c88c
  " Open the window
Karsten Hopp b9c88c
  new option-window
Karsten Hopp b9c88c
! setlocal ts=15 tw=0
Karsten Hopp b9c88c
  
Karsten Hopp b9c88c
  " Insert help and a "set" command for each option.
Karsten Hopp b9c88c
  call append(0, '" Each "set" line shows the current value of an option (on the left).')
Karsten Hopp b9c88c
--- 147,153 ----
Karsten Hopp b9c88c
  
Karsten Hopp b9c88c
  " Open the window
Karsten Hopp b9c88c
  new option-window
Karsten Hopp b9c88c
! setlocal ts=15 tw=0 noro
Karsten Hopp b9c88c
  
Karsten Hopp b9c88c
  " Insert help and a "set" command for each option.
Karsten Hopp b9c88c
  call append(0, '" Each "set" line shows the current value of an option (on the left).')
Karsten Hopp b9c88c
***************
Karsten Hopp b9c88c
*** 350,355 ****
Karsten Hopp b9c88c
--- 350,359 ----
Karsten Hopp b9c88c
  call append("$", " \tset lines=" . &lines)
Karsten Hopp b9c88c
  call append("$", "lazyredraw\tdon't redraw while executing macros")
Karsten Hopp b9c88c
  call <SID>BinOptionG("lz", &lz)
Karsten Hopp b9c88c
+ if has("reltime")
Karsten Hopp b9c88c
+   call append("$", "redrawtime\ttimeout for 'hlsearch' and :match highlighting in msec")
Karsten Hopp b9c88c
+   call append("$", " \tset rdt=" . &rdt)
Karsten Hopp b9c88c
+ endif
Karsten Hopp b9c88c
  call append("$", "writedelay\tdelay in msec for each char written to the display")
Karsten Hopp b9c88c
  call append("$", "\t(for debugging)")
Karsten Hopp b9c88c
  call append("$", " \tset wd=" . &wd)
Karsten Hopp b9c88c
*** ../vim-7.1.307/src/version.c	Wed Jun  4 13:33:15 2008
Karsten Hopp b9c88c
--- src/version.c	Wed Jun  4 14:27:16 2008
Karsten Hopp b9c88c
***************
Karsten Hopp b9c88c
*** 668,669 ****
Karsten Hopp b9c88c
--- 673,676 ----
Karsten Hopp b9c88c
  {   /* Add new patch number below this line */
Karsten Hopp b9c88c
+ /**/
Karsten Hopp b9c88c
+     308,
Karsten Hopp b9c88c
  /**/
Karsten Hopp b9c88c
Karsten Hopp b9c88c
-- 
Karsten Hopp b9c88c
Engineers are widely recognized as superior marriage material: intelligent,
Karsten Hopp b9c88c
dependable, employed, honest, and handy around the house.
Karsten Hopp b9c88c
				(Scott Adams - The Dilbert principle)
Karsten Hopp b9c88c
Karsten Hopp b9c88c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b9c88c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b9c88c
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp b9c88c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///