On 2006-07-22, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> On 7/22/06, Ilya <[EMAIL PROTECTED]> wrote:
> > Nikolai Weibull wrote:
> 
> > > So the addition of %-G%.%# to exclude anything but the defined formats
> > > from the listing saves us the trouble of seeing useless compiler
> > > command-lines in the list of changes.
> 
> > If this is really such a drastic change, then maybe you could make it
> > optional? So that one who likes (or dislikes) pressing enter could add
> > let g:compiler_gcc_show_success_lines = 1 (or let
> > g:compiler_gcc_hide_success_lines = 1) to his or her .vimrc to have
> > desired behavior.
> 
> Yes, that's certainly a way of doing it.  Anyone have any more input?
> I guess to stay with how things have worked we should use
> g:compiler_gcc_hide_success_lines.
> 
> Also, am I the only one annoyed by having to deal with the extra lines
> after a successful compile?

No, they annoy me too.  I have had

    %-G%.%#

as the last component of my gcc errorformat for as long as I can 
remember and have never had any problems with it.

I suppose for backwards compatibility you should use 
g:compiler_gcc_hide_success_lines.  On the other hand, it seems 
unlikely that a script or a user would depend on the presence of 
those extra lines, and the new or inexperienced user who would be 
most likely to be confused by those extra lines is also the user 
least likely to find the g:compiler_gcc_hide_success_lines option.  
So if you wanted to keep it simple, I think it would be OK to just 
add that term unconditionally.

Regards,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to