Bug#752314: Unknown Option: balloonexpr

Klaus Ethgen Klaus at Ethgen.de
Sat Jun 28 16:44:25 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

Am Sa den 28. Jun 2014 um 17:17 schrieb James McCoy:
> On Sun, Jun 22, 2014 at 02:34:06PM +0100, Klaus Ethgen wrote:
> > With the newest version I get often the error "E518: Unbekannte Option:
> > balloonexpr=" (Unknown option) when using views.
> > 
> > --- real paths of main Vim binaries ---
> > /usr/bin/vi is /usr/bin/vim.nox
> > /usr/bin/vim is /usr/bin/vim.nox
> > /usr/bin/gvim is /usr/bin/vim.gtk
> 
> That's because your vim alternative is pointing to vim.nox.  The balloon
> eval feature is only included in Vim builds that have GUI support.
> 
> When you load a view in vim.nox with 'balloonexpr' set (from a gvim
> run), it complains because that's not an option that's available in
> vim.nox.

I never changed this setting while upgrading vim:
   ~> ls -l /etc/alternatives/vim
   lrwxrwxrwx 1 root root 16 Oct 20  2013 /etc/alternatives/vim -> /usr/bin/vim.nox

and I never ever use gvim. So this really has changed in that version
and was working before.

> You can remove "options" from the 'viewoptions' option to avoid caching
> mappings/options in the view file.

That is no solution as it removes all local set options from the view
file.

Proper behaviour would be to ignore that setting if it is set to empty
value in view.

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBCgAGBQJTrvDnAAoJEKZ8CrGAGfasOQYL+wRt2dXc1Jb+JePHDhKUoCDL
m6qx0rN44Q/2BVzG9OrC27CG2SJiU1IS3EO+zHTHWhITN+1fXUjJsYQ5r4QjY90P
VzKh5LHnizeFdTZ4sTTM7nzZ2JG+nuRs2P1O8mD01ndcj1MSoj6e5NtDIrllhnT9
MFAIiLsCLPszmY0DqVdbMgtMl1UVTKZNqeCgWbHbqbYZlPRB0o5nQFn/Que0KRWl
PWXDvmjf4cUOZcNJmWSenEggjZkRp93xe9PQtoKwI5Zn/vlnLlAr/k8W9MdRau/3
vtAC4ESb1YtEFkKoPPCi8ojLcBMqEtNHMsDP7V/fYChXoz+NwlOUs/UhpKuEjXC1
NruwgnIjSGNQvLBvCq3bN9yqteERq46Hen7NATv1DxpZlyRGawhN3iU/ST57olZy
8ylUykkWHIVstifUmmdY7ctcU/6bH4/XIsh4Rj9N0K0+JaC+yixihwu/HPTbYwBU
k9SnHw/qH5rY0xu5M3J6rm3pnD6pg4flbyB8J9NCQg==
=NGTY
-----END PGP SIGNATURE-----



More information about the pkg-vim-maintainers mailing list