Hi Henrik,

My purpose of block comment is not to comment out multiple lines, for
that I would use single line comments too.

I would use block comment to comment out small part in a line, e.g.

   (list 1 2 #{3 4}# 5)

or to comment within context, e.g.

        (de f (A #{...}# B #{...}#)
                ... )

Best regards,
KS


On 5/8/09, Henrik Sarvell <hsarv...@gmail.com> wrote:
> I've implemented simply selecting a slew of lines in my editor,
> hitting ctrl-t and they're all single line commented. I'm sure this
> can be done in VIM too with some work (if it isn't there already).
>
> Anyway, after doing that I never wished for multi line comments again.
>
> Let's not make the interpreter more complicated for nothing.
>
> /Henrik
>
> On Fri, May 8, 2009 at 10:02 AM, Alexander Burger <a...@software-lab.de>
> wrote:
>> On Fri, May 08, 2009 at 09:48:05AM +0200, Alexander Burger wrote:
>>> Because: If the commented text contains the pattern "#{" or "}#" in a
>>> context where it is not relevant as a comment (e.g. in a symbol name or
>>> a string), the nesting will break.
>>
>> Sorry, I'm stupid!
>>
>> Nesting or not, these block comments will always break if "}#" is
>> contained in a non-relevant context.
>>
>> So we might as well make it nesting.
>>
>> Cheers,
>> - Alex
>> --
>> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
>>
> --
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
>
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to