Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Sven Van Caekenberghe
On 20 Mar 2014, at 20:37, Camille Teruel wrote: > No that's definitively a bug. > It seems to happen to blocks that are arguments in cascaded messages. Ah, that makes some sense. Next question: can we fix it ;-)

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Sven Van Caekenberghe
Thanks, it makes a difference indeed, but it does not yet quite solve it. I would want the contents of the #with: block to be treated the same as for example inside an #ifTrue:ifFalse: with just one tab (level) more. I just don't understand why it is different. On 20 Mar 2014, at 20:47, Sergi

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Sergi Reyner
2014-03-20 19:38 GMT+00:00 Sven Van Caekenberghe : > I have been using the auto formatter with Seaside rendering code too, and > I found it weird at times as well. The problem seems to be related to > blocks. It is of course hard to argue with something automatic that is > quite complex and over w

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Sven Van Caekenberghe
I have been using the auto formatter with Seaside rendering code too, and I found it weird at times as well. The problem seems to be related to blocks. It is of course hard to argue with something automatic that is quite complex and over which there are many opinions. I have basically given up t

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Camille Teruel
On 20 mars 2014, at 20:30, Sergi Reyner wrote: > 2014-03-20 19:23 GMT+00:00 Esteban Lorenzano : > I do not understand what your problem is. > If is bad indented, you can always reformat. Source formatting is not pharo > responsibility but the programmer (unless you use pretty printer, which is

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Esteban Lorenzano
On 20 Mar 2014, at 20:30, Sergi Reyner wrote: > 2014-03-20 19:23 GMT+00:00 Esteban Lorenzano : > I do not understand what your problem is. > If is bad indented, you can always reformat. Source formatting is not pharo > responsibility but the programmer (unless you use pretty printer, which is

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Sergi Reyner
2014-03-20 19:23 GMT+00:00 Esteban Lorenzano : > I do not understand what your problem is. > If is bad indented, you can always reformat. Source formatting is not > pharo responsibility but the programmer (unless you use pretty printer, > which is not the case). > Well, that´s not how *I* formatt

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Esteban Lorenzano
I do not understand what your problem is. If is bad indented, you can always reformat. Source formatting is not pharo responsibility but the programmer (unless you use pretty printer, which is not the case). cheers, Esteban On 20 Mar 2014, at 18:49, Sergi Reyner wrote: > Is this weird inden