GNU bug report logs -
#69398
`LaTeX-fill-paragraph` behavior within indented environments
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi there,
When the point is on the first letter of a line inside an indented environment (e.g., itemize, proof, etc.), running `LaTeX-fill-paragraph` will move the point to the beginning of the line. Here is a MWE:
\documentclass{article}
\begin{document}
\begin{itemize}
\item In indented environments, when the point is at the first letter
of a line, running ``LaTeX-fill-paragraph'' will move the point to
the beginning of the line. Ideally, it should stay with the letter.
\end{itemize}
\end{document}
1. If the point is on the first “o” in the line immediately after “\item”, running `LaTeX-fill-paragraph` moves the point to column 0, while “o” is moved to column 2 because of the filling operation.
2. If the point is on the first “f” in the same line as above, the point stays on “f” after running `LaTeX-fill-paragraph` (both moved to column 3).
I think it is better to have consistent point behavior as in scenario 2, because users probably want to continue editing after running `M-q’, and it is much more efficient if the point stays on the same letter before and after filling.
Best,
Ruiyang
[Message part 2 (text/html, inline)]
This bug report was last modified 1 year and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.