On Mon, Jul 29, 2013 at 8:36 PM, Gary Johnson <[email protected]> wrote:

> I just noticed this today with 7.4b but the behavior is the same
> with 7.4a.9.  It works correctly with 7.3.882.
>
> The problem is that when I open a temporary file created by mutt
> with the name /tmp/muttV1LGjR, the latest versions of vim do not
> recognize this as a file name that should set 'filetype' to "mail".
>
> The experiment I performed was to copy that file to my home
> directory and execute
>
>     vim -N -u NONE --cmd 'syntax on' muttV1LGjR
>
> for the three versions of vim mentioned above.
>
> For version 7.3.882, the file is syntax highlighted and
> 'filtype' is "mail".  For the 7.4 versions, the file is not syntax
> highlighted and 'filetype' is emtpy.
>
> This should be detected by both of the following patterns in
> $VIMRUNTIME/filetype.vim:
>
>     mutt[[:alnum:]_-]\{6\}
>     mutt[[:alnum:]._-]\{6\}
>
> Both of those patterns successfully match "muttV1LGjR" when it
> appears as a string in a file and the pattern is used after a /
> command.
>
> That's as far as I've investigated this.
>

I did some snooping.  First, I can confirm the problem on OSX 10.8.4.
 Second, bisection has revealed that the commit that caused the issue is
7.3.1295.  7.3.1294 and earlier are OK.  As to what it is about 1295 that
did it, I have zero relevant expertise.

-Manny

-- 
-- 
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