GNU bug report logs -
#20301
11.88.3; mathtools.el: multlined environment inserts a spurious newline
Previous Next
Reported by: gojjoe <at> gmail.com
Date: Sat, 11 Apr 2015 09:51:02 UTC
Severity: normal
Found in version 11.88.3
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#20301: 11.88.3; mathtools.el: multlined environment inserts a spurious newline
which was filed against the auctex package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 20301 <at> debbugs.gnu.org.
--
20301: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20301
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
gojjoe <at> gmail.com writes:
Hi!
> Inserting a multlined (note the final 'd') environment via
> LaTeX-environment, a spurious newline is inserted. Example: call C-c
> C-e multlined [ret]. The result is:
>
> \begin{multlined}
>
>
> \end{multlined}
>
> I think the problem is in mathtools.el: @line 198, maybe
> "newline-and-indent" is causing the problem?
Yes, exactly. It's now fixed in Git.
Thanks for reporting!
Tassilo
[Message part 3 (message/rfc822, inline)]
Dear All,
Inserting a multlined (note the final 'd') environment via
LaTeX-environment, a spurious newline is inserted. Example:
call C-c C-e multlined [ret]. The result is:
\begin{multlined}
\end{multlined}
with a spurious newline and the cursor in the second empty
line. Insertion of all other math environments I tried
behaves correctly instead, eg
\begin{equation}
\end{equation}
The same happens also inserting multlined when a region is
selected. For example, marking the expression
a + b
(or its whole line) and calling C-c C-e multlined [ret] gives
\begin{multlined}
a + b
\end{multlined}
again with a spurious newline.
I think the problem is in mathtools.el: @line 198, maybe
"newline-and-indent" is causing the problem?
Cheers!
J
Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
of 2013-03-17 on MARVIN
Package: 11.88.3
current state:
==============
(setq
AUCTeX-date "2015-03-22"
window-system 'w32
LaTeX-version "2e"
TeX-style-path '("~/.emacs.d/auctex"
"c:/Users/***/work/.emacs.d/elpa/auctex-11.88.3/style"
"c:/Users/***/work/.emacs.d/auctex/auctex-auto"
"c:/Users/***/work/.emacs.d/auctex/auctex-style"
"auctex-auto" "auctex-style")
TeX-auto-save t
TeX-parse-self t
TeX-master t
)
This bug report was last modified 10 years and 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.