To: vim-dev@vim.org Subject: Patch 6.0ax.003 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0ax.003 Problem: The Workshop interface didn't work when 'compatible' is set. Solution: Make 'cpoptions' empty while defining mappings and menus. Files: src/workshop.c *** ../vim60ax.2/src/workshop.c Thu Sep 13 21:34:27 2001 --- src/workshop.c Thu Sep 20 12:39:28 2001 *************** *** 1717,1730 **** --- 1717,1736 ---- char *cmd, /* the command to print */ Boolean force) /* force cursor update */ { + char_u *cpo_save = p_cpo; + #ifdef WSDEBUG if (WSDLEVEL(WS_TRACE_COLONCMD)) wsdebug("Cmd: %s\n", cmd); #endif + p_cpo = empty_option; + ALT_INPUT_LOCK_ON; do_cmdline_cmd((char_u *)cmd); ALT_INPUT_LOCK_OFF; + + p_cpo = cpo_save; if (force) gui_update_screen(); *** ../vim60ax.2/src/version.c Thu Sep 20 22:48:13 2001 --- src/version.c Thu Sep 20 22:52:24 2001 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 3, /**/ -- TALL KNIGHT: When you have found the shrubbery, then you must cut down the mightiest tree in the forest ... with a herring. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///