Since sessions don't quite restore everything, I was trying to first get my
environment working, save a session, fiddle around, and restore the session to
have a standard test start condition, without having stuff cleared that I
didn't want cleared.

I think the answer to my question is to make a manual or custom pass over the
session command output script, and remove the stuff that's causing the
problems.

--- Benji Fisher <[EMAIL PROTECTED]> wrote:

> On Mon, Apr 10, 2006 at 05:35:51PM -0700, Eric Arnold wrote:
> > 
> > When I load a session, it's almost as if I had never sourced the
> > .vimrc.  I can see how it might want reset some stuff in order to get
> > a clean slate, but if so why isn't at least restarting with my default
> > environment, i.e. .vimrc and .gvimrc?  And I'm not sure yet, but I
> > think that it's clearing some other stuff that it isn't saving.
> > 
> > My highlighting reverts, and some mappings and vars aren't set, and
> > some of my app.s start barfing.  Is this all normal somehow?  It's the
> > same for Vim6 and 7. I'm wondering if it clears stuff/vars that are
> > auto loaded from the plugin directory, etc.
> > 
> > Having to re-source .vimrc isn't that bad, but having mysterious
> > complaints from apps makes me shy away from the session commands.
> 
>      Please describe what you do in a way that someone else can try to
> reproduce the problem.  Try to give an example where the vimrc file and
> session file are as simple as possible, perhaps by commenting out most
> of the file or by adding
> 
> :finish
> 
> to skip most of it.
> 
> HTH                                   --Benji Fisher
> 

Reply via email to