Gary Johnson wrote:

> On 2013-08-02, Bram Moolenaar wrote:
> > Patch 7.4b.006 (after 7.3.1295)
> > Problem:    Using \{n,m} in an autocommand pattern no longer works.
> >         Specifically, mutt temp files are not recognized. (Gary Johnson)
> > Solution:   Make \\\{n,m\} work.
> > Files:          runtime/doc/autocmd.txt, src/fileio.c
> 
> Thank you, but I just updated to 7.4b.8 and still see the problem
> with the example file muttV1LGjR.  Do I need to change the pattern
> in filetype.vim as well?

Yes, I'll send out runtime file updates later.  The line for mutt is:

" Mail (for Elm, trn, mutt, muttng, rn, slrn)
au BufNewFile,BufRead 
snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt{ng,}-*-\w\+,mutt[[:alnum:]_-]\\\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml
 setf mail


Using \\\{6\} is a bit weird, I could not find another way without
causing more incompatibilities.

-- 
Despite the cost of living, have you noticed how it remains so popular?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui