Bug#752314: Unknown Option: balloonexpr

James McCoy jamessan at debian.org
Sat Jul 12 03:32:32 UTC 2014

Control: tag -1 upstream confirmed

On Sat, Jun 28, 2014 at 11:45:38PM +0100, Klaus Ethgen wrote:
> Am Sa den 28. Jun 2014 um 18:36 schrieb James McCoy:
> > > Proper behaviour would be to ignore that setting if it is set to empty
> > > value in view.
> > 
> > Why would that be proper behavior?
> Because vim can know that this option exists and is of no use for the
> present version.
> And that was the behaviour in earlier versions; just ignoring this empty
> value over there.
> > If the option is set to a non-empty value in your vimrc, plugin, etc.
> > but at the time the view was created the option was empty, then that's
> > relevant for restoring the view and therefore should be saved in the
> > view file.
> _If_ it is set. But it was never set in my setup and it is even set to
> an empty value in my views: "setlocal balloonexpr="

You're right.  I was misreading the code and have confirmed that Vim
will write all the options the running Vim build knows about, regardless
of whether it has been set, into the session file.  This obviously
causes problems when that session file is then re-used with a different
build of Vim.

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>

More information about the pkg-vim-maintainers mailing list