]>
Commit | Line | Data |
---|---|---|
b38f03ee AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.088 | |
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 6.3.088 | |
11 | Problem: Editing ".in" causes error E218. (Stefan Karlsson) | |
12 | Solution: Require some characters before ".in". Same for ".orig" and others. | |
13 | Files: runtime/filetype.vim | |
14 | ||
15 | ||
16 | *** ../vim-6.3.087/runtime/filetype.vim Sun Sep 25 15:07:27 2005 | |
17 | --- runtime/filetype.vim Sun Sep 25 15:06:27 2005 | |
18 | *************** | |
19 | *** 16,22 **** | |
20 | augroup filetypedetect | |
21 | ||
22 | " Ignored extensions | |
23 | ! au BufNewFile,BufRead *.orig,*.bak,*.old,*.new,*.rpmsave,*.rpmnew | |
24 | \ exe "doau filetypedetect BufRead " . expand("<afile>:r") | |
25 | au BufNewFile,BufRead *~ | |
26 | \ let s:name = expand("<afile>") | | |
27 | --- 16,22 ---- | |
28 | augroup filetypedetect | |
29 | ||
30 | " Ignored extensions | |
31 | ! au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.rpmsave,?\+.rpmnew | |
32 | \ exe "doau filetypedetect BufRead " . expand("<afile>:r") | |
33 | au BufNewFile,BufRead *~ | |
34 | \ let s:name = expand("<afile>") | | |
35 | *************** | |
36 | *** 26,32 **** | |
37 | \ endif | | |
38 | \ unlet s:name | | |
39 | \ unlet s:short | |
40 | ! au BufNewFile,BufRead *.in | |
41 | \ if expand("<afile>:t") != "configure.in" | | |
42 | \ exe "doau filetypedetect BufRead " . expand("<afile>:r") | | |
43 | \ endif | |
44 | --- 26,32 ---- | |
45 | \ endif | | |
46 | \ unlet s:name | | |
47 | \ unlet s:short | |
48 | ! au BufNewFile,BufRead ?\+.in | |
49 | \ if expand("<afile>:t") != "configure.in" | | |
50 | \ exe "doau filetypedetect BufRead " . expand("<afile>:r") | | |
51 | \ endif | |
52 | *** ../vim-6.3.087/src/version.c Sun Sep 25 15:07:52 2005 | |
53 | --- src/version.c Sun Sep 25 13:17:51 2005 | |
54 | *************** | |
55 | *** 643,644 **** | |
56 | --- 643,646 ---- | |
57 | { /* Add new patch number below this line */ | |
58 | + /**/ | |
59 | + 88, | |
60 | /**/ | |
61 | ||
62 | -- | |
63 | CRONE: Who sent you? | |
64 | ARTHUR: The Knights Who Say Ni! | |
65 | CRONE: Aaaagh! (she looks around in rear) No! We have no shrubberies here. | |
66 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
67 | ||
68 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
69 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
70 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
71 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |