From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Re: HTML export and blogging to blogger.com Date: Tue, 16 Nov 2010 11:26:00 -0700 Message-ID: References: <83eial4my9.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=47713 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIQEG-00071W-C4 for emacs-orgmode@gnu.org; Tue, 16 Nov 2010 13:26:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIQEE-00087J-QY for emacs-orgmode@gnu.org; Tue, 16 Nov 2010 13:26:04 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:45667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIQEE-00087C-Jz for emacs-orgmode@gnu.org; Tue, 16 Nov 2010 13:26:02 -0500 Received: by ewy25 with SMTP id 25so501675ewy.0 for ; Tue, 16 Nov 2010 10:26:01 -0800 (PST) In-Reply-To: <83eial4my9.fsf@yahoo.it> 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: Giovanni Ridolfi Cc: emacs-orgmode@gnu.org Thanks, Giovanni, that helps; I assumed that "does not work" meant what it said. :) However, it doesn't help me when I actually post the HTML. The problem is that even without the
, the paragraph does not fill. So I would have to unfill the paragraphs manually, then export, then undo the unfilling. The perl code does not unfill paragraphs in my tests. So I guess I'd like to know if: 1) anybody has a /hook in the exporter/ to unfill paragraphs, or 2) anybody has a way for the HTML to instruct the browser to /ignore newlines/, or 3) anybody has an unfill-region that works better than mine. My unfill-region uses filladapt and seems so far to work for most paragraphs but not ones following a headline. It does not work with filladapt turned off, seemingly. Therefore there is manual effort to unfill paragraphs after headlines. (defun alpha-unfill-region-or-paragraph () (interactive) (let ((fill-column (point-max))) (alpha-fill-region-or-paragraph))) (defun alpha-fill-region-or-paragraph () (interactive) (if (hoka-org-region-active-p) (call-interactively #'fill-region) (fill-paragraph nil))) (defun hoka-org-region-active-p () "Just a slighlty modified copy of the org function. Is `transient-mark-mode' on and the region active? Works on both Emacs and XEmacs." (if (featurep 'xemacs) (and zmacs-regions (region-active-p)) (if (fboundp 'use-region-p) (use-region-p) (and transient-mark-mode mark-active)))) Thanks. Samuel