emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roland Kaufmann <roland.kaufmann@gmail.com>
To: Hrvoje Niksic <hniksic@xemacs.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Markup on same line as text
Date: Sat, 19 Feb 2011 15:26:54 +0100	[thread overview]
Message-ID: <4D5FD32E.5000204@gmail.com> (raw)
In-Reply-To: <87ipwijpci.fsf@xemacs.org>

> htmlize doesn't operate on the level of syntax-based fontification, it
> examines the display-related properties attached to buffer text (not
> necessarily by font-lock) and renders them into the corresponding HTML.

Good point.

And, as you point out, it is probably better to deal with the problem by 
removing the formatting on the newlines (probably right after 
font-lock-fontify-buffer in org-export-format-source-code-or-example) in 
the temporary buffer that is htmlize'd, reducing the chance of any 
unintended consequences.

I'll try this approach and see how it turns out (i.e. proposal for 
change in htmlize dropped). Thank you for the feedback!

-- 
    Roland.

  reply	other threads:[~2011-02-19 14:26 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
2011-02-16 21:53   ` Roland Kaufmann
2011-02-17 21:58 ` Hrvoje Niksic
2011-02-19 14:26   ` Roland Kaufmann [this message]
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=4D5FD32E.5000204@gmail.com \
    --to=roland.kaufmann@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hniksic@xemacs.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).