To: vim-dev@vim.org Subject: Patch 6.0.246 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.0.246 Problem: ":echomsg" didn't use the highlighting set by ":echohl". (Gary Holloway) Solution: Use the specified attributes for the message. (Yegappan Lakshmanan) Files: src/eval.c *** ../vim60.245/src/eval.c Mon Feb 18 12:58:16 2002 --- src/eval.c Thu Feb 21 16:31:10 2002 *************** *** 7481,7487 **** if (ret != FAIL && ga.ga_data != NULL) { if (eap->cmdidx == CMD_echomsg) ! MSG((char_u *)ga.ga_data); else if (eap->cmdidx == CMD_echoerr) { /* We don't want to abort following commands, restore did_emsg. */ --- 7481,7487 ---- if (ret != FAIL && ga.ga_data != NULL) { if (eap->cmdidx == CMD_echomsg) ! MSG_ATTR((char_u *)ga.ga_data, echo_attr); else if (eap->cmdidx == CMD_echoerr) { /* We don't want to abort following commands, restore did_emsg. */ *** ../vim60.245/src/version.c Thu Feb 21 15:45:45 2002 --- src/version.c Thu Feb 21 16:36:07 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 246, /**/ -- At some point in the project somebody will start whining about the need to determine the project "requirements". This involves interviewing people who don't know what they want but, curiously, know exactly when they need it. (Scott Adams - The Dilbert principle) /// 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 ///