To: Pablo Ariel Kohan In-Reply-To: <3784ADD2.9DBC8BA9@memco.co.il> Cc: Vim developers mailing list Subject: patch 5.4n.21 (was: [vim5.4n] buglet in :options) Fcc: outbox From: Bram Moolenaar ------------ Pablo Ariel Kohan wrote: > In the :option buffer, get to the &im option line, and keep pressing > . > > You'll end up with a new line containing :echo, every two keypresses. Patch 5.4n.21 Problem: In the option-window, hitting on the ":set im" line caused an extra ":echo" to be inserted. (Pablo Ariel Kohan) Solution: Use to make sure the ":echo" is done in Normal mode. Files: runtime/optwin.vim *** ../vim-5.4n/runtime/optwin.vim Thu Jul 8 18:57:12 1999 --- runtime/optwin.vim Thu Jul 8 18:45:39 1999 *************** *** 835,841 **** fun! OW_enter() let cpo_save = &cpo let &cpo = "" ! noremap :call OW_CR():echo inoremap :call OW_CR():echo noremap :call OW_Space():echo inoremap :call OW_Space():echo --- 835,841 ---- fun! OW_enter() let cpo_save = &cpo let &cpo = "" ! noremap :call OW_CR():echo inoremap :call OW_CR():echo noremap :call OW_Space():echo inoremap :call OW_Space():echo -- OLD WOMAN: King of the WHO? ARTHUR: The Britons. OLD WOMAN: Who are the Britons? "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /