To: vim-dev@vim.org Subject: Patch 6.1.471 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.471 Problem: ":jumps" output continues after pressing "q" at the more-prompt. (Hari Krishna Dara) Solution: Check for "got_int" being set. Files: src/mark.c *** ../vim61.470/src/mark.c Sat Mar 15 17:55:18 2003 --- src/mark.c Thu Apr 17 22:41:43 2003 *************** *** 705,711 **** cleanup_jumplist(); /* Highlight title */ MSG_PUTS_TITLE(_("\n jump line col file/text")); ! for (i = 0; i < curwin->w_jumplistlen; ++i) { if (curwin->w_jumplist[i].fmark.mark.lnum != 0) { --- 705,711 ---- cleanup_jumplist(); /* Highlight title */ MSG_PUTS_TITLE(_("\n jump line col file/text")); ! for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i) { if (curwin->w_jumplist[i].fmark.mark.lnum != 0) { *************** *** 716,721 **** --- 716,723 ---- continue; msg_putchar('\n'); + if (got_int) + break; sprintf((char *)IObuff, "%c %2d %5ld %4d ", i == curwin->w_jumplistidx ? '>' : ' ', i > curwin->w_jumplistidx ? i - curwin->w_jumplistidx *************** *** 727,732 **** --- 729,735 ---- curwin->w_jumplist[i].fmark.fnum == curbuf->b_fnum ? hl_attr(HLF_D) : 0); vim_free(name); + ui_breakcheck(); } out_flush(); } *** ../vim61.470/src/version.c Fri Apr 18 11:46:14 2003 --- src/version.c Fri Apr 18 12:31:40 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 471, /**/ -- hundred-and-one symptoms of being an internet addict: 14. You start introducing yourself as "Jim at I-I-Net dot net dot au" /// 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 ///