all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Benjamin Motz <b.motz@uni-muenster.de>
Cc: n.goaziou@gmail.com, emacs-orgmode@gnu.org
Subject: Re: fill-paragraph: wrong behaviour after latex-environments
Date: Sat, 05 May 2012 08:39:36 +0200	[thread overview]
Message-ID: <87k40qsljb.fsf@altern.org> (raw)
In-Reply-To: <u13bkr4v1ifr3.fsf@majorana.uni-muenster.de> (Benjamin Motz's message of "Thu, 03 May 2012 14:57:36 +0200")

Hi Benjamin,

Benjamin Motz <b.motz@uni-muenster.de> writes:

> 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).

There is `org-element-paragraph-separate', which already uses a 
better `paragraph-separate' value than the one currently in Org.

Nicolas, do you think the default value for `paragraph-separate' 
in Org could use ̀org-element-paragraph-separate' in a way?

How does org-element.el handles inline LaTeX code like the one 
Benjamin showed?

Thanks,

-- 
 Bastien

  parent reply	other threads:[~2012-05-05 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 12:57 fill-paragraph: wrong behaviour after latex-environments Benjamin Motz
2012-05-03 15:05 ` Albert Z. Wang
2012-05-03 15:23   ` Benjamin Motz
2012-05-05  6:39 ` Bastien [this message]
2012-05-05 16:13   ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k40qsljb.fsf@altern.org \
    --to=bzg@gnu.org \
    --cc=b.motz@uni-muenster.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.