From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line Date: Sun, 10 Aug 2014 15:13:36 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGSwM-0008RT-Vr for emacs-orgmode@gnu.org; Sun, 10 Aug 2014 09:13:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGSwL-0002pv-WF for emacs-orgmode@gnu.org; Sun, 10 Aug 2014 09:13:38 -0400 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:46725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGSwL-0002pm-Oa for emacs-orgmode@gnu.org; Sun, 10 Aug 2014 09:13:37 -0400 Received: by mail-lb0-f178.google.com with SMTP id c11so5030485lbj.23 for ; Sun, 10 Aug 2014 06:13:36 -0700 (PDT) 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: mail@nicolasgoaziou.fr, emacs-orgmode@gnu.org Nicolas Goaziou writes: > Ignoring \[...\] when filling the paragraph is misleading. You may > believe the object doesn't belong to the paragraph at all. I think M-q > should, on the contrary, give clues about the structure of the document. > > Also, it doesn't make a difference when exporting to LaTeX, but it might > in back-ends with a different definition for paragraphs (e.g. HTML). to help me understand what kind of problems one could face with HTML (or another back-end), could you give a concrete example? > >> I do not quite understand what do you mean. Doesn't the Org syntax >> "just" defines the result of parsing a buffer (like in most >> programming languages where indentation and line breaks are just to >> help people reading code)? > > Indentation and line breaks are meaningful in Org. They are not just > syntactic sugar. Sorry, I didn't express myself correctly. I guess within a paragraph indentation and line breaks are syntactic sugar. Right? Regards, Federico