1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Editing a file in a window that's in diff mode resets 'diff'
12 but not cursor binding.
13 Solution: Reset cursor binding in two more places.
14 Files: src/quickfix.c, src/option.c
17 *** ../vim-7.3.070/src/quickfix.c 2010-11-24 16:31:55.000000000 +0100
18 --- src/quickfix.c 2010-12-02 15:02:00.000000000 +0100
22 set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
24 set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
25 + RESET_BINDING(curwin);
27 curwin->w_p_diff = FALSE;
29 *** ../vim-7.3.070/src/option.c 2010-10-13 14:05:29.000000000 +0200
30 --- src/option.c 2010-12-02 15:12:02.000000000 +0100
34 #ifdef FEAT_SCROLLBIND
35 to->wo_scb = from->wo_scb;
37 + #ifdef FEAT_CURSORBIND
38 + to->wo_crb = from->wo_crb;
41 to->wo_spell = from->wo_spell;
43 *** ../vim-7.3.070/src/version.c 2010-12-02 14:47:56.000000000 +0100
44 --- src/version.c 2010-12-02 15:31:12.000000000 +0100
48 { /* Add new patch number below this line */
54 A salesperson says: Translation:
55 "backward compatible" Old technology
57 "Can't keep it on the shelf" Unavailable
58 "Stands alone" Piece of shit
59 "Proprietary" Incompatible
60 (Scott Adams - The Dilbert principle)
62 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
63 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
64 \\\ an exciting new programming language -- http://www.Zimbu.org ///
65 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///