emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] nested lists


From: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] nested lists
Date: Mon, 14 Nov 2005 12:47:47 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>>> Phillip Lord <address@hidden> writes:

> Jim

> This looks good. I shall give it a go tonight. 

> One comment: you have had the same problem that was
> stopping me, which is working out how to discover
> the end of the list. I think that we need to accept the 
> inevitable with nested lists and have an explicit "list
> end" markup. With your current implementation, you wouldn't
> need to use this all the time, but it would be there when 
> you wanted it. 

Yes that's a good idea: something like '<end-of-list>' to supply a
hint.  It would only be necessary if there was something indented
following what one intended to be the end of the list.

The tag could set a not-a-list text property on the immediately
following text for later inspection in the list code. Or an
end-of-list property on the item preceding it.

The other big problem with my code is the paragraphs: I haven't quite
worked out how to make them come out right when, for example, there is
no paragraph break before the first list item.  Mind you, it seems to
render alright even though in that case it fails a validator.

Regards,

-- 
Jim Ottaway




reply via email to

[Prev in Thread] Current Thread [Next in Thread]