4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When deleting a buffer the buffer-local mappings for Select mode
13 Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner)
17 *** ../vim-7.0.030/src/vim.h Thu Jun 22 19:47:11 2006
18 --- src/vim.h Fri Jun 23 16:29:03 2006
21 #define INSERT 0x10 /* Insert mode */
22 #define LANGMAP 0x20 /* Language mapping, can be combined with
24 - #define MAP_ALL_MODES 0x3f /* all mode bits used for mapping */
26 #define REPLACE_FLAG 0x40 /* Replace mode flag */
27 #define REPLACE (REPLACE_FLAG + INSERT)
32 #define SHOWMATCH (0x700 + INSERT) /* show matching paren */
33 #define CONFIRM 0x800 /* ":confirm" prompt */
34 #define SELECTMODE 0x1000 /* Select mode, only for mappings */
36 + #define MAP_ALL_MODES (0x3f | SELECTMODE) /* all mode bits used for
41 *** ../vim-7.0.030/src/version.c Thu Jun 22 21:15:46 2006
42 --- src/version.c Fri Jun 23 16:33:25 2006
46 { /* Add new patch number below this line */
52 Why don't cannibals eat clowns?
53 Because they taste funny.
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///