Tim,

Thanks for reply.

On 3 Gru, 19:00, Tim Chase <[email protected]> wrote:
> It would also help to know the output of:
>
>    :set ft? foldmethod? foldlevel?
>
> to see if they're affecting anything.
>

Yeah, you're right, I should be more specific.
I run ubuntu Karmic. I removed .vimrc and .vim/ from my $HOME,  to be
sure it's not my crazy settings :-)
vim --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 21 2009 11:19:54)
vi /usr/lib/python2.6/logging/config.py
:set ft
  filetype=python
:set foldmethod
  foldmethod=indent
:set foldlevel
  foldlevel=0
Now I'm going to last function defined in that file:
370
371 def stopListening():
372 +--  9 lines:
"""---------------------------------------------------------------------------------------------
~
Put cursor on line 372, and pres zO:
370
371 def stopListening():
372     """
373     Stop the listening server which was created with a call to
listen().
374     """
375     global _listener
376     if _listener:
377 +---  4 lines: logging._acquireLock
()-------------------------------------------------------------------------
~

As you see, on line 377 there is folded IF.

So in my opinion zO didn't open function fild in recursive way.
I hope I made myself clear now :-)

Cheers


-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to