Re: Vim chokes on mail.vim ftplugin function
- Hi Jorge!
On Sa, 09 Mär 2013, Jorge Luis Gonzalez wrote:
> I'm using Vim 7.3 from ports on FreeBSD. When mutt loads the editor it
> throws the following error:
> Error detected while processing
> line 54:
> Here's the function from the stock mail.vim ftplugin:
> function! Mail_Del_Empty_Quoted()
> exe "normal :%s/^>[[:space:]\%\|\#>]\\+$//e\<CR>"
That looks strange. First, there really is no need for an exe call here,
second, when using exe "..." backslashes within quoted strings need to
be escaped. Third, the normal is superflous and fourth, the \<CR>
shouldn't really be there.
> call Mail_Del_Empty_Quoted()
This is not in the official distributed runtime scripts that come
bundled with vim. Get in contact with the maintainer of that file. It
should be mentioned at the first couple of lines of
And possibly also file a bug report at FreeBSD.
Wie man sein Kind nicht nennen sollte:
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.