To: vim-dev@vim.org Subject: Patch 6.1b.035 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1b.035 Problem: When using evim, dropping a file on Vim and then double clicking on a word, it is changed to "i". (Merlin Hansen) Solution: Reset need_start_insertmode after editing the file. Files: src/ex_docmd.c *** ../vim61b.034/src/ex_docmd.c Fri Mar 15 21:50:36 2002 --- src/ex_docmd.c Fri Mar 22 20:30:29 2002 *************** *** 5284,5289 **** --- 5284,5293 ---- ea.force_enc = 0; # endif do_argfile(&ea, 0); + + /* do_ecmd() may set need_start_insertmode, but since we never left Insert + * mode that is not needed here. */ + need_start_insertmode = FALSE; } #endif *** ../vim61b.034/src/version.c Fri Mar 22 19:58:54 2002 --- src/version.c Fri Mar 22 20:34:39 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 35, /**/ -- Why i like vim: > I like VIM because, when I ask a question in this newsgroup, I get a > one-line answer. With xemacs, I get a 1Kb lisp script with bugs in it ;-) /// 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 /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///