Re: [PATCH] pretty-print: de-tabify indented logs to make things line up properly
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Mar 16, 2016, 16:52 UTC
- Message-ID
- <CA+55aFx2Yv6=zu_5cXOjeMEKTq1yeqDidRr820HzOSAj3xFb-g@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.20.1603160926060.13030@i7>
On Wed, Mar 16, 2016 at 9:29 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 16 quoted lines
> > This should all line up: > > Column 1 Column 2 > -------- -------- > A B > ABCD EFGH > SPACES Instead of Tabs > > Even with multi-byte UTF8 characters: > > Column 1 Column 2 > -------- -------- > Ä B > åäö 100 > A Møøse once bit my sister..
So with current git, it looks like this for me:
Column 1 Column 2
-------- --------
A B
ABCD EFGH
SPACES Instead of TabsEven with multi-byte UTF8 characters:
Column 1 Column 2
-------- --------
Ä B
åäö 100
A Møøse once bit my sister..and with that patch it looks much better:
Column 1 Column 2
-------- --------
A B
ABCD EFGH
SPACES Instead of TabsEven with multi-byte UTF8 characters:
Column 1 Column 2
-------- --------
Ä B
åäö 100
A Møøse once bit my sister..(of course, to see that assumes that you have a fixed-sized font in your mail viewer, and that the spacing didn't get screwed up by my cut-and-paste).
Linus