Re: [PATCH 12/12] pretty: support %>> that steal trailing spaces

2013-03-30 Thread Duy Nguyen
On Sun, Mar 17, 2013 at 4:06 PM, Eric Sunshine wrote: > On Fri, Mar 15, 2013 at 10:24 PM, Nguyễn Thái Ngọc Duy > wrote: >> This is pretty useful in `%<(100)%s%Cred%>(20)% an' where %s does not > > s/% an/%an/ No. The space after '%' is intentional. And thanks for proofreading in all my patches.

Re: [PATCH 12/12] pretty: support %>> that steal trailing spaces

2013-03-17 Thread Eric Sunshine
On Fri, Mar 15, 2013 at 10:24 PM, Nguyễn Thái Ngọc Duy wrote: > This is pretty useful in `%<(100)%s%Cred%>(20)% an' where %s does not s/% an/%an/ > use up all 100 columns and %an needs more than 20 columns. By > replacing %>(20) with %>>(20), %an can steal spaces from %s. > > diff --git a/Docume

[PATCH 12/12] pretty: support %>> that steal trailing spaces

2013-03-15 Thread Nguyễn Thái Ngọc Duy
This is pretty useful in `%<(100)%s%Cred%>(20)% an' where %s does not use up all 100 columns and %an needs more than 20 columns. By replacing %>(20) with %>>(20), %an can steal spaces from %s. %>> understands escape sequences, so %Cred does not stop it from stealing spaces in %<(100). Signed-off-