Monday, April 14, 2014

Re: Many problems, how to debug on startup

* Gary Johnson <garyjohn@spocom.com> [140414 11:34]:
> On 2014-04-14, Tim Johnson wrote:
> > I have transitioned my vim resources from OS X 10.7 to ubuntu 12.04
> >
> > I've got a real mess and rather than go into the gory details, I
> > need two sets of advice to begin with
> >
> > 1) When I start gvim, I get an error message that says "No Mapping
> > Found" - most mapping does appear to work, so I need to step through
> > gvim startup process.
> > -- if I do `gvim -V20', I can see the startup steps, but I need to
> > capture those messages in a file 'gvim -V20 > debug.txt' doesn't
> > give me any results. Which syntax should I use?
>
> The syntax is
>
> gvim -V20debug.txt
>
> The name of the debug output file _immediately_ follows the debug
> level. Take another look at
>
> :help -V
>
> and I think you'll see this.
>
> > 2)Once I have gvim started, I'm getting erratic results when I
> > restore a session. Some sessions are fine, others have the syntax
> > highlight turned off and I can't get it to resume, among other
> > issues...
> > -- similarly, I need a process to step through the session
> > restoration.
>
> You could single-step through the restoration process by prefixing
> the restore command with ":debug" (see ":help :debug"), but that
> could be really tedious.
>
> I don't often save and restore sessions, so I probably can't offer
> much useful guidance with that.
>
> HTH,
Big help, Gary, thanks.

BTW: Fixed syntax clobbering when restoring sessions, runtimepath
was hard coded in the session file and pointed to the macVim
version, which _is_ '71'.

I'm making progress thanks to you folks.


> --
> --
> You received this message from the "vim_use" 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_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: