4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: The quickfix window may get wrong filetype.
12 Solution: Do not detect the filetype for the quickfix window. (Lech Lorens)
16 *** ../vim-7.2.161/src/quickfix.c Sun Feb 22 02:36:36 2009
17 --- src/quickfix.c Wed Apr 22 17:34:57 2009
20 set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
22 set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
23 ! set_option_value((char_u *)"diff", 0L, NULL, OPT_LOCAL);
26 /* Only set the height when still in the same tab page and there is no
28 set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
30 set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
32 ! curwin->w_p_diff = FALSE;
35 ! set_option_value((char_u *)"fdm", 0L, (char_u *)"manual",
40 /* Only set the height when still in the same tab page and there is no
44 curbuf->b_p_ma = FALSE;
47 + keep_filetype = TRUE; /* don't detect 'filetype' */
48 apply_autocmds(EVENT_BUFREADPOST, (char_u *)"quickfix", NULL,
50 apply_autocmds(EVENT_BUFWINENTER, (char_u *)"quickfix", NULL,
52 + keep_filetype = FALSE;
55 /* make sure it will be redrawn */
56 *** ../vim-7.2.161/src/version.c Wed Apr 29 11:00:09 2009
57 --- src/version.c Wed Apr 29 11:49:09 2009
61 { /* Add new patch number below this line */
68 Tomorrow is a mystery.
70 That's why it is called 'present'.
72 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
73 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
74 \\\ download, build and distribute -- http://www.A-A-P.org ///
75 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///