Re: Escaping control in formatting (again)

2012-05-07 Thread kenji hara
that I still believe I was right in previous thread about enabling escaping control in formatting. To convince me I'm wrong, pleas write to this thread that this isn't a desired formatting functionality for you: --- auto myInterfaces = [Iface1, Iface2, Iface3]; // %!-s disables escaping

Re: Escaping control in formatting (again)

2012-05-07 Thread Denis Shelomovskij
07.05.2012 11:39, kenji hara написал: In prev thread, I have posted a proposal, but it didn't posted to newsgroup, I don't know why. I re-post my proposal. If the leading compound format specifier has a '-' flag, like %-( ... %), it disables auto-escaping for the elements formatting.

Re: Escaping control in formatting

2012-04-24 Thread Denis Shelomovskij
On Tuesday, 24 April 2012 at 04:55:34 UTC, kenji hara wrote: My concern is that the proposal is much complicated and less useful for general use cases. You can emulate such formatting like follows: IMHO addition of %!+s and %!-s alone and removing %c's magic will only simplify formatting for

Re: Escaping control in formatting

2012-04-24 Thread kenji hara
2012年4月24日17:20 Denis Shelomovskij verylonglogin@gmail.com: On Tuesday, 24 April 2012 at 04:55:34 UTC, kenji hara wrote: My concern is that the proposal is much complicated and less useful for general use cases. You can emulate such formatting like follows: IMHO addition of %!+s and

Escaping control in formatting

2012-04-23 Thread Denis Shelomovskij
I've never used new excellent range formatting syntax by Kenji Hara until now. And I've met with difficulties, because %(%(%c%), %) is the most common format for string array for me and it neither obvious nor elegant. It occurs that %c disables character escaping. What the hell? Why? Not

Re: Escaping control in formatting

2012-04-23 Thread Dmitry Olshansky
On 23.04.2012 16:36, Denis Shelomovskij wrote: I've never used new excellent range formatting syntax by Kenji Hara until now. And I've met with difficulties, because %(%(%c%), %) is the most common format for string array for me and it neither obvious nor elegant. It occurs that %c disables

Re: Escaping control in formatting

2012-04-23 Thread kenji hara
2012年4月23日21:36 Denis Shelomovskij verylonglogin@gmail.com: I've never used new excellent range formatting syntax by Kenji Hara until now. And I've met with difficulties, because %(%(%c%), %) is the most common format for string array for me and it neither obvious nor elegant. It occurs

Re: Escaping control in formatting

2012-04-23 Thread Denis Shelomovskij
23.04.2012 18:54, kenji hara написал: Please give us use cases. I cannot imagine why you want to change/remove quotations but keep escaped contents. Sorry, I should mention that !' and ! are optional and aren't commonly used, and all !?* are very optional and are here just for completeness

Re: Escaping control in formatting

2012-04-23 Thread kenji hara
2012年4月24日1:14 Denis Shelomovskij verylonglogin@gmail.com: 23.04.2012 18:54, kenji hara написал: Please give us use cases. I cannot imagine why you want to change/remove quotations but keep escaped contents. Sorry, I should mention that !' and ! are optional and aren't commonly used,

Re: Escaping control in formatting

2012-04-23 Thread Denis Shelomovskij
23.04.2012 21:15, kenji hara написал: 2012年4月24日1:14 Denis Shelomovskijverylonglogin@gmail.com: 23.04.2012 18:54, kenji hara написал: Please give us use cases. I cannot imagine why you want to change/remove quotations but keep escaped contents. Sorry, I should mention that !' and ! are

Re: Escaping control in formatting

2012-04-23 Thread Denis Shelomovskij
23.04.2012 21:49, Denis Shelomovskij написал: 23.04.2012 21:15, kenji hara написал: 2012年4月24日1:14 Denis Shelomovskijverylonglogin@gmail.com: 23.04.2012 18:54, kenji hara написал: Please give us use cases. I cannot imagine why you want to change/remove quotations but keep escaped

Re: Escaping control in formatting

2012-04-23 Thread kenji hara
2012年4月24日2:49 Denis Shelomovskij verylonglogin@gmail.com: 23.04.2012 21:15, kenji hara написал: 2012年4月24日1:14 Denis Shelomovskijverylonglogin@gmail.com: 23.04.2012 18:54, kenji hara написал: Please give us use cases. I cannot imagine why you want to change/remove quotations but