RE: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-03 Thread John Player
> From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 03, 2006 4:19 AM > On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > > You may be right -- I don't use the swapfile so I don't see > > the difference. That still means that the help is incorrect. > > Without connection to th

Re: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-03 Thread Yakov Lerner
On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > I did , too. File is in disk cache in both cases. In 1st case, > file opens imemdiately. In 2nd case, it takes time. I suspect > that for unlisted+hidden files, vim keeps swapfile open which is > what helps him open file immediately without usin

RE: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-02 Thread John Player
> -Original Message- > From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 02, 2006 3:03 PM > > On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > > > > So I guess the help for 'vimgrep' is wrong and the > buffers are not > > > > kept loaded -- vim just remembers there fil

Re: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-02 Thread Yakov Lerner
On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > > So I guess the help for 'vimgrep' is wrong and the buffers are not > > kept loaded -- vim just remembers there file names. > > I made small experiment that shows that help for 'hide vimgrep' > is correct. > > I created 60MB size file x so that

RE: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-02 Thread John Player
Hi Yakov, Thank you for taking your time to verify this issue. See below. > -Original Message- > From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 02, 2006 1:41 PM [snip] > > So I guess the help for 'vimgrep' is wrong and the buffers are not > > kept loaded -- vim just

Re: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-02 Thread Yakov Lerner
On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 02, 2006 9:46 AM > > On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > > "To be able to do this Vim loads each file as if it is > being edited. Whe

RE: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-02 Thread John Player
> -Original Message- > From: Yakov Lerner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 02, 2006 9:46 AM > > On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: > > "To be able to do this Vim loads each file as if it is > being edited. When > > there is no match in the file the associate

Re: vimgrep with ':hide' command modifier does not keep buffers loaded?

2006-05-02 Thread Yakov Lerner
On 5/2/06, John Player <[EMAIL PROTECTED]> wrote: "To be able to do this Vim loads each file as if it is being edited. When there is no match in the file the associated buffer is wiped out again. The 'hidden' option is ignored here to avoid running out of memory or file descriptors when searchi