From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: ascii fill column ignored Date: Thu, 17 Oct 2013 13:44:58 -0700 Message-ID: References: <87bo2omcsx.fsf@gmail.com> <87d2n36504.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWuRI-0000fC-Pz for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 16:45:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWuRI-0001rl-1t for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 16:45:00 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:43871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWuRH-0001rh-R7 for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 16:44:59 -0400 Received: by mail-wi0-f181.google.com with SMTP id l12so51348wiv.14 for ; Thu, 17 Oct 2013 13:44:58 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org I narrowed it down to this, so it isn't in default Org. I rely on being able to put paragraphs in inline footnotes as they were in Org 7. This implements that (and I rely on the fact that it works well with font lock too). However, for some reason it triggers the bug. ;; from author of new exporter, with extra \ ;; (setq org-export-before-parsing-hook nil) (add-hook 'org-export-before-parsing-hook 'hoka-org-export-par-in-inline-fn) ;; (remove-hook 'org-export-before-parsing-hook 'hoka-org-export-par-in-inline-fn) (defun hoka-org-export-par-in-inline-fn (backend) "Fix inline footnote paragraphs to work." (unless (org-export-derived-backend-p backend 'latex) (org-footnote-normalize) ;; =alpha i guess it sticks \par in there for you (while (re-search-forward "\\\\par\\s-*" nil t) (replace-match "\n\n"))))