From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [html] non-lists showing up as lists Date: Mon, 3 Jun 2013 12:05:47 +0200 Message-ID: References: <87mwr78qpl.fsf@strey.biz> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjReB-00023b-FN for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 06:05:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjReA-00062N-1U for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 06:05:51 -0400 Received: from ezel.ic.uva.nl ([146.50.108.158]:46443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjRe9-00062B-FK for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 06:05:49 -0400 In-Reply-To: <87mwr78qpl.fsf@strey.biz> 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: Michael Strey Cc: emacs-orgmode@gnu.org On 3 jun. 2013, at 11:54, Michael Strey wrote: > 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. Hi Michael, I think this would break too many legacy Org files. It would also cause problems for sublist, so you could no longer make compact deep lists. But thanks for the input. - Carsten > > > My favourite would be 4. > > > Michael Strey > -- > mailto:mstrey@strey.biz > http://www.strey.biz