To: vim-dev@vim.org Subject: Patch 6.1.319 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.319 (depends on 6.1.276) Problem: Using "--remote +cmd file" does not execute "cmd". Solution: Call inputrestore() in the same command line as inputsave(), otherwise it will never get executed. Files: src/main.c *** ../vim61.318/src/main.c Sun Jan 5 22:14:46 2003 --- src/main.c Tue Feb 4 20:02:09 2003 *************** *** 2861,2867 **** } /* The :drop commands goes to Insert mode when 'insertmode' is set, use * CTRL-\ CTRL-N again. */ ! ga_concat(&ga, (char_u *)":if exists('*inputrestore')|call inputrestore()|endif|cd -"); if (sendReply) ga_concat(&ga, (char_u *)":call SetupRemoteReplies()"); if (inicmd != NULL) --- 2861,2868 ---- } /* The :drop commands goes to Insert mode when 'insertmode' is set, use * CTRL-\ CTRL-N again. */ ! ga_concat(&ga, (char_u *)"|if exists('*inputrestore')|call inputrestore()|endif"); ! ga_concat(&ga, (char_u *)":cd -"); if (sendReply) ga_concat(&ga, (char_u *)":call SetupRemoteReplies()"); if (inicmd != NULL) *** ../vim61.318/src/version.c Mon Feb 3 21:48:50 2003 --- src/version.c Tue Feb 4 20:04:26 2003 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 319, /**/ -- hundred-and-one symptoms of being an internet addict: 115. You are late picking up your kid from school and try to explain to the teacher you were stuck in Web traffic. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///