abe52e6
To: vim-dev@vim.org
abe52e6
Subject: Patch 7.2.066
abe52e6
Fcc: outbox
abe52e6
From: Bram Moolenaar <Bram@moolenaar.net>
abe52e6
Mime-Version: 1.0
abe52e6
Content-Type: text/plain; charset=ISO-8859-1
abe52e6
Content-Transfer-Encoding: 8bit
abe52e6
------------
abe52e6
abe52e6
Patch 7.2.066
abe52e6
Problem:    It's not easy to see whether 'encoding' is a multi-byte encoding.
abe52e6
Solution:   Add has('multi_byte_encoding').
abe52e6
Files:	    runtime/doc/eval.txt, src/eval.c
abe52e6
abe52e6
abe52e6
*** ../vim-7.2.065/runtime/doc/eval.txt	Fri Nov 28 11:15:10 2008
abe52e6
--- runtime/doc/eval.txt	Tue Dec  9 10:55:59 2008
abe52e6
***************
abe52e6
*** 5841,5847 ****
abe52e6
  mouse_pterm		Compiled with support for qnx pterm mouse.
abe52e6
  mouse_sysmouse		Compiled with support for sysmouse (*BSD console mouse)
abe52e6
  mouse_xterm		Compiled with support for xterm mouse.
abe52e6
! multi_byte		Compiled with support for editing Korean et al.
abe52e6
  multi_byte_ime		Compiled with support for IME input method.
abe52e6
  multi_lang		Compiled with support for multiple languages.
abe52e6
  mzscheme		Compiled with MzScheme interface |mzscheme|.
abe52e6
--- 5852,5859 ----
abe52e6
  mouse_pterm		Compiled with support for qnx pterm mouse.
abe52e6
  mouse_sysmouse		Compiled with support for sysmouse (*BSD console mouse)
abe52e6
  mouse_xterm		Compiled with support for xterm mouse.
abe52e6
! multi_byte		Compiled with support for 'encoding'
abe52e6
! multi_byte_encoding	'encoding' is set to a multi-byte encoding.
abe52e6
  multi_byte_ime		Compiled with support for IME input method.
abe52e6
  multi_lang		Compiled with support for multiple languages.
abe52e6
  mzscheme		Compiled with MzScheme interface |mzscheme|.
abe52e6
*** ../vim-7.2.065/src/eval.c	Wed Dec  3 09:51:19 2008
abe52e6
--- src/eval.c	Wed Dec  3 14:29:09 2008
abe52e6
***************
abe52e6
*** 11842,11847 ****
abe52e6
--- 11842,11851 ----
abe52e6
  	    n = has_patch(atoi((char *)name + 5));
abe52e6
  	else if (STRICMP(name, "vim_starting") == 0)
abe52e6
  	    n = (starting != 0);
abe52e6
+ #ifdef FEAT_MBYTE
abe52e6
+ 	else if (STRICMP(name, "multi_byte_encoding") == 0)
abe52e6
+ 	    n = has_mbyte;
abe52e6
+ #endif
abe52e6
  #if defined(FEAT_BEVAL) && defined(FEAT_GUI_W32)
abe52e6
  	else if (STRICMP(name, "balloon_multiline") == 0)
abe52e6
  	    n = multiline_balloon_available();
abe52e6
*** ../vim-7.2.065/src/version.c	Wed Dec  3 18:50:09 2008
abe52e6
--- src/version.c	Tue Dec  9 10:48:49 2008
abe52e6
***************
abe52e6
*** 678,679 ****
abe52e6
--- 678,681 ----
abe52e6
  {   /* Add new patch number below this line */
abe52e6
+ /**/
abe52e6
+     66,
abe52e6
  /**/
abe52e6
abe52e6
-- 
abe52e6
ARTHUR: Listen, old crone!  Unless you tell us where we can buy a shrubbery,
abe52e6
        my friend and I will ... we will say "Ni!"
abe52e6
CRONE:  Do your worst!
abe52e6
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
abe52e6
abe52e6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
abe52e6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
abe52e6
\\\        download, build and distribute -- http://www.A-A-P.org        ///
abe52e6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///