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