Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.208
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.208
Karsten Hopp 81c285
Problem:    "set novice" gives an error message, it should be ignored.
Karsten Hopp 81c285
Solution:   Don't see "no" in "novice" as unsetting an option.  (Patrick
Karsten Hopp 81c285
	    Texier)
Karsten Hopp 81c285
Files:	    src/option.c
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.207/src/option.c	2009-06-16 15:23:07.000000000 +0200
Karsten Hopp 81c285
--- src/option.c	2009-06-16 17:35:08.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 4006,4012 ****
Karsten Hopp 81c285
  	else
Karsten Hopp 81c285
  	{
Karsten Hopp 81c285
  	    prefix = 1;
Karsten Hopp 81c285
! 	    if (STRNCMP(arg, "no", 2) == 0)
Karsten Hopp 81c285
  	    {
Karsten Hopp 81c285
  		prefix = 0;
Karsten Hopp 81c285
  		arg += 2;
Karsten Hopp 81c285
--- 4006,4012 ----
Karsten Hopp 81c285
  	else
Karsten Hopp 81c285
  	{
Karsten Hopp 81c285
  	    prefix = 1;
Karsten Hopp 81c285
! 	    if (STRNCMP(arg, "no", 2) == 0 && STRNCMP(arg, "novice", 6) != 0)
Karsten Hopp 81c285
  	    {
Karsten Hopp 81c285
  		prefix = 0;
Karsten Hopp 81c285
  		arg += 2;
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 9757,9763 ****
Karsten Hopp 81c285
  	}
Karsten Hopp 81c285
  	--p;
Karsten Hopp 81c285
      }
Karsten Hopp 81c285
!     if (STRNCMP(p, "no", 2) == 0)
Karsten Hopp 81c285
      {
Karsten Hopp 81c285
  	xp->xp_context = EXPAND_BOOL_SETTINGS;
Karsten Hopp 81c285
  	p += 2;
Karsten Hopp 81c285
--- 9757,9763 ----
Karsten Hopp 81c285
  	}
Karsten Hopp 81c285
  	--p;
Karsten Hopp 81c285
      }
Karsten Hopp 81c285
!     if (STRNCMP(p, "no", 2) == 0 && STRNCMP(p, "novice", 6) != 0)
Karsten Hopp 81c285
      {
Karsten Hopp 81c285
  	xp->xp_context = EXPAND_BOOL_SETTINGS;
Karsten Hopp 81c285
  	p += 2;
Karsten Hopp 81c285
*** ../vim-7.2.207/src/version.c	2009-06-16 17:22:38.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-06-16 17:50:33.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     208,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
Now it is such a bizarrely improbable coincidence that anything as
Karsten Hopp 81c285
mind-bogglingly useful as the Babel fish could have evolved purely by chance
Karsten Hopp 81c285
that some thinkers have chosen to see it as a final and clinching proof of the
Karsten Hopp 81c285
NON-existence of God.
Karsten Hopp 81c285
The argument goes something like this: 'I refuse to prove that I exist,' says
Karsten Hopp 81c285
God, 'for proof denies faith, and without faith I am nothing.'
Karsten Hopp 81c285
'But,' says Man, 'the Babel fish is a dead giveaway, isn't it?  It could not
Karsten Hopp 81c285
have evolved by chance.  It proves you exist, and so therefore, by your own
Karsten Hopp 81c285
arguments, you don't.  QED.'
Karsten Hopp 81c285
'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a
Karsten Hopp 81c285
puff of logic.
Karsten Hopp 81c285
'Oh, that was easy,' says Man, and for an encore goes on to prove that black
Karsten Hopp 81c285
is white and gets himself killed on the next pedestrian crossing.
Karsten Hopp 81c285
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///