Gentoo Archives: gentoo-dev

From: Jim Ramsay <lack@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Default blank lines for error, elog, einfo, etc
Date: Mon, 16 Jun 2008 12:34:21
Message-Id: 20080616083401.1703135a@altair.jimramsay.com
In Reply to: Re: [gentoo-dev] Re: Default blank lines for error, elog, einfo, etc by Joe Peterson
1 Joe Peterson <lavajoe@g.o> wrote:
2 > As for why it would be more useful than eerror/ewarn without an
3 > argument: it would potentially allow for intelligent "context-based"
4 > coloring of the "*" (based on surrounding lines).
5
6 Well, this is true and it isn't... In the case of:
7
8 ewarn line one
9 eblank
10 ewarn line two
11
12 Obviously it would be the same as ewarn. However, what about here:
13
14 ewarn line one
15 eblank
16 elog line two
17 eblank
18 einfo line three
19
20 I'm not sure how you could make a function like that smart enough to
21 really know what to do... so perhaps since the author is the only one
22 who can really know what colour they intend, they should just use the
23 appropriate ewarn/elog/einfo without args.
24
25 --
26 Jim Ramsay
27 Gentoo/Linux Developer (rox,gkrellm)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: Default blank lines for error, elog, einfo, etc Duncan <1i5t5.duncan@×××.net>