To: vim-dev@vim.org Subject: Patch 5.6.019 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.019 Problem: "snd.c", "snd.java", etc. were recognized as "mail" filetype. Solution: Make pattern for mail filetype more strict. Files: runtime/filetype.vim *** ../vim-5.6.18/runtime/filetype.vim Wed Jan 12 22:16:44 2000 --- runtime/filetype.vim Sat Mar 25 12:14:16 2000 *************** *** 285,291 **** au BufNewFile,BufRead *.m4 if expand("") !~? "html.m4$" | set ft=m4 | endif " Mail (for Elm, trn and rn) ! au BufNewFile,BufRead snd.*,.letter,.letter.[0-9]\+,.followup,.article,.article.[0-9]\+,pico.[0-9]\+,mutt*[0-9],ae[0-9]\+.txt set ft=mail " Makefile au BufNewFile,BufRead [mM]akefile*,GNUmakefile,*.mk,*.mak,*.dsp set ft=make --- 291,297 ---- au BufNewFile,BufRead *.m4 if expand("") !~? "html.m4$" | set ft=m4 | endif " Mail (for Elm, trn and rn) ! au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt-*-\d\+,ae\d\+.txt set ft=mail " Makefile au BufNewFile,BufRead [mM]akefile*,GNUmakefile,*.mk,*.mak,*.dsp set ft=make *** ../vim-5.6.18/src/version.c Sat Mar 25 14:34:46 2000 --- src/version.c Sat Mar 25 14:38:40 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 19, /**/ -- Linux is just like a wigwam: no Windows, no Gates and an Apache inside. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/