From: "Levin Du" <zslevin@gmail.com>
To: Carsten Dominik <c.dominik@uva.nl>
Cc: Org-mode Mode <emacs-orgmode@gnu.org>
Subject: Re: Org mode release 6.04
Date: Wed, 28 May 2008 14:34:33 +0800 [thread overview]
Message-ID: <9649271a0805272334x6eef7f73j383bba0d595ae1b3@mail.gmail.com> (raw)
In-Reply-To: <C3324DCB-FCE6-455B-8D42-8CBEC2D58821@uva.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1315 bytes --]
2008/5/28 Carsten Dominik <c.dominik@uva.nl>:
> Fixed thanks.
>
> I cannot make an error message when you have misspelled a tag, because Org
> cannot know
> if you have inserted that string on purpose.
>
> But the loop is fixed now, and I am using now contents instead of content.
>
> - Carsten
Thank you for your quick response and fix. I confirmed that's OK now.
And I thought I have fixed a little bug in org-export-as-html.
See this test file:
--8<----8<--
#+TITLE: this is the title
<content>
* title1
* title2
<example>
good day
</example>
--8<----8<--
There's no empty line or others contents after <example>...</example> block.
After export (C-c C-e , the </pre> closing tag is missing:
--8<-----8<---
<div id="outline-container-2" class="outline-2">
<h2 id="sec-2">2 title2</h2>
<div id="text-2">
<p><pre>
good day
</p></div>
</div>
--8<----8<---
Here's the patch:
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 4637e8e..461ec3d 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -2666,7 +2666,7 @@ lang=\"%s\" xml:lang=\"%s\">
(setq infixed t)
(insert "<pre>\n"))
(insert (org-html-protect (match-string 1 line)) "\n")
- (when (and lines
+ (when (or (null lines)
(not (string-match "^[ \t]*\\(:.*\\)"
(car lines))))
(setq infixed nil)
- Levin
[-- Attachment #1.2: Type: text/html, Size: 3988 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-05-28 6:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-25 7:31 Org mode release 6.04 Carsten Dominik
2008-05-25 12:41 ` Austin Frank
2008-05-25 21:57 ` Shelagh Manton
2008-05-26 7:43 ` Shelagh Manton
2008-05-26 10:36 ` Daniel Clemente
2008-05-25 15:58 ` Leo
2008-05-27 22:00 ` Adam Spiers
2008-05-26 10:44 ` Daniel Clemente
2008-05-27 6:26 ` Carsten Dominik
2008-05-28 4:01 ` Levin Du
2008-05-28 4:36 ` Carsten Dominik
2008-05-28 6:34 ` Levin Du [this message]
2008-05-28 8:35 ` Carsten Dominik
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=9649271a0805272334x6eef7f73j383bba0d595ae1b3@mail.gmail.com \
--to=zslevin@gmail.com \
--cc=c.dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
/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).