Eric Arnold wrote:
I just noticed that no-name buffers can be unlisted, loaded, modified,
etc. all at once. What's that about?
Here's a story for you: "", as a small baby, showed up at a hospital,
which will be go unnamed.
Eventually he ended up with this Evil Stepmother. ES didn't even give
"" a name. In fact, the ES
frequently gave poor "" lots of Evil Spirits, thereby loading him up.
The ES decided to give
poor "" a tattoo, too -- so poor "" got modified before he knew it. We
definitely don't want to go into the etc,
either -- we'll let it suffice that the ES was E! :)
Whew-- well, a no-name buffer is a buffer without a name. If its
loaded, then its on the buffer list.
Try
:enew
i one two three <esc>
:setlocal bh=hide nobuflisted
:enew
:ls!
and you'll see two no-name buffers on the buffer list, one of which has
been modified and isn't
listed with a simple :ls. You could edit it later in the same session,
of course.
Regards,
Chip Campbell