]>
Commit | Line | Data |
---|---|---|
6f27073b AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.031 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.031 | |
11 | Problem: When deleting a buffer the buffer-local mappings for Select mode | |
12 | remain. | |
13 | Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner) | |
14 | Files: src/vim.h | |
15 | ||
16 | ||
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 | |
19 | *************** | |
20 | *** 585,591 **** | |
21 | #define INSERT 0x10 /* Insert mode */ | |
22 | #define LANGMAP 0x20 /* Language mapping, can be combined with | |
23 | INSERT and CMDLINE */ | |
24 | - #define MAP_ALL_MODES 0x3f /* all mode bits used for mapping */ | |
25 | ||
26 | #define REPLACE_FLAG 0x40 /* Replace mode flag */ | |
27 | #define REPLACE (REPLACE_FLAG + INSERT) | |
28 | --- 585,590 ---- | |
29 | *************** | |
30 | *** 604,609 **** | |
31 | --- 603,611 ---- | |
32 | #define SHOWMATCH (0x700 + INSERT) /* show matching paren */ | |
33 | #define CONFIRM 0x800 /* ":confirm" prompt */ | |
34 | #define SELECTMODE 0x1000 /* Select mode, only for mappings */ | |
35 | + | |
36 | + #define MAP_ALL_MODES (0x3f | SELECTMODE) /* all mode bits used for | |
37 | + * mapping */ | |
38 | ||
39 | /* directions */ | |
40 | #define FORWARD 1 | |
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 | |
43 | *************** | |
44 | *** 668,669 **** | |
45 | --- 668,671 ---- | |
46 | { /* Add new patch number below this line */ | |
47 | + /**/ | |
48 | + 31, | |
49 | /**/ | |
50 | ||
51 | -- | |
52 | Why don't cannibals eat clowns? | |
53 | Because they taste funny. | |
54 | ||
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 /// |