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