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