Life Jazzer wrote: > Regarding my question previously why Vim does not prompt for encryption when > opening via `Edit with Vim` option available by right click on the file from > Windows Explorer, I think I have found out why. > > In my _vimrc file, I put a line to remove the toolbar by running > `:emenu Edit.Global Settings.Toggle Toolbar` command instead of > `set guioptions-=T` command. Removing this line makes Vim prompt for > the file encryption key while opening an encrypted file. Is this > really how Vim is expected to act in this situation?
Looking into this I found a broken #ifdef. Looks like it was changed unintentionally. If you can recompile Vim, try this patch: *** menu.c~ Wed Aug 16 20:35:09 2006 --- menu.c Wed Nov 29 21:15:36 2006 *************** *** 2246,2252 **** { /* When executing a script or function execute the commands right now. * Otherwise put them in the typeahead buffer. */ ! #ifdef FEAT_En if (current_SID != 0) exec_normal_cmd(menu->strings[idx], menu->noremap[idx], menu->silent[idx]); --- 2246,2252 ---- { /* When executing a script or function execute the commands right now. * Otherwise put them in the typeahead buffer. */ ! #ifdef FEAT_EVAL if (current_SID != 0) exec_normal_cmd(menu->strings[idx], menu->noremap[idx], menu->silent[idx]); -- Have you heard about the new Barbie doll? It's called Divorce Barbie. It comes with all of Ken's stuff. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///