1 |
On Thu, 16 Mar 2017 09:43:08 +0200 |
2 |
Alexandru Elisei <alexandru.elisei@×××××.com> wrote: |
3 |
|
4 |
> On Thu, Mar 16, 2017 at 12:32 AM, Brian Dolbec <dolsen@g.o> |
5 |
> wrote: |
6 |
> > That could be pretty hard to do for all messages. |
7 |
> > Especially messages with embedded data |
8 |
> > |
9 |
> > eg: "%s is missing %s required use flag..." % ('sys-apps/foo', |
10 |
> > 'bar') |
11 |
> |
12 |
> For that case we could use: |
13 |
> |
14 |
> "%s is missing %s required use flag..." % \ |
15 |
> % ('sys-apps/foo', 'bar') |
16 |
|
17 |
Yes, but that is not what I meant. When you are searching the code for |
18 |
a message. |
19 |
|
20 |
the message in your terminal would read |
21 |
"sys-apps/foo is missing bar required use flag..." |
22 |
|
23 |
It may not be obvious to people to break up the text to search into 2 |
24 |
strings. "is missing" and "required use flag..." trying one, failing |
25 |
that try the other to find the code location. Then there is the |
26 |
problem of translations moving/re-arranging the text to suit the |
27 |
language (minor I know, but still a factor to consider). |
28 |
|
29 |
|
30 |
> > I know I don't always enforce the line length for a few characters, |
31 |
> > also when clarity is more important than line length. |
32 |
> |
33 |
> I totally agree with that. |
34 |
> |
35 |
> > We could also increase the max. line length to something like 120 |
36 |
> > or 130. |
37 |
> |
38 |
> I think more people should chime in on that. I use vertical splits for |
39 |
> the screen when coding, and 120 characters is too long for me, but if |
40 |
> the preferred width ends up changing to 120 or 130 I can work with it. |
41 |
> |
42 |
|
43 |
You need to get some large 4K monitors... love them :D |
44 |
I treated myself to two 28 inch ones during boxing week sales. |
45 |
My aging eyes love them :) They are so much better than my old 24 inch |
46 |
1080p monitors. Those were getting tired/starting to loos clarity along |
47 |
with my eyes working at them all week long. I now work with larger |
48 |
fonts which are still physically smaller than my old monitors, but |
49 |
sooooo much clearer. My eyes don't get nearly so tired as they did |
50 |
with my other monitors. |
51 |
|
52 |
</bragging> ;) |
53 |
|
54 |
|
55 |
My work has a 130 col limit. With an editor at that, |
56 |
plus a wide, open files pane on the left of the editor window, I still |
57 |
have another large terminal window open to it's right with some bare |
58 |
screen real-estate patches and borders... ;) Not to mention nearly 100 |
59 |
lines of code view-able in the editor. |
60 |
|
61 |
-- |
62 |
Brian Dolbec <dolsen> |