auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Empty line after an environment


From: Denis Bitouzé
Subject: Empty line after an environment
Date: Thu, 28 Nov 2019 11:52:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

(In the following, >>text<< to express that "text" is selected.)

With:

--8<---------------cut here---------------start------------->8---
abc >>def<< ghi
--8<---------------cut here---------------end--------------->8---

running C-c C-e c + TAB gives:

--8<---------------cut here---------------start------------->8---
abc
\begin{center}
  def
\end{center}
ghi
--8<---------------cut here---------------end--------------->8---

So far, so good. Now, with 

--8<---------------cut here---------------start------------->8---
abc
>>def<<
ghi
--8<---------------cut here---------------end--------------->8---

we obtain:

--8<---------------cut here---------------start------------->8---
abc
\begin{center}
  def
\end{center}

ghi
--8<---------------cut here---------------end--------------->8---

The empty line before `ghi' is unexpected IMHO.

WDYT?
-- 
Denis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]