From: Hrvoje Niksic <hniksic@xemacs.org>
To: Roland Kaufmann <roland.kaufmann@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Markup on same line as text
Date: Wed, 16 Feb 2011 21:04:29 +0100 [thread overview]
Message-ID: <87zkpvkape.fsf@xemacs.org> (raw)
In-Reply-To: <4D263E3B.5030407@gmail.com> (Roland Kaufmann's message of "Thu, 06 Jan 2011 23:12:11 +0100")
Sorry for taking a very long time to respond.
Roland Kaufmann <roland.kaufmann@gmail.com> writes:
> (let ((x 42)) <span style="comment">; meaning of l.u.e.
> <span id="ref-2"></span> (print x))</span>
> ^^^^^^^
> The first closing tag is really the end of the comment which is
> spilled to the next line, but it erraneously closes the id span.
If so, that would be a bug in htmlize. While Emacs supports arbitrarily
overlapping properties/overlays/extents, HTML doesn't, and htmlize is
normally careful to describe each unchanged run of text on its own.
I am not familiar with org-mode, so I will need a description of exactly
how to reproduce this bug. Specifically I don't know how to put a
reference on the next line.
Your patch may work in this particular case, but the idea behind htmlize
is to describe the state of the buffer. If a property ends after the
newline, it is intended that the generated HTML reflect this.
Hrvoje
next prev parent reply other threads:[~2011-02-16 20:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 22:12 [PATCH] Markup on same line as text Roland Kaufmann
2011-02-16 20:04 ` Hrvoje Niksic [this message]
2011-02-16 21:53 ` Roland Kaufmann
2011-02-17 21:58 ` Hrvoje Niksic
2011-02-19 14:26 ` Roland Kaufmann
2011-02-19 23:49 ` Hrvoje Niksic
2011-02-26 9:39 ` Bastien
2011-02-27 21:09 ` Roland Kaufmann
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=87zkpvkape.fsf@xemacs.org \
--to=hniksic@xemacs.org \
--cc=emacs-orgmode@gnu.org \
--cc=roland.kaufmann@gmail.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).