> -----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 associated buffer is 
> wiped out again.  The
> > 'hidden' option is ignored here to avoid running out of 
> memory or file
> > descriptors when searching many files.  However, when the 
> |:hide| command
> > modifier is used the buffers are kept loaded.  This makes 
> following searches
> > in the same files a lot faster."
> >
> > Does it mean that the buffers should show up on the 'Buffers' menu?
> > Because they don't.
> 
> For me, after ':hide vimgrep' buffers do show up in :ls!.
> But those buffers are  marked hidden, and don't show
> up in :ls, only in :ls!
> 
> Does Buffers-Menu show hidden buffers ?

Yes it does.  But it does not show unlisted buffers and in this case
the buffers are hidden AND unlisted.  The help for unlisted-buffer says:

"The buffer is not in the buffer list.  It is not used for    
normal editing, but to show a help file, remember a file name
or marks."

So I guess the help for 'vimgrep' is wrong and the buffers are not
kept loaded -- vim just remembers there file names.

JP.

Reply via email to