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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20301 in the body.
You can then email your comments to 20301 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#20301
; Package
auctex
.
(Sat, 11 Apr 2015 09:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
gojjoe <at> gmail.com
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Sat, 11 Apr 2015 09:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
)
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Sat, 11 Apr 2015 19:51:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
gojjoe <at> gmail.com
:
bug acknowledged by developer.
(Sat, 11 Apr 2015 19:51:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 20301-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 10 May 2015 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 102 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.