To: vim-dev@vim.org Subject: Patch 5.6.065 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.065 Problem: After moving the cursor around in Insert mode, typing a space can still trigger an abbreviation. (Benji Fisher) Solution: Don't check for an abbreviation after moving around in Insert mode. Files: src/edit.c *** ../vim-5.6.64/src/edit.c Mon Mar 27 21:52:25 2000 --- src/edit.c Thu Apr 13 10:27:36 2000 *************** *** 3986,3992 **** echeck_abbr(c) int c; { ! if (p_paste || no_abbr) /* no abbreviations or in paste mode */ return FALSE; return check_abbr(c, ml_get_curline(), curwin->w_cursor.col, --- 3986,3994 ---- echeck_abbr(c) int c; { ! /* Don't check for abbreviation in paste mode, when disabled and just ! * after moving around with cursor keys. */ ! if (p_paste || no_abbr || arrow_used) return FALSE; return check_abbr(c, ml_get_curline(), curwin->w_cursor.col, *** ../vim-5.6.64/src/version.c Wed Apr 12 20:42:06 2000 --- src/version.c Thu Apr 13 10:30:00 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 65, /**/ -- hundred-and-one symptoms of being an internet addict: 18. Your wife drapes a blond wig over your monitor to remind you of what she looks like. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/