From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEhUTUwgbGlzdHMgYXJlIGluY2x1ZGluZyBwYXJhZ3JhcGhz?= =?UTF-8?B?ICg8bGk+PHA+4oCmPC9wPjwvbGk+KQ==?= Date: Wed, 06 Aug 2014 14:12:21 +0200 Message-ID: <871tst24wq.fsf@nicolasgoaziou.fr> References: <87ppgg26wd.wl%n142857@gmail.com> <87egwvdtt1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF04O-0000Cx-Im for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 08:12:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XF04E-0004Xb-E4 for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 08:11:52 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:57817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF04E-0004XT-7x for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 08:11:42 -0400 In-Reply-To: <87egwvdtt1.fsf@gmail.com> (Eric Schulte's message of "Tue, 05 Aug 2014 08:06:50 -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: Eric Schulte Cc: org-mode Mailinglist Hello, Eric Schulte writes: > The code which checks to ensure that paragraph wrappers are only > inhibited if they are inhibited for the whole list mistakenly keeps > paragraph wrappers if one item of the list is itself a list > > The location of this bug is the (cdr contents) in line 2899 of > ox-html.el. I'd be inclined to remove this form, but I'm not sure what > valid case it checks for. This is more a misunderstanding that a bug. (cdr contents) tests if there is anything after the current paragraph. In the following example, 1. hola 2. uno - dos 3. tres item "2." contains (paragraph plain-list), so (cdr contents) in not nil. I understand that "paragraph is alone in its item" is not a good test to skip paragraph wrappers. I'm still confused about what a good test would be. In particular, what should be done in the following cases - item - item - subist resuming item i.e., (paragraph plain-list paragraph), and - outer another paragraph - inner - simple list i.e., are nested plain-lists independent relatively to paragraph wrappers skipping. I think so, but I'd rather make sure. Regards, -- Nicolas Goaziou