[7401] in Athena Bugs
rt 7.2R: Emacs (TeX-mode)
daemon@ATHENA.MIT.EDU (George A. Madrid)
Fri Apr 5 02:15:57 1991
To: bugs@ATHENA.MIT.EDU
Date: Fri, 05 Apr 91 02:15:47 EST
From: George A. Madrid <gamadrid@ATHENA.MIT.EDU>
System name: bill-the-cat
Type and version: RTPC-ROMPC 7.2R
Display type: apa16
What were you trying to do?
Edit a long comment in Emacs.
What's wrong:
M-j (indent-new-comment-line) doesn't do quite what it should.
Given a long sequence of comment characters and another line with a
single comment character on it, hitting M-j inserts too many comment
characters. To see the errant behavior, do this:
C-x b junk.tex
M-x tex-mode
C-u 78 %<RET>
% M-j
You get a whole slew of comment characters that looks something like this:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
What should have happened:
You should get a single comment character and something that looks like this:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
Please describe any relevant documentation references:
The GNU Emacs manual.