changeset 10186:a5ef9968638c

commit https://github.com/vim/vim/commit/7e1479b86c590a66b63a274c079b7f18907d45a4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 11 15:07:27 2016 +0200 Updated runtime files, Japanese translations.
author Christian Brabandt <cb@256bit.org>
date Sun, 11 Sep 2016 15:15:07 +0200
parents a93cbcaeb4bb
children 18fdbe54b21f
files runtime/doc/change.txt runtime/doc/filetype.txt runtime/doc/repeat.txt runtime/doc/starting.txt runtime/doc/syntax.txt runtime/doc/tabpage.txt runtime/doc/tags runtime/doc/todo.txt runtime/doc/version8.txt src/po/ja.euc-jp.po src/po/ja.po src/po/ja.sjis.po
diffstat 12 files changed, 229 insertions(+), 109 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt*    For Vim version 7.4.  Last change: 2016 Apr 12
+*change.txt*    For Vim version 7.4.  Last change: 2016 Sep 11
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -872,6 +872,7 @@ The numbering of "\1", "\2" etc. is done
 the pattern (going left to right).  When a parentheses group matches several
 times, the last one will be used for "\1", "\2", etc.  Example: >
   :s/\(\(a[a-d] \)*\)/\2/      modifies "aa ab x" to "ab x"
+The "\2" is for "\(a[a-d] \)".  At first it matches "aa ", secondly "ab ".
 
 When using parentheses in combination with '|', like in \([ab]\)\|\([cd]\),
 either the first or second pattern in parentheses did not match, so either
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt*  For Vim version 7.4.  Last change: 2016 Jun 20
+*filetype.txt*  For Vim version 7.4.  Last change: 2016 Sep 09
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -644,6 +644,17 @@ These maps can be disabled with >
 	:let g:no_pdf_maps = 1
 <
 
+PYTHON						*ft-python-plugin* *PEP8*
+
+By default the following options are set, in accordance with PEP8: >
+
+	setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
+
+To disable this behaviour, set the following variable in your vimrc: >
+	
+	let g:python_recommended_style = 0
+
+
 RPM SPEC						*ft-spec-plugin*
 
 Since the text for this plugin is rather long it has been put in a separate
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt*    For Vim version 7.4.  Last change: 2016 Jul 21
+*repeat.txt*    For Vim version 7.4.  Last change: 2016 Sep 11
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -158,7 +158,7 @@ q			Stops recording.  (Implementation no
 :[addr]@:		Repeat last command-line.  First set cursor at line
 			[addr] (default is current line).  {not in Vi}
 
-							*:@@*
+:[addr]@							*:@@*
 :[addr]@@		Repeat the previous :@{0-9a-z"}.  First set cursor at
 			line [addr] (default is current line).  {Vi: only in
 			some versions}
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt*  For Vim version 7.4.  Last change: 2016 Sep 03
+*starting.txt*  For Vim version 7.4.  Last change: 2016 Sep 09
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1021,17 +1021,20 @@ patch 7.4.2111 to be exact).
 
 This should work well for new Vim users.  If you create your own .vimrc, it is
 recommended to add this line somewhere near the top: >
+	unlet! skip_defaults_vim
 	source $VIMRUNTIME/defaults.vim
 Then Vim works like before you had a .vimrc. Copying $VIMRUNTIME/vimrc_example
 is way to do this.  Alternatively, you can copy defaults.vim to your .vimrc
-and modify it.
+and modify it (but then you won't get updates when it changes).
 
 If you don't like some of the defaults, you can still source defaults.vim and
 revert individual settings.  See the defaults.vim file for hints on how to
 revert each item.
-
+						*skip_defaults_vim*
 If you use a system-wide vimrc and don't want defaults.vim to change settings,
-set the "skip_defaults_vim" variable.
+set the "skip_defaults_vim" variable.  If this was set and you want to load
+defaults.vim from your .vimrc, first unlet skip_defaults_vim, as in the
+example above.
 
 
 Avoiding trojan horses ~
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt*	For Vim version 7.4.  Last change: 2016 Aug 16
+*syntax.txt*	For Vim version 7.4.  Last change: 2016 Sep 09
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -2669,7 +2669,76 @@ your .vimrc:  *g:filetype_r*
 
 RUBY						*ruby.vim* *ft-ruby-syntax*
 
-There are a number of options to the Ruby syntax highlighting.
+    Ruby: Operator highlighting		|ruby_operators|
+    Ruby: Whitespace errors		|ruby_space_errors|
+    Ruby: Folding			|ruby_fold| |ruby_foldable_groups|
+    Ruby: Reducing expensive operations	|ruby_no_expensive| |ruby_minlines|
+    Ruby: Spellchecking strings		|ruby_spellcheck_strings|
+
+						*ruby_operators*
+ Ruby: Operator highlighting ~
+
+Operators can be highlighted by defining "ruby_operators": >
+
+	:let ruby_operators = 1
+<
+						*ruby_space_errors*
+ Ruby: Whitespace errors ~
+
+Whitespace errors can be highlighted by defining "ruby_space_errors": >
+
+	:let ruby_space_errors = 1
+<
+This will highlight trailing whitespace and tabs preceded by a space character
+as errors.  This can be refined by defining "ruby_no_trail_space_error" and
+"ruby_no_tab_space_error" which will ignore trailing whitespace and tabs after
+spaces respectively.
+
+					*ruby_fold* *ruby_foldable_groups*
+ Ruby: Folding ~
+
+Folding can be enabled by defining "ruby_fold": >
+
+	:let ruby_fold = 1
+<
+This will set the value of 'foldmethod' to "syntax" locally to the current
+buffer or window, which will enable syntax-based folding when editing Ruby
+filetypes.
+
+						*ruby_foldable_groups*
+Default folding is rather detailed, i.e., small syntax units like "if", "do",
+"%w[]" may create corresponding fold levels.
+
+You can set "ruby_foldable_groups" to restrict which groups are foldable: >
+
+        :let ruby_foldable_groups = 'if case %'
+<
+The value is a space-separated list of keywords:
+
+    keyword       meaning ~
+    --------  ------------------------------------- ~
+    ALL        Most block syntax (default)
+    NONE       Nothing
+    if         "if" or "unless" block
+    def        "def" block
+    class      "class" block
+    module     "module" block
+    do         "do" block
+    begin      "begin" block
+    case       "case" block
+    for        "for", "while", "until" loops
+    {          Curly bracket block or hash literal
+    [          Array literal
+    %          Literal with "%" notation, e.g.: %w(STRING), %!STRING!
+    /          Regexp
+    string     String and shell command output (surrounded by ', ", `)
+    :          Symbol
+    #          Multiline comment
+    <<         Here documents
+    __END__    Source code after "__END__" directive
+
+						*ruby_no_expensive*
+ Ruby: Reducing expensive operations ~
 
 By default, the "end" keyword is colorized according to the opening statement
 of the block it closes.  While useful, this feature can be expensive; if you
@@ -2680,6 +2749,8 @@ you may want to turn it off by defining 
 <
 In this case the same color will be used for all control keywords.
 
+						*ruby_minlines*
+
 If you do want this feature enabled, but notice highlighting errors while
 scrolling backwards, which are fixed when redrawing with CTRL-L, try setting
 the "ruby_minlines" variable to a value larger than 50: >
@@ -2689,48 +2760,13 @@ the "ruby_minlines" variable to a value 
 Ideally, this value should be a number of lines large enough to embrace your
 largest class or module.
 
-Highlighting of special identifiers can be disabled by removing the
-rubyIdentifier highlighting: >
-
-	:hi link rubyIdentifier NONE
-<
-This will prevent highlighting of special identifiers like "ConstantName",
-"$global_var", "@@class_var", "@instance_var", "| block_param |", and
-":symbol".
-
-Significant methods of Kernel, Module and Object are highlighted by default.
-This can be disabled by defining "ruby_no_special_methods": >
-
-	:let ruby_no_special_methods = 1
-<
-This will prevent highlighting of important methods such as "require", "attr",
-"private", "raise" and "proc".
-
-Ruby operators can be highlighted. This is enabled by defining
-"ruby_operators": >
-
-	:let ruby_operators = 1
-<
-Whitespace errors can be highlighted by defining "ruby_space_errors": >
-
-	:let ruby_space_errors = 1
-<
-This will highlight trailing whitespace and tabs preceded by a space character
-as errors.  This can be refined by defining "ruby_no_trail_space_error" and
-"ruby_no_tab_space_error" which will ignore trailing whitespace and tabs after
-spaces respectively.
-
-Folding can be enabled by defining "ruby_fold": >
-
-	:let ruby_fold = 1
-<
-This will set the 'foldmethod' option to "syntax" and allow folding of
-classes, modules, methods, code blocks, heredocs and comments.
-
-Folding of multiline comments can be disabled by defining
-"ruby_no_comment_fold": >
-
-	:let ruby_no_comment_fold = 1
+						*ruby_spellcheck_strings*
+ Ruby: Spellchecking strings ~
+
+Ruby syntax will perform spellchecking of strings if you define
+"ruby_spellcheck_strings": >
+
+	:let ruby_spellcheck_strings = 1
 <
 
 SCHEME						*scheme.vim* *ft-scheme-syntax*
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -1,4 +1,4 @@
-*tabpage.txt*   For Vim version 7.4.  Last change: 2015 Jan 04
+*tabpage.txt*   For Vim version 7.4.  Last change: 2016 Sep 09
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -201,6 +201,12 @@ Other commands:
 :tabs		List the tab pages and the windows they contain.
 		Shows a ">" for the current window.
 		Shows a "+" for modified buffers.
+		For example:
+			Tab page 1 ~
+			  + tabpage.txt ~
+			    ex_docmd.c ~
+			Tab page 2 ~
+			>   main.c ~
 
 
 REORDERING TAB PAGES:
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -4617,6 +4617,7 @@ OptionSet	autocmd.txt	/*OptionSet*
 OverTheSpot	mbyte.txt	/*OverTheSpot*
 P	change.txt	/*P*
 PATHEXT	eval.txt	/*PATHEXT*
+PEP8	filetype.txt	/*PEP8*
 PHP_BracesAtCodeLevel	indent.txt	/*PHP_BracesAtCodeLevel*
 PHP_autoformatcomment	indent.txt	/*PHP_autoformatcomment*
 PHP_default_indenting	indent.txt	/*PHP_default_indenting*
@@ -6090,6 +6091,7 @@ ft-printcap-syntax	syntax.txt	/*ft-print
 ft-progress-syntax	syntax.txt	/*ft-progress-syntax*
 ft-ptcap-syntax	syntax.txt	/*ft-ptcap-syntax*
 ft-python-indent	indent.txt	/*ft-python-indent*
+ft-python-plugin	filetype.txt	/*ft-python-plugin*
 ft-python-syntax	syntax.txt	/*ft-python-syntax*
 ft-quake-syntax	syntax.txt	/*ft-quake-syntax*
 ft-r-indent	indent.txt	/*ft-r-indent*
@@ -8025,6 +8027,14 @@ ruby-set_option	if_ruby.txt	/*ruby-set_o
 ruby-vim	if_ruby.txt	/*ruby-vim*
 ruby-window	if_ruby.txt	/*ruby-window*
 ruby.vim	syntax.txt	/*ruby.vim*
+ruby_fold	syntax.txt	/*ruby_fold*
+ruby_foldable_groups	syntax.txt	/*ruby_foldable_groups*
+ruby_foldable_groups	syntax.txt	/*ruby_foldable_groups*
+ruby_minlines	syntax.txt	/*ruby_minlines*
+ruby_no_expensive	syntax.txt	/*ruby_no_expensive*
+ruby_operators	syntax.txt	/*ruby_operators*
+ruby_space_errors	syntax.txt	/*ruby_space_errors*
+ruby_spellcheck_strings	syntax.txt	/*ruby_spellcheck_strings*
 russian	russian.txt	/*russian*
 russian-intro	russian.txt	/*russian-intro*
 russian-issues	russian.txt	/*russian-issues*
@@ -8159,6 +8169,7 @@ sin()	eval.txt	/*sin()*
 single-repeat	repeat.txt	/*single-repeat*
 sinh()	eval.txt	/*sinh()*
 skeleton	autocmd.txt	/*skeleton*
+skip_defaults_vim	starting.txt	/*skip_defaults_vim*
 slice	eval.txt	/*slice*
 slow-fast-terminal	term.txt	/*slow-fast-terminal*
 slow-start	starting.txt	/*slow-start*
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.4.  Last change: 2016 Sep 08
+*todo.txt*      For Vim version 7.4.  Last change: 2016 Sep 10
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -34,20 +34,6 @@ not be repeated below, unless there is e
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-Invalid memory access in do_pending_operator. (Dominique, 2016 Sep 5)
-
-Invalid memory access in msg_puts_printf (Dominique, 2016 Sep 6)
-
-Crash after wiping a buffer. (Dominique, Sep 7)
-
-With MS-Windows gvim:
-    test_netbeans.vim fails.  Nb_basic line 12 and 13.
-    test86 fails  partial fix
-    test87 fails
-
-Make ":filter" work with more commands.
-Search for: msg_putchar('\n')
-
 +channel:
 - channel_wait() may return an error while there is still something to read.
   Perhaps try to read once?
@@ -71,8 +57,6 @@ Later
     With xterm could use -S{pty}.
 
 Regexp problems:
-- The new engine does not do the example in change.txt correctly, where the
-  meaning of \1 and \2 is explained. (Harm te Hennepe, #990)
 - Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
   (Manuel Ortega, 2016 Apr 24)
   Test fails on Mac.  Avoid using isalpha(), isalnum(), etc?  Depends on
@@ -92,8 +76,6 @@ Regexp problems:
   2013 Dec 11)
 - Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin Szamotulski
   Remark from Brett 2014 Jan 6 and 7.
-- Difference in NFA and old engine. (Brett Stahlman, 2014 Nov 5)
-- Bug when using \>. (Ramel, 2014 Feb 2) (Aaron Bohannon, 2014 Feb 13)
 - NFA regexp doesn't handle \%<v correctly. (Ingo Karkat, 2014 May 12)
 - Does not work with NFA regexp engine:
   \%u, \%x, \%o, \%d followed by a composing character
@@ -117,9 +99,7 @@ Regexp problems:
   out the \& works.  Seems any column check after \& fails.
 - The pattern "\1" with the old engine gives E65, with the new engine it
   matches the empty string. (Dominique Pelle, 2015 Oct 2, Nov 24)
-- Search for \\~ causes error E874.
-- Search for /\%d0\+  causes error E363 in a file with consecutive NUL
-  characters. (Christian Brabandt, 2016 Jun 7)
+  had_endbrace[] is set but not initialized or used.
 
 json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
 What if there is an invalid character?
@@ -133,8 +113,6 @@ Once .exe with updated installer is avai
 about /S and /D options (Ken Takata, 2016 Apr 13)
 Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
 
-Cursor positioned in the wrong place when editing src/testdir/test_viml.vim.
-
 Javascript indent wrong after /* in single quoted string:
     var SRC = 'src/*.js';
     function log(tag) {
@@ -146,14 +124,9 @@ Add tests for using number larger than n
 
 Invalid behavior with NULL list. (Nikolai Pavlov, #768)
 
-For current Windows build .pdb file is missing. (Gabriele Fava, 2016 May 11)
-5)
-
 min() and max() spawn lots of error messages if sorted list/dictionary
 contains invalid data (Nikolay Pavlov, 2016 Sep 4, #1039)
 
-Patch to fix compiler warning with gtk3. (Kazunobu Kuriyama, 2016 Aug 24)
-
 Problem with whitespace in errorformat. (Gerd Wachsmuth, 2016 May 15, #807)
 
 Undo problem: "g-" doesn't go back, gets stuck. (Bj旦rn Linse, 2016 Jul 18)
--- a/runtime/doc/version8.txt
+++ b/runtime/doc/version8.txt
@@ -1,4 +1,4 @@
-*version8.txt*  For Vim version 8.0.  Last change: 2016 Sep 08
+*version8.txt*  For Vim version 8.0.  Last change: 2016 Sep 09
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -914,8 +914,7 @@ Files:	    src/testdir/test100.in, src/t
 	    src/testdir/Make_vms.mms, src/testdir/Makefile, src/Makefile
 
 Patch 7.4.076
-Problem:    "cgn" does not wrap around the end of the file. (Dimitrov
-	    Dimitrov)
+Problem:    "cgn" does not wrap around the end of the file. (Dimitar Dimitrov)
 Solution:   Restore 'wrapscan' earlier. (Christian Brabandt)
 Files:	    src/search.c
 
@@ -7666,8 +7665,7 @@ Problem:    Still more files still using
 Solution:   Remove __ARGS in really the last files.
 Files:      src/proto/if_mzsch.pro, src/if_mzsch.c, src/vim.h,
             src/proto/gui_gtk_gresources.pro, src/proto/gui_mac.pro,
-            src/proto/if_ole.pro, src/proto/if_ole.pro, src/proto/os_qnx.pro,
-            src/Makefile
+            src/proto/if_ole.pro, src/proto/os_qnx.pro, src/Makefile
 
 Patch 7.4.1204
 Problem:    Latin1 characters cause encoding conversion.
@@ -8811,7 +8809,7 @@ Files:      Filelist, src/Make_bc3.mak, 
             src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c,
             src/option.h, src/os_msdos.c, src/os_msdos.h, src/proto.h,
             src/proto/os_msdos.pro, src/regexp.c, src/screen.c, src/structs.h,
-            src/syntax.c, src/term.c, src/term.c, src/undo.c, src/uninstal.c,
+            src/syntax.c, src/term.c, src/undo.c, src/uninstal.c,
             src/version.c, src/vim.h, src/window.c, src/xxd/Make_bc3.mak,
             src/xxd/Make_djg.mak
 
@@ -14396,6 +14394,72 @@ Problem:    Autocommand test fails when 
 Solution:   Add command to make the cursor move.  Close a tab page.
 Files:      src/testdir/test_autocmd.vim
 
+Patch 7.4.2347
+Problem:    Crash when closing a buffer while Visual mode is active.
+            (Dominique Pelle)
+Solution:   Adjust the position before computing the number of lines.
+            When closing the current buffer stop Visual mode.
+Files:      src/buffer.c, src/normal.c, src/testdir/test_normal.vim
+
+Patch 7.4.2348
+Problem:    Crash on exit when EXITFREE is defined. (Dominique Pelle)
+Solution:   Don't access curwin when exiting.
+Files:      src/buffer.c
+
+Patch 7.4.2349
+Problem:    Valgrind reports using uninitialzed memory. (Dominique Pelle)
+Solution:   Check the length before checking for a NUL.
+Files:      src/message.c
+
+Patch 7.4.2350
+Problem:    Test 86 and 87 fail with some version of Python.
+Solution:   Unify "can't" and "cannot".  Unify quotes.
+Files:      src/testdir/test86.in, src/testdir/test86.ok,
+            src/testdir/test87.in, src/testdir/test87.ok
+
+Patch 7.4.2351
+Problem:    Netbeans test fails when run from unpacked MS-Windows sources.
+Solution:   Open README.txt instead of Makefile.
+Files:      src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim
+
+Patch 7.4.2352
+Problem:    Netbeans test fails in shadow directory.
+Solution:   Also copy README.txt to the shadow directory.
+Files:      src/Makefile
+
+Patch 7.4.2353
+Problem:    Not enough test coverage for Normal mode commands.
+Solution:   Add more tests. (Christian Brabandt)
+Files:      src/testdir/test_normal.vim
+
+Patch 7.4.2354
+Problem:    The example that explains nested backreferences does not work
+            properly with the new regexp engine. (Harm te Hennepe)
+Solution:   Also save the end position when adding a state. (closes #990)
+Files:      src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
+
+Patch 7.4.2355
+Problem:    Regexp fails to match when using "\>\)\?". (Ramel)
+Solution:   When a state is already in the list, but addstate_here() is used
+            and the existing state comes later, add the new state anyway.
+Files:      src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
+
+Patch 7.4.2356
+Problem:    Reading past end of line when using previous substitute pattern.
+            (Dominique Pelle)
+Solution:   Don't set "pat" only set "searchstr".
+Files:      src/search.c, src/testdir/test_search.vim
+
+Patch 7.4.2357
+Problem:    Attempt to read history entry while not initialized.
+Solution:   Skip when the index is negative.
+Files:      src/ex_getln.c
+
+Patch 7.4.2358
+Problem:    Compiler warnings with Solaris Studio when using GTK3.
+Solution:   Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama)
+Files:      src/gui.h, src/gui_beval.c, src/gui_gtk_f.c
+
 [STILL MORE COMING!]
 
  vim:tw=78:ts=8:ft=help:norl:
--- a/src/po/ja.euc-jp.po
+++ b/src/po/ja.euc-jp.po
@@ -14,14 +14,15 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Vim 7.4\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-08-31 18:10+0900\n"
-"PO-Revision-Date: 2016-08-31 21:20+0900\n"
+"POT-Creation-Date: 2016-09-10 21:10+0900\n"
+"PO-Revision-Date: 2016-09-10 21:20+0900\n"
 "Last-Translator: MURAOKA Taro <koron.kaoriya@gmail.com>\n"
 "Language-Team: vim-jp (https://github.com/vim-jp/lang-ja)\n"
 "Language: Japanese\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=euc-jp\n"
 "Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 msgid "E831: bf_key_init() called with empty password"
 msgstr "E831: bf_key_init() が空パスワードで呼び出されました"
@@ -56,6 +57,9 @@ msgstr "E83: バッファを作成できないので, 他のを使用します..."
 msgid "E931: Buffer cannot be registered"
 msgstr "E931: バッファを登録できません"
 
+msgid "E937: Attempt to delete a buffer that is in use"
+msgstr "E937: 使用中のバッファを削除しようと試みました"
+
 msgid "E515: No buffers were unloaded"
 msgstr "E515: 解放されたバッファはありません"
 
@@ -695,7 +699,6 @@ msgstr "&Ok"
 msgid "+-%s%3ld line: "
 msgid_plural "+-%s%3ld lines: "
 msgstr[0] "+-%s%3ld 行: "
-msgstr[1] "+-%s%3ld 行: "
 
 #, c-format
 msgid "E700: Unknown function: %s"
@@ -1948,6 +1951,9 @@ msgstr "E462: \"%s\" をリロードする準備ができませんでした"
 msgid "E321: Could not reload \"%s\""
 msgstr "E321: \"%s\" はリロードできませんでした"
 
+msgid "--Deleted--"
+msgstr "--削除済--"
+
 #, c-format
 msgid "auto-removing autocommand: %s <buffer=%d>"
 msgstr "autocommand: %s <バッファ=%d> が自動的に削除されます"
@@ -1957,12 +1963,12 @@ msgstr "autocommand: %s <バッファ=%d> が自動的に削除されます"
 msgid "E367: No such group: \"%s\""
 msgstr "E367: そのグループはありません: \"%s\""
 
+msgid "E936: Cannot delete the current group"
+msgstr "E936: 現在のグループは削除できません"
+
 msgid "W19: Deleting augroup that is still in use"
 msgstr "W19: 使用中の augroup を消そうとしています"
 
-msgid "--Deleted--"
-msgstr "--削除済--"
-
 #, c-format
 msgid "E215: Illegal character after *: %s"
 msgstr "E215: * の後に不正な文字がありました: %s"
@@ -2027,7 +2033,6 @@ msgstr "E351: 現在の 'foldmethod' では折畳みを削除できません"
 msgid "+--%3ld line folded "
 msgid_plural "+--%3ld lines folded "
 msgstr[0] "+--%3ld 行が折畳まれました "
-msgstr[1] "+--%3ld 行が折畳まれました "
 
 msgid "E222: Add to read buffer"
 msgstr "E222: 読込バッファへ追加"
--- a/src/po/ja.po
+++ b/src/po/ja.po
@@ -14,14 +14,15 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Vim 7.4\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-08-31 18:10+0900\n"
-"PO-Revision-Date: 2016-08-31 21:20+0900\n"
+"POT-Creation-Date: 2016-09-10 21:10+0900\n"
+"PO-Revision-Date: 2016-09-10 21:20+0900\n"
 "Last-Translator: MURAOKA Taro <koron.kaoriya@gmail.com>\n"
 "Language-Team: vim-jp (https://github.com/vim-jp/lang-ja)\n"
 "Language: Japanese\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 msgid "E831: bf_key_init() called with empty password"
 msgstr "E831: bf_key_init() 腥冴鴻若у若喝冴障"
@@ -56,6 +57,9 @@ msgstr "E83: <篏с, 篁篏睡障..."
 msgid "E931: Buffer cannot be registered"
 msgstr "E931: <脂蚊с障"
 
+msgid "E937: Attempt to delete a buffer that is in use"
+msgstr "E937: 篏睡筝<ゃ荅帥障"
+
 msgid "E515: No buffers were unloaded"
 msgstr "E515: 茹f障<障"
 
@@ -695,7 +699,6 @@ msgstr "&Ok"
 msgid "+-%s%3ld line: "
 msgid_plural "+-%s%3ld lines: "
 msgstr[0] "+-%s%3ld 茵: "
-msgstr[1] "+-%s%3ld 茵: "
 
 #, c-format
 msgid "E700: Unknown function: %s"
@@ -1948,6 +1951,9 @@ msgstr "E462: \"%s\" 若羣с障с"
 msgid "E321: Could not reload \"%s\""
 msgstr "E321: \"%s\" 若с障с"
 
+msgid "--Deleted--"
+msgstr "--ゆ--"
+
 #, c-format
 msgid "auto-removing autocommand: %s <buffer=%d>"
 msgstr "autocommand: %s <=%d> ゃ障"
@@ -1957,12 +1963,12 @@ msgstr "autocommand: %s <=%d> ゃ障"
 msgid "E367: No such group: \"%s\""
 msgstr "E367: 違若障: \"%s\""
 
+msgid "E936: Cannot delete the current group"
+msgstr "E936: 憜違若ゃс障"
+
 msgid "W19: Deleting augroup that is still in use"
 msgstr "W19: 篏睡筝 augroup 羔障"
 
-msgid "--Deleted--"
-msgstr "--ゆ--"
-
 #, c-format
 msgid "E215: Illegal character after *: %s"
 msgstr "E215: * 緇筝罩c絖障: %s"
@@ -2027,7 +2033,6 @@ msgstr "E351: 憜 'foldmethod' с潟帥ゃс障"
 msgid "+--%3ld line folded "
 msgid_plural "+--%3ld lines folded "
 msgstr[0] "+--%3ld 茵潟障障 "
-msgstr[1] "+--%3ld 茵潟障障 "
 
 msgid "E222: Add to read buffer"
 msgstr "E222: 茯莨若<梧申"
--- a/src/po/ja.sjis.po
+++ b/src/po/ja.sjis.po
@@ -14,14 +14,15 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Vim 7.4\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-08-31 18:10+0900\n"
-"PO-Revision-Date: 2016-08-31 21:20+0900\n"
+"POT-Creation-Date: 2016-09-10 21:10+0900\n"
+"PO-Revision-Date: 2016-09-10 21:20+0900\n"
 "Last-Translator: MURAOKA Taro <koron.kaoriya@gmail.com>\n"
 "Language-Team: vim-jp (https://github.com/vim-jp/lang-ja)\n"
 "Language: Japanese\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=cp932\n"
 "Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 msgid "E831: bf_key_init() called with empty password"
 msgstr "E831: bf_key_init() pX[ho"
@@ -56,6 +57,9 @@ msgstr "E83: obt@, gp..."
 msgid "E931: Buffer cannot be registered"
 msgstr "E931: obt@o^"
 
+msgid "E937: Attempt to delete a buffer that is in use"
+msgstr "E937: gpobt@"
+
 msgid "E515: No buffers were unloaded"
 msgstr "E515: obt@"
 
@@ -695,7 +699,6 @@ msgstr "&Ok"
 msgid "+-%s%3ld line: "
 msgid_plural "+-%s%3ld lines: "
 msgstr[0] "+-%s%3ld s: "
-msgstr[1] "+-%s%3ld s: "
 
 #, c-format
 msgid "E700: Unknown function: %s"
@@ -1948,6 +1951,9 @@ msgstr "E462: \"%s\" [h"
 msgid "E321: Could not reload \"%s\""
 msgstr "E321: \"%s\" [h"
 
+msgid "--Deleted--"
+msgstr "----"
+
 #, c-format
 msgid "auto-removing autocommand: %s <buffer=%d>"
 msgstr "autocommand: %s <obt@=%d> ゥI"
@@ -1957,12 +1963,12 @@ msgstr "autocommand: %s <obt@=%d> ゥI"
 msgid "E367: No such group: \"%s\""
 msgstr "E367: O[v: \"%s\""
 
+msgid "E936: Cannot delete the current group"
+msgstr "E936: O[v"
+
 msgid "W19: Deleting augroup that is still in use"
 msgstr "W19: gp augroup "
 
-msgid "--Deleted--"
-msgstr "----"
-
 #, c-format
 msgid "E215: Illegal character after *: %s"
 msgstr "E215: * s: %s"
@@ -2027,7 +2033,6 @@ msgstr "E351:  'foldmethod' "
 msgid "+--%3ld line folded "
 msgid_plural "+--%3ld lines folded "
 msgstr[0] "+--%3ld s "
-msgstr[1] "+--%3ld s "
 
 msgid "E222: Add to read buffer"
 msgstr "E222: obt@"