Hirohito Higashi wrote:

> Hi Peter and Bram,
> 
> 2014/9/27(Sat) 5:00:01 UTC+9 Peter Mattern:
> > As of 7.4.459 the script files as created by mksession or mkview contain 
> > 
> > an invalid line
> > 
> >            setlocal backupcopy=
> > 
> > which causes an E474 error when sourced.
> > 
> > 
> > 
> > Once a correct value such as auto was set manually, it doesn't get 
> > 
> > overwritten by running e, g, ':mksession!'.
> > 
> > 
> > 
> > Seen on Arch Linux (x86_64) using the distro's packages. Looking at the 
> > 
> > build system I couldn't find any possible culprit specific to the distro.
> > 
> > Problem couldn't be seen with 7.4.410, all configuration files remained 
> > 
> > unchanged during the update.
> > 
> > 
> > 
> > So doesn't this look like a bug or am I missing something?
> 
> I wrote a patch.
> It may fix a this problem.

Besides not checking for the flags to be set I think it's also a good
idea to explicitly set the local flags to zero.

-- 
Some of the well known MS-Windows errors:
        EMULTI          Multitasking attempted, system confused
        EKEYBOARD       Keyboard locked, try getting out of this one!
        EXPLAIN         Unexplained error, please tell us what happened
        EFUTURE         Reserved for our future mistakes

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui