Saturday, June 23, 2012

Re: Can vim be made to start with selected files already open?

On 2012-06-23, Eric Weir wrote:
> On Jun 22, 2012, at 12:38 PM, Gary Johnson wrote:

> I am using MacVim. The messages to which I refer are messages I
> get when I attempt to run the custom command. I'm not sure how to
> interpret them, except that almost all of them have to do with the
> taskpaper plugin and just one of the three taskpaper documents
> that are in my custom command. In case it matters, the first line
> actually had 141 occurrences. I deleted all but one in the
> interest of brevity. Here they are:
>
> "~/documents/taskpaper/writing.taskpaper" 31L, 1151C
> Error detected while processing /Users/ericweir/.vim/vim-addons/taskpaper/syntax/taskpaper.vim:
> line 31:
> E169: Command too recursive

[...]

The error message information was great but doesn't help much
without also knowing what those lines contain.

You wrote earlier:

On 2012-06-22, Eric Weir wrote:
> On Jun 22, 2012, at 10:52 AM, Gary Johnson wrote:
>
> > This command should work:
> >
> > command All :args ~/documents/taskpaper/writing.taskpaper
~/documents/taskpaper/work.taskpaper ~/documents/taskpaper/mine.taskpaper
~/vimwiki/index.wiki <bar> tab all
>
> Got error messages with this, too. Tried to copy them for pasting
> here but was not able to do so. [Is there a way to select and/or
> copy the error messages that are displayed when a problematic
> command is executed?]

My guess is that you capitalized the second occurrence of the word
"all", like this:

... <bar> tab All

You did that once before and it would explain the recursive error.

The second "all" is a Vim command. See ":help :all".

Please reply with at least the first few of the lines on which
errors were reported, such as lines 31-36 of
/Users/ericweir/.vim/vim-addons/taskpaper/syntax/taskpaper.vim.

Regards,
Gary

--
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

No comments: