To: vim_dev@googlegroups.com Subject: Patch 7.4.1900 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1900 Problem: Using CTRL-] in the help on "{address}." doesn't work. Solution: Recognize an item in {}. (Hirohito Higashi, closes #814) Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim *** ../vim-7.4.1899/src/ex_cmds.c 2016-04-14 13:51:16.207410946 +0200 --- src/ex_cmds.c 2016-06-04 22:24:10.093892662 +0200 *************** *** 6216,6221 **** --- 6216,6224 ---- */ if (*s == '\'' && s > arg && *arg == '\'') break; + /* Also '{' and '}'. */ + if (*s == '}' && s > arg && *arg == '{') + break; } *d = NUL; *** ../vim-7.4.1899/src/testdir/test_help_tagjump.vim 2016-05-07 22:28:49.416042829 +0200 --- src/testdir/test_help_tagjump.vim 2016-06-04 22:24:10.093892662 +0200 *************** *** 25,30 **** --- 25,40 ---- call assert_equal("help", &filetype) call assert_true(getline('.') =~ '\*arglistid()\*') helpclose + + exec "help! 'autoindent'." + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ "\\*'autoindent'\\*") + helpclose + + exec "help! {address}." + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ '\*{address}\*') + helpclose endfunc let s:langs = ['en', 'ab', 'ja'] *** ../vim-7.4.1899/src/version.c 2016-06-04 22:18:08.337897639 +0200 --- src/version.c 2016-06-04 22:31:15.885886805 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1900, /**/ -- hundred-and-one symptoms of being an internet addict: 48. You get a tatoo that says "This body best viewed with Netscape 3.1 or higher." /// Bram Moolenaar -- Bram@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 ///