To: vim_dev@googlegroups.com Subject: Patch 7.4.2005 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2005 Problem: After using evalcmd() message output is in the wrong position. (Christian Brabandt) Solution: Reset msg_col. Files: src/eval.c *** ../vim-7.4.2004/src/eval.c 2016-07-08 20:11:02.402985162 +0200 --- src/eval.c 2016-07-08 23:03:51.189729430 +0200 *************** *** 11397,11402 **** --- 11397,11406 ---- redir_evalcmd = save_redir_evalcmd; if (redir_evalcmd) redir_evalcmd_ga = save_ga; + + /* "silent reg" or "silent echo x" leaves msg_col somewhere in the + * line. Put it back in the first column. */ + msg_col = 0; } } *** ../vim-7.4.2004/src/version.c 2016-07-08 22:52:31.931768492 +0200 --- src/version.c 2016-07-08 23:05:19.776417839 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 2005, /**/ -- "Women marry men hoping they will change. Men marry women hoping they will not. So each is inevitably disappointed." - Einstein /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///