≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1980

Bug #1980: Occasional Vim::DeletedBufferError

Kind bug
Product Command-T
When Created 2012-05-25T13:33:24Z, updated 2012-09-21T08:58:20Z
Status open
Reporter anonymous
Tags no tags

Description

I'm not sure yet what causes this, but occasionally I'll try to execute :CommandT and get this error:

Error detected while processing function <SNR>44_CommandTShowFileFinder:
line    2:
Vim::DeletedBufferError: <snip>/command-t/ruby/command-t/match_window.rb:64:in `number': attempt to refer to deleted buffer

This is in Vim 7.3 with CommandT from Git rev ca5566eb312f.

Interestingly I can't seem to fix the problem except by restarting Vim, and if I save a session after the error has begun (not always apparent to me) then reopen the session, I still get the error -- so must recreate the session.

Comments

  1. Greg Hurrell 2012-05-28T01:03:29Z

    Haven't ever seen that one myself, but it looks like it's happening around the code which is trying to re-use a previously used buffer.

    Can you tell me a bit more about what you're doing to save and restore sessions?

  2. anonymous 2012-09-21T08:58:20Z

    I have a bit more information on this.

    I get this error after wiping out buffers that I've been using, then attempting to use command-t. It works perfectly until wiping out existing buffers.

    As the reporter said, restarting Vim is the only thing that fixes it.

    Hope that helps!

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets