To: vim-dev@vim.org Subject: Patch 6.1.138 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.138 (depends on 6.1.126) Problem: Adding extra items to the Syntax menu can't be done when the "Show individual choices" menu is used. Solution: Use ":runtime!" instead of ":source", so that all synmenu.vim files in the runtime path are loaded. (Servatius Brandt) Also fix that a translated menu can't be removed. Files: runtime/menu.vim *** ../vim61.137/runtime/menu.vim Tue Jul 9 21:50:11 2002 --- runtime/menu.vim Sat Jul 13 14:02:03 2002 *************** *** 2,8 **** " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar ! " Last Change: 2002 Jul 09 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. --- 2,8 ---- " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar ! " Last Change: 2002 Jul 13 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. *************** *** 928,936 **** " Skip setting up the individual syntax selection menus unless " do_syntax_sel_menu is defined (it takes quite a bit of time). if exists("do_syntax_sel_menu") ! so $VIMRUNTIME/synmenu.vim else ! an 50.10 &Syntax.Show\ individual\ choices :let do_syntax_sel_menu = 1so $VIMRUNTIME/synmenu.vimaunmenu Syntax.Show\ individual\ choices an 50.195 &Syntax.-SEP1- endif --- 928,936 ---- " Skip setting up the individual syntax selection menus unless " do_syntax_sel_menu is defined (it takes quite a bit of time). if exists("do_syntax_sel_menu") ! runtime! synmenu.vim else ! an 50.10 &Syntax.&Show\ individual\ choices :let do_syntax_sel_menu = 1runtime! synmenu.vimaunmenu &Syntax.&Show\ individual\ choices an 50.195 &Syntax.-SEP1- endif *** ../vim61.137/src/version.c Sun Jul 21 21:20:59 2002 --- src/version.c Sun Jul 21 21:23:05 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 138, /**/ -- hundred-and-one symptoms of being an internet addict: 19. All of your friends have an @ in their names. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///