From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id tYgHMZYT9F/tFAAA0tVLHw (envelope-from ) for ; Tue, 05 Jan 2021 07:21:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QMi7LJYT9F/tJAAAB5/wlQ (envelope-from ) for ; Tue, 05 Jan 2021 07:21:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68F3A940105 for ; Tue, 5 Jan 2021 07:21:57 +0000 (UTC) Received: from localhost ([::1]:43704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwgfC-0007ED-Hn for larch@yhetil.org; Tue, 05 Jan 2021 02:21:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwgdL-0007E5-3o for emacs-orgmode@gnu.org; Tue, 05 Jan 2021 02:19:59 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:38141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwgdJ-0006PA-6e for emacs-orgmode@gnu.org; Tue, 05 Jan 2021 02:19:58 -0500 Received: by mail-lf1-x135.google.com with SMTP id h205so70315470lfd.5 for ; Mon, 04 Jan 2021 23:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ARfQeZHmXm/cF+b1NENWg4nZORO30MYutudDxAwx0kU=; b=Tjk+EPh6K0l1o8rhr26ESS+MpSyUVCC7gYsj3Pv7PfnUenvjvWrw4JNul6K8IR67kC vctbGFZyaYIK0jFncR8duuxGpwAkA8VRiU8yMSwmhpCvXIPCgxD6gl5addGy6/5Jv/lC f876gWb+yCJcbmRQpzjvxW2oxqfHeY02xWvk1HfY1O5Gi6p0eBC1XNozTERVw5ei7tDL mQ3Go+diAoUL54qLaDZcaTZzpqOGzyL4K52mAZz1P4zjb3A3L6ZD36UECKaU7A7FuFIn rCoRxVVs2YnkdtRqtC5AWcdF0f/RfUSW9taM2npwYRQWYfvqwqDwMtwLWEvl0acC6IKC ioOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ARfQeZHmXm/cF+b1NENWg4nZORO30MYutudDxAwx0kU=; b=OjBT/DaF7OeTidjTUs7xqPTuQFteZpEe/3zh7bnPXWQL2CxGWxtyG+Z8lml9gtmSF8 qwzziPAQDVD8AHOD+6Xm9+qVh79vOAZYOb48/tcBmEafzeEW1tKZQo2I/qEbwdU5pck0 EZDLWqUZv0ocQwlnNAMYfz2a7VIg9VwNMVG7xkbir8u8Yiuuxi0z/VAMH8v1R3qW022z k30FVyxQ79JFwfKxHFwim9u7yOSKujHXyo/f5Tg9k87/puJCO271GRfMwMfwTBtcVTDz Zp3poeSCg2sMFK/z2lDmOa3J2lavdGVF4xJSapEl6Vz97PNBG/uY0r/sTZeSHdxFnZAJ yi+Q== X-Gm-Message-State: AOAM532uomxP3A1UXZoPSbgUPLx9+8EPj0eG1/nEQRA1x3K4uzKpU+2k DBpx+npLFd/S9n16osuHX1zEPuECBoB3lDW4Jfg= X-Google-Smtp-Source: ABdhPJw3AfTmu0MSnX92NJMVxXGaI6ZPskpDWb8X308C4upjd7K9PKs4cHfCq/Xdjr/h9mSZTeHaUYXx7YinTtBfpoQ= X-Received: by 2002:a2e:8013:: with SMTP id j19mr36943211ljg.434.1609831194839; Mon, 04 Jan 2021 23:19:54 -0800 (PST) MIME-Version: 1.0 References: <87czyjzz6x.fsf@kyleam.com> In-Reply-To: From: Kaushal Modi Date: Tue, 5 Jan 2021 02:19:18 -0500 Message-ID: Subject: Re: Regression in table.el detection? [maint] To: Kyle Meyer Content-Type: multipart/alternative; boundary="000000000000844f0805b82208b9" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=kaushal.modi@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Tjk+EPh6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 68F3A940105 X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: a+jzJ0j3VNl6 --000000000000844f0805b82208b9 Content-Type: text/plain; charset="UTF-8" Hi Kyle, I was able to reproduce with issue with ox-html as well. Please copy paste this in a new temp.org file and run `C-c C-e h H': * Subtree 1 +----------+----------+----------+ | Header 1 | Header 2 | Header 3 | +----------+----------+----------+ | a | b | c | +----------+----------+----------+ | d | e | f | +----------+----------+----------+ * Subtree 2 The issue is when the "* Subtree 2" begins in the very next line after that last line of table.el table ending in "--+". When I export that, I see that ox-html fails to detect that table.el table because I see this in the exported buffer: =====
Header 1 Header 2 Header 3

------------------------------

===== But if I introduce a newline before "* Subtree 2", the table.el table detection works fine. -- Kaushal Modi --000000000000844f0805b82208b9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Kyle,

=
I was able to reproduce with issue with ox-html as well.
Please copy paste this in a new tem= p.org file and run `C-c C-e h H':

* Subtre= e 1
+----------+----------+----------+
| Header 1 | Header 2 | Header= 3 |
+----------+----------+----------+
| a =C2=A0 =C2=A0 =C2=A0 =C2= =A0| b =C2=A0 =C2=A0 =C2=A0 =C2=A0| c =C2=A0 =C2=A0 =C2=A0 =C2=A0|
+----= ------+----------+----------+
| d =C2=A0 =C2=A0 =C2=A0 =C2=A0| e =C2=A0 = =C2=A0 =C2=A0 =C2=A0| f =C2=A0 =C2=A0 =C2=A0 =C2=A0|
+----------+-------= ---+----------+
* Subtree 2


The = issue is when the "* Subtree 2" begins in the very next line afte= r that last line of table.el table ending in "--+".
When I export that, I see that ox-html fails to detect that tab= le.el table because I see this in the exported buffer:

=
=3D=3D=3D=3D=3D
<table border=3D"2" cellspacing= =3D"0" cellpadding=3D"6" rules=3D"groups" fra= me=3D"hsides" align=3D"center" class=3D"table-stri= ped">


<colgroup>
<col =C2=A0class=3D"or= g-left" />

<col =C2=A0class=3D"org-left" /><= br>
<col =C2=A0class=3D"org-left" />
</colgroup>= ;
<tbody>
<tr>
<td class=3D"org-left">= Header 1</td>
<td class=3D"org-left">Header 2</= td>
<td class=3D"org-left">Header 3</td>
<= ;/tr>
</tbody>
</table>
<p>
<del>---= -------</del>----------<del>----------</del>
</p>= ;
<table border=3D"2" cellspacing=3D"0" cellpaddi= ng=3D"6" rules=3D"groups" frame=3D"hsides" al= ign=3D"center" class=3D"table-striped">
= =3D=3D=3D=3D=3D

But if I introduce a newline befor= e "* Subtree 2", the table.el table detection works fine.


=
--
Kaushal Modi


--000000000000844f0805b82208b9--