Ben Fritz wrote: > On Friday, July 14, 2017 at 12:09:42 PM UTC-5, Bram Moolenaar wrote: > > Daniel Hahler wrote: > > > > > > > > > Horsefly I can use another auto command then. > > > > > > > > It might work to use the QuickFixCmdPost event and check if &filetype == > > > > 'qf' > > > > Not if you're trying to respond to a ":copen" command. > > I have autocmds using window-related commands in a "au Filetype qf" to: > > 1. detect if it's a location list or a quickfix list (by using :copen and > checking if the window changed) > 2. resize the quickfix window based on the number of entries > > These are currently failing because of this change and I don't think there is > a good way to accomplish these things anymore.
The resizing should work since 8.0.0688. If you have remaining problems, please give a reproducible example. -- hundred-and-one symptoms of being an internet addict: 156. You forget your friend's name but not her e-mail address. /// Bram Moolenaar -- [email protected] -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
