Loading ...
Sorry, an error occurred while loading the content.

15464Re: stl function crashes vim

Expand Messages
  • Bram Moolenaar
    Oct 1, 2000
    • 0 Attachment
      Johannes Zellner wrote:

      > I've
      >
      > fun! KeyPressedHandler()
      > if strpart(getline('.'), 0, col('.')) =~ '^\s*$'
      > if '' != mapcheck('<tab>', 'i')
      > iunmap <tab>
      > endif
      > elseif '' == mapcheck('<tab>', 'i')
      > imap <tab> <c-p>
      > endif
      > return ''
      > endfun
      > set statusline=%{KeyPressedHandler()}%<[%n]%f%y%r%1*%m%*%w%=%(C\ %c%V%)%4(%)%-10(L\ %l(%L)%)%4(%)%p%%
      >
      > this crashes from time to time vim if I enter insert mode with 'i'.
      > Unfortunately I cannot reproduce it with a debugging version, even
      > if linked against efence :-(
      >
      > Maybe someone can reproduce it ? (vim-6.0h)

      A quick test didn't make it crash for me. Any special conditions (one or two
      windows, option settings...)?

      --
      hundred-and-one symptoms of being an internet addict:
      111. You and your friends get together regularly on IRC, even though
      all of you live in the same city.

      /// Bram Moolenaar Bram@... http://www.moolenaar.net \\\
      \\\ Vim: http://www.vim.org ICCF Holland: http://iccf-holland.org ///
    • Show all 5 messages in this topic