On Mon, Apr 1, 2013 at 11:16 PM, Lech Lorens <lech.lor...@gmail.com> wrote:
> The problem is that if Vim reads such a file with ff=unix, it will fail
> to find tags if the tag pattern searched should match on a DOS-style
> line. The attached patch handles the problem in a naïve but surprisingly
> effective way: if a pattern search fails, Vim will try putting "\r\*"
> before the last "$" in the pattern and will retry the search.

I'd rather have vim scream when it detects that a file is broken like
this so I can cure the file.

Isn't it better to fix the problem, rather than the symptom?

nazri

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to