073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.284
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.284
073263
Problem:    Setting 'langmap' in the modeline can cause trouble.  E.g. mapping
073263
	    ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann)
073263
Solution:   Disallow setting 'langmap' from the modeline.
073263
Files:	    src/option.c
073263
073263
073263
*** ../vim-7.4.283/src/option.c	2014-05-07 15:10:17.661108310 +0200
073263
--- src/option.c	2014-05-13 12:11:39.677552445 +0200
073263
***************
073263
*** 1652,1658 ****
073263
  #endif
073263
  #endif
073263
  				(char_u *)0L} SCRIPTID_INIT},
073263
!     {"langmap",     "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
073263
  #ifdef FEAT_LANGMAP
073263
  			    (char_u *)&p_langmap, PV_NONE,
073263
  			    {(char_u *)"",	/* unmatched } */
073263
--- 1652,1658 ----
073263
  #endif
073263
  #endif
073263
  				(char_u *)0L} SCRIPTID_INIT},
073263
!     {"langmap",     "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP|P_SECURE,
073263
  #ifdef FEAT_LANGMAP
073263
  			    (char_u *)&p_langmap, PV_NONE,
073263
  			    {(char_u *)"",	/* unmatched } */
073263
*** ../vim-7.4.283/src/version.c	2014-05-09 20:33:01.102790466 +0200
073263
--- src/version.c	2014-05-13 12:12:21.273552809 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     284,
073263
  /**/
073263
073263
-- 
073263
We are the Borg of GNU GPL.  We will assimilate your source code.
073263
Resistance is futile.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///