Patch 7.4.2306
Problem:    Default value for 'langremap' is wrong.
Solution:   Set the right value. (Jürgen Krämer)  Add a test.
Files:      src/option.c, src/testdir/test_mapping.vim


*** ../vim-7.4.2305/src/option.c        2016-08-29 22:48:12.157106115 +0200
--- src/option.c        2016-09-02 19:26:03.148482679 +0200
***************
*** 1711,1717 ****
  #else
                            (char_u *)NULL, PV_NONE,
  #endif
!                           {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},
      {"laststatus",  "ls",   P_NUM|P_VI_DEF|P_RALL,
  #ifdef FEAT_WINDOWS
                            (char_u *)&p_ls, PV_NONE,
--- 1711,1717 ----
  #else
                            (char_u *)NULL, PV_NONE,
  #endif
!                           {(char_u *)TRUE, (char_u *)0L} SCRIPTID_INIT},
      {"laststatus",  "ls",   P_NUM|P_VI_DEF|P_RALL,
  #ifdef FEAT_WINDOWS
                            (char_u *)&p_ls, PV_NONE,
*** ../vim-7.4.2305/src/testdir/test_mapping.vim        2016-08-21 
17:44:57.440487201 +0200
--- src/testdir/test_mapping.vim        2016-09-02 19:27:44.363612034 +0200
***************
*** 72,77 ****
--- 72,85 ----
    set nolangremap
    call assert_equal(1, &langnoremap)
  
+   " check default values
+   set langnoremap&
+   call assert_equal(0, &langnoremap)
+   call assert_equal(1, &langremap)
+   set langremap&
+   call assert_equal(0, &langnoremap)
+   call assert_equal(1, &langremap)
+ 
    " langmap should not apply in insert mode, 'langremap' doesn't matter
    set langmap=+{ nolangremap
    call feedkeys("Go+\<Esc>", "xt")
*** ../vim-7.4.2305/src/version.c       2016-09-01 22:19:22.544165975 +0200
--- src/version.c       2016-09-02 19:29:05.214916953 +0200
***************
*** 765,766 ****
--- 765,768 ----
  {   /* Add new patch number below this line */
+ /**/
+     2306,
  /**/

-- 
Birthdays are healthy.  The more you have them, the longer you live.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui