From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Motz Subject: fill-paragraph: wrong behaviour after latex-environments Date: Thu, 03 May 2012 14:57:36 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPvbe-000332-7s for emacs-orgmode@gnu.org; Thu, 03 May 2012 08:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPvbV-0004ob-4O for emacs-orgmode@gnu.org; Thu, 03 May 2012 08:58:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:41016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPvbU-0004ng-T1 for emacs-orgmode@gnu.org; Thu, 03 May 2012 08:57:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SPvbR-0008V9-Jm for emacs-orgmode@gnu.org; Thu, 03 May 2012 14:57:49 +0200 Received: from majorana.uni-muenster.de ([128.176.202.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 14:57:49 +0200 Received: from b.motz by majorana.uni-muenster.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 14:57:49 +0200 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: emacs-orgmode@gnu.org Hi, invoking fill-paragraph on the following org-code will delete the newline after \end{equation}: The relation \begin{equation} E=mc^2 \end{equation} won't be further discussed here. This behaviour is undesirable because it makes the org-text less readable. Also, when adding '%' after \end{equation}, newline is still being deleted by fill-paragraph (and the text after '%' won't be exported e.g. by latex-export). Is there a workaround or can someone point me to the location where I can fix/change this behaviour? Thanks, Benjamin