|
Karsten Hopp |
f0a823 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
f0a823 |
Subject: Patch 7.0.031
|
|
Karsten Hopp |
f0a823 |
Fcc: outbox
|
|
Karsten Hopp |
f0a823 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f0a823 |
Mime-Version: 1.0
|
|
Karsten Hopp |
f0a823 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
f0a823 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f0a823 |
------------
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
Patch 7.0.031
|
|
Karsten Hopp |
f0a823 |
Problem: When deleting a buffer the buffer-local mappings for Select mode
|
|
Karsten Hopp |
f0a823 |
remain.
|
|
Karsten Hopp |
f0a823 |
Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner)
|
|
Karsten Hopp |
f0a823 |
Files: src/vim.h
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
*** ../vim-7.0.030/src/vim.h Thu Jun 22 19:47:11 2006
|
|
Karsten Hopp |
f0a823 |
--- src/vim.h Fri Jun 23 16:29:03 2006
|
|
Karsten Hopp |
f0a823 |
***************
|
|
Karsten Hopp |
f0a823 |
*** 585,591 ****
|
|
Karsten Hopp |
f0a823 |
#define INSERT 0x10 /* Insert mode */
|
|
Karsten Hopp |
f0a823 |
#define LANGMAP 0x20 /* Language mapping, can be combined with
|
|
Karsten Hopp |
f0a823 |
INSERT and CMDLINE */
|
|
Karsten Hopp |
f0a823 |
- #define MAP_ALL_MODES 0x3f /* all mode bits used for mapping */
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
#define REPLACE_FLAG 0x40 /* Replace mode flag */
|
|
Karsten Hopp |
f0a823 |
#define REPLACE (REPLACE_FLAG + INSERT)
|
|
Karsten Hopp |
f0a823 |
--- 585,590 ----
|
|
Karsten Hopp |
f0a823 |
***************
|
|
Karsten Hopp |
f0a823 |
*** 604,609 ****
|
|
Karsten Hopp |
f0a823 |
--- 603,611 ----
|
|
Karsten Hopp |
f0a823 |
#define SHOWMATCH (0x700 + INSERT) /* show matching paren */
|
|
Karsten Hopp |
f0a823 |
#define CONFIRM 0x800 /* ":confirm" prompt */
|
|
Karsten Hopp |
f0a823 |
#define SELECTMODE 0x1000 /* Select mode, only for mappings */
|
|
Karsten Hopp |
f0a823 |
+
|
|
Karsten Hopp |
f0a823 |
+ #define MAP_ALL_MODES (0x3f | SELECTMODE) /* all mode bits used for
|
|
Karsten Hopp |
f0a823 |
+ * mapping */
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
/* directions */
|
|
Karsten Hopp |
f0a823 |
#define FORWARD 1
|
|
Karsten Hopp |
f0a823 |
*** ../vim-7.0.030/src/version.c Thu Jun 22 21:15:46 2006
|
|
Karsten Hopp |
f0a823 |
--- src/version.c Fri Jun 23 16:33:25 2006
|
|
Karsten Hopp |
f0a823 |
***************
|
|
Karsten Hopp |
f0a823 |
*** 668,669 ****
|
|
Karsten Hopp |
f0a823 |
--- 668,671 ----
|
|
Karsten Hopp |
f0a823 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f0a823 |
+ /**/
|
|
Karsten Hopp |
f0a823 |
+ 31,
|
|
Karsten Hopp |
f0a823 |
/**/
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
--
|
|
Karsten Hopp |
f0a823 |
Why don't cannibals eat clowns?
|
|
Karsten Hopp |
f0a823 |
Because they taste funny.
|
|
Karsten Hopp |
f0a823 |
|
|
Karsten Hopp |
f0a823 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f0a823 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f0a823 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
f0a823 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|