Bug#388488: vim-gnome: gvim complains on startup processing /usr/share/vim/vim70/menu.vim

James Vega jamessan at debian.org
Wed Sep 20 18:50:21 UTC 2006


On Wed, Sep 20, 2006 at 07:31:55PM +0200, Antonio-Miguel Corbi Bellot wrote:
>         *** Please type your report below this line ***
>         When starting gvim (either from vim-gnome or from vim-gtk) I get
>         this
>         error:
>         Error detected while processing /usr/share/vim/vim70/menu.vim:
>         line  150:
>         E121: Undefined variable: paste#paste_cmd
>         E15: Invalid expression: 'vnoremenu <script>
>         &Edit.&Paste<Tab>"+gP^I' .
>         paste#paste_cmd['v']
>         
>         Gvim starts but theres no toolbar, only the menu bar. If I load
>         a C/C++
>         source file and try to syntax-highlight selecting 'automatic'
>         from the
>         'Syntax' menu, I get:
>         Error detected while
>         processing /usr/share/vim/vim70/syntax/syntax.vim:
>         line   42:
>         E216: No such group or event: filetypedetect BufRead

This sounds like a problem with upgrading the system-wide {g,}vimrc
files.  Most likely, when prompted on how to handle the new versions of
these files you told dpkg to keep your current version.  You can either
purge and reinstall vim-common & vim-gui-common or manually handle
updating your /etc/vim/{g,}vimrc files.  If you go for the latter, there
should be a vimrc.dpkg-dist or vimrc.dpkg-new file that is what would
have been installed.  You can compare and merge any changes you had in
your vimrc.

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/20060920/d8d90dd2/attachment.pgp


More information about the pkg-vim-maintainers mailing list