Bug#477802: closed by James Vega <jamessan at debian.org> (Re: Bug#477802: vim-common: Set textwidth for reportbug mails)

James Vega jamessan at debian.org
Thu May 1 21:56:21 UTC 2008


On Thu, May 01, 2008 at 11:28:12PM +0200, Mathias Brodala wrote:
> James Vega, 25.04.2008 17:29:
> > Also
> > verify that /usr/share/vim/vim71/ftplugin/mail.vim shows up in the output of
> > ":scriptnames"
> 
> It shows up in that list.
> 
> > and you can see what last set 'textwidth' by running
> > ":verbose set tw?".
> 
> I only get "textwidth=0" here, which doesn’t seem that useful to me.

That doesn't make sense.  Prepending ":set tw?" with "verbose" causes Vim to
display which file last set that option which apparently is lacking when you
run the command.  When there's no file listed, that means that Vim is using
the default value.  Since ftplugin/mail.vim shows up in :scriptnames and 'tw'
is at its default value, it should have been changed to 72.

Do you have a ~/.vim/ftplugin/mail.vim which is doing "let b:did_ftplugin = 1"
(or some other value) and therefore preventing
/usr/share/vim/vim71/ftplugin/mail.vim from actually running?

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20080501/d35481e8/attachment.pgp 


More information about the pkg-vim-maintainers mailing list