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

Mathias Brodala info at noctus.net
Thu May 1 21:28:12 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

James Vega, 25.04.2008 17:29:
> On Fri, Apr 25, 2008 at 04:53:55PM +0200, Mathias Brodala wrote:
>> Also :echo &tw gives me 0 as response. What gives?
> 
> I just tested it on my system with the following setup:
> 
>  $ cat tmp.vim
>  source /etc/vim/vimrc
>  filetype plugin indent on
>  $ touch reportbug.foo
>  $ vim -u tmp.vim -N reportbug.foo
>  :echo &tw
> 
> 'textwidth' is properly set to 72,

It’s indeed 0 here.

> so it looks like something else is changing
> your 'textwidth' setting or you do not have filetype plugins enabled.  Make
> sure ":filetype" reports at least "filetype detection:ON plugin:ON".

I always make sure this is set on systems I work at. So yes, this is the
case here.

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

> Hope this helps narrow down the issue.

Unfortunately I haven’t gotten that much farther, but thanks anyways.


Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIGjXsYfUFJ3ewsJgRAuTgAJ93KqTQZffl4zWMNP+0hsrb7f1pNACgjOZe
uj0tcDnwIcPmkD8iYt8gIj8=
=eaPy
-----END PGP SIGNATURE-----





More information about the pkg-vim-maintainers mailing list