From: Kaushal Modi <kaushal.modi@gmail.com>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Regression in table.el detection? [maint]
Date: Tue, 5 Jan 2021 02:19:18 -0500 [thread overview]
Message-ID: <CAFyQvY0GqSKQGKf3CRf=MkCLUPctMSS1iQ5c=O2icHtNHHP0xw@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY1afAB6cx878MeUXCJ17sxeCFvvae5KBoiRpkqL+r2scg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
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:
=====
<table border="2" cellspacing="0" cellpadding="6" rules="groups"
frame="hsides" align="center" class="table-striped">
<colgroup>
<col class="org-left" />
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">Header 1</td>
<td class="org-left">Header 2</td>
<td class="org-left">Header 3</td>
</tr>
</tbody>
</table>
<p>
<del>----------</del>----------<del>----------</del>
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups"
frame="hsides" align="center" class="table-striped">
=====
But if I introduce a newline before "* Subtree 2", the table.el table
detection works fine.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 2279 bytes --]
next prev parent reply other threads:[~2021-01-05 7:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 18:47 Regression in table.el detection? [maint] Kaushal Modi
2021-01-05 6:15 ` Kyle Meyer
2021-01-05 6:36 ` Kaushal Modi
2021-01-05 6:43 ` Kaushal Modi
2021-01-05 7:19 ` Kaushal Modi [this message]
2021-01-05 17:09 ` Nicolas Goaziou
2021-01-05 17:22 ` Kaushal Modi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFyQvY0GqSKQGKf3CRf=MkCLUPctMSS1iQ5c=O2icHtNHHP0xw@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kyle@kyleam.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).