To: vim_dev@googlegroups.com Subject: Patch 8.2.3002 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3002 Problem: Vim doesn't abort on a fatal Tcl error. Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383) Files: src/if_tcl.c *** ../vim-8.2.3001/src/if_tcl.c 2020-12-31 18:11:13.470120184 +0100 --- src/if_tcl.c 2021-06-15 19:07:37.566814597 +0200 *************** *** 1531,1537 **** reflist = reflist->next; } // This should never happen. Famous last word? ! emsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org")); Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC); return TCL_ERROR; } --- 1531,1537 ---- reflist = reflist->next; } // This should never happen. Famous last word? ! iemsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org")); Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC); return TCL_ERROR; } *** ../vim-8.2.3001/src/version.c 2021-06-15 11:27:17.713718186 +0200 --- src/version.c 2021-06-15 19:08:40.874646931 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 3002, /**/ -- I recommend ordering large cargo containers of paper towels to make up whatever budget underruns you have. Paper products are always useful and they have the advantage of being completely flushable if you need to make room in the storage area later. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///