Tuesday, May 14, 2013

Re: empty bufname('%') for quick fix, location list and preview window.

Hi Zhao!

On So, 12 Mai 2013, Zhao Cai wrote:

> Hello, :)
>
> `bufname('%')` for quickfix, location list and preview window are empty in my environment( MacVim ). Is it a bug? or by design? Do you have the same issue? or just me?

Of course. The quickfix, location list and preview windows don't have
names, unless you give them one (:h :file_f). But you usually don't need
that.

The main question is, why do you think you need the buffer name of a
special window? So what problem are you really trying to solve?

regards,
Christian
--
Jede Generation lacht über Moden, aber folgt den neuen treu.
-- Henry David Thoreau

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: