On 18 August 2016, Luc Hermitte <hermi...@free.fr> wrote:
> Another point on the qflist topic is bugging me. IIRC, when an error
> is detected, the type flag is set to 'E'. But how is error detection
> done? Is it when the message 'error:' is detected? What about when the
> locale is in another language like 'fr_FR'? In this case, the error
> messages start with "erreur: ", warnings with "attention: ". I guess
> similar issues may happen in all other languages.
>
> Has anybody an idea how to solve error/warning detection when the
> system is not in English?  (My ultimate objective is to fill the error
> and message counters displayed by the airline plugin in the qf window
> status line)

    Set LC_MESSAGES to C before running your program:

        https://goo.gl/tMPUdV

    Less than ideal, but it makes parsing possible.

    /lcd

-- 
-- 
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