GNU bug report logs - #42016
26.3; In latex-mode, fill-paragraph changes code to comments

Previous Next

Package: emacs;

Reported by: Nate Eldredge <nate <at> thatsmathematics.com>

Date: Tue, 23 Jun 2020 03:52:02 UTC

Severity: normal

Found in version 26.3

Full log


View this message in rfc822 format

From: Nate Eldredge <nate <at> thatsmathematics.com>
To: Mattias EngdegÄrd <mattiase <at> acm.org>
Cc: 42016 <at> debbugs.gnu.org
Subject: bug#42016: 26.3; In latex-mode, fill-paragraph changes code to comments
Date: Tue, 23 Jun 2020 11:49:09 -0400 (EDT)
[Message part 1 (text/plain, inline)]
On Tue, 23 Jun 2020, Mattias EngdegÄrd wrote:

> Thank you! This bug has been fixed in Emacs 27; see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38152 .

Thanks for the pointer.  I confirm that the patch in bug #38152 fixes the 
previous test case.  However the following slightly different test case 
still has a similar problem:

---- snip ----
\documentclass{article}
\begin{document}
\begin{environment}
  Some code % a comment
  More code
\end{environment}
\end{document}
---- snip ----

If you position point at the start of the line "  More code" and hit M-q, 
the result is

\begin{environment}
  Some code % a comment More code
\end{environment}

Should this bug #42016 be reopened or should I file a new bug?

-- 
Nate Eldredge
nate <at> thatsmathematics.com

This bug report was last modified 4 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.