From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Kaufmann Subject: Re: [PATCH] Markup on same line as text Date: Sat, 19 Feb 2011 15:26:54 +0100 Message-ID: <4D5FD32E.5000204@gmail.com> References: <4D263E3B.5030407@gmail.com> <87ipwijpci.fsf@xemacs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37162 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pqnlx-00007t-3C for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 09:26:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pqnlw-0002t1-2X for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 09:26:56 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:63014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pqnlv-0002sm-UZ for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 09:26:56 -0500 Received: by eyh6 with SMTP id 6so521948eyh.0 for ; Sat, 19 Feb 2011 06:26:54 -0800 (PST) In-Reply-To: <87ipwijpci.fsf@xemacs.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hrvoje Niksic Cc: emacs-orgmode@gnu.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.