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