Kent Sibilev wrote:

> On Saturday, August 6, 2016 at 1:02:18 PM UTC-4, Bram Moolenaar wrote:
> > 
> > The problem with this solution is that the names are translated.
> > A more direct solution would be better.
> > 
> > The 'buftype' option is "quickfix" for both quickfix and location list.
> > We can't change that without causing problems.
> > 
> > Perhaps we should add a buftype({expr}) function, that can get the
> > buffer type of any buffer, and make a difference between "quickfix" and
> > "loclist".
> 
> I see. Even though it's quite awkward to add a new function just to
> accommodate this particular case, i'm attaching my attempt to
> implement it.

Yes, it is unexpected to have this function.  But I can see it's useful.
Would there be a better solution somehow?
Perhaps using one of the existing quickfix functions?


-- 
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui