From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Strey Subject: Re: [html] non-lists showing up as lists Date: Mon, 03 Jun 2013 11:54:14 +0200 Message-ID: <87mwr78qpl.fsf@strey.biz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjRT4-0006Gy-96 for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 05:54:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjRSz-0001py-GF for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 05:54:22 -0400 Received: from mx2.supremebox.com ([198.23.53.42]:51229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjRSz-0001pc-Bz for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 05:54:17 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi everyone, Just for completeness Carsten Dominik writes: [...] > Possibilities: > 1. We could change the parser to ignore lists where the first > item does not start with `1.' or `a)'. But this would > be a pretty serious change. > > 2. We could implement a good function that could find problematic > cases, so that they can be fixed by hand. This is basically > what Nick proposed - only it would be implemented in Lisp. > > 3. We could implement a function that finds and fixes such issues. > It would basically scan the buffer and find lists that have > only a single item, not starting with 1, and change the wrapping > to fix it. 4. Define that lists alway have to have a newline in front of them. 5. Define that lists always have to be indented. My favourite would be 4. Michael Strey -- mailto:mstrey@strey.biz http://www.strey.biz