[ruby-talk:00802] Re: Summary of discussion about RD (Re: Docum entation about RD?)
From:
Clemens Hintze <c.hintze@...>
Date:
1999-09-06 17:37:04 UTC
List:
ruby-talk #802
Hi,
On 7 Sep, Toshiro Kuwabara wrote:
> Hi,
>
[...]
> I think again and again, but I can't decide which is better.
> Please tell me your opinion...
without much thinking, I would define these rules:
(1) Every list has its baseline.
(2) Every line beginning at the base, belongs to that list.
(3) Every line, that is indented concerning the list's base,
belongs also to that list, but has to be taken verbatim.
(4) Whenever a line is detended concerning that base, it
doesn't belongs to that list anymore.
That means:
| <- base of list (I)
| <- base of list (II)
Then this line belongs to the list (II), because (2)
This line too, but verbatim (3)
This line doesn't belongs to (II), because (4). But, however,
because (3) it belongs to (I) *and* has to be taken verbatim.
This line belongs to (I), because (2).
But this line doesn't belongs to (I) anymore [reason (4)], but has to
be handled as normal TextElement, as there is no any list anymore. As
such it has to be taken verbatim!
Perhaps these four rules are not too difficult, but powerful enough?
Opinions?
>
> ---
> Tosh
\cle