To: vim-dev@vim.org Subject: Patch 6.1.275 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.275 Problem: When using "v" in a startup script, get warning message that terminal cannot highlight. (Charles Campbell) Solution: Only give the message after the terminal has been initialized. Files: src/normal.c *** ../vim61.274/src/normal.c Sun Oct 27 20:32:20 2002 --- src/normal.c Tue Dec 31 09:45:25 2002 *************** *** 2871,2879 **** { static int did_check = FALSE; ! if (!did_check && hl_attr(HLF_V) == 0) ! MSG(_("Warning: terminal cannot highlight")); ! did_check = TRUE; } /* --- 2871,2882 ---- { static int did_check = FALSE; ! if (full_screen) ! { ! if (!did_check && hl_attr(HLF_V) == 0) ! MSG(_("Warning: terminal cannot highlight")); ! did_check = TRUE; ! } } /* *** ../vim61.274/src/version.c Sun Jan 5 13:48:20 2003 --- src/version.c Sun Jan 5 14:13:35 2003 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 275, /**/ -- Not too long ago, a keyboard was something to make music with... /// 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 /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///