[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reindent-then-newline-and-indent has changed its behavior
From: |
Klaus Zeitler |
Subject: |
reindent-then-newline-and-indent has changed its behavior |
Date: |
Fri, 24 Oct 2003 14:39:33 +0200 (MEST) |
Symptoms:
The behavior of reindent-then-newline-and-indent has changed in CVS emacs.
Lets say I have in my buffer (_ denotes a blank)
--- snip ---
____line1;
____line2;
____line3;
--- snip ---
When I try reindent-then-newline-and-indent e.g. at the beginning of line2
(or anywhere upto the first non-blank character), the buffer contents change
to:
--- snip ---
____line1;
____
____line2;
____line3;
--- snip ---
i.e. the line that got inserted contains unnecessary whitespace. This didn't
happen in 21.3.
In GNU Emacs 21.3.50.4 (sparc-sun-solaris2.8, Motif Version 2.1.0)
of 2003-10-21 on sfsws4
configured using `configure '--with-gcc'
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs'
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share'
'--with-x-toolkit=motif'
'--x-includes=/usr/openwin/include:/usr/local/gnu/include'
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib' '--with-pop' 'CC=gcc''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: C
Minor modes in effect:
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
unify-8859-on-encoding-mode: t
line-number-mode: t
abbrev-mode: t
Recent input:
<left> <left> C-k <return> <left> <left> <left> <up>
<down> <backspace> <backspace> <backspace> <down> <return>
l i n e 3 ; <up> <left> <left> <left> <left> <left>
<left> SPC SPC <right> <right> <right> <right> <right>
<right> <return> <backspace> <backspace> <backspace>
<up> <right> <return> <left> <left> <left> <backspace>
<backspace> <backspace> <down> <up> <right> <right>
<right> <left> <return> <left> <left> <left> <backspace>
<backspace> <backspace> <help-echo> <help-echo> <help-echo>
<help-echo> C-x C-b <help-echo> <help-echo> <prior>
<down-mouse-1> <mouse-1> <help-echo> <help-echo> <menu-bar>
<help-menu> <report-emacs-bug> <down-mouse-1> <mouse-1>
C-g <down-mouse-1> <mouse-1> <help-echo> <help-echo>
<help-echo> <down-mouse-1> <mouse-1> C-h k <help-echo>
<help-echo> <menu-bar> <help-menu> <report-emacs-bug>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
(New file)
Loading cc-mode...done
Loading help-mode...done
Loading help-fns...done
Type C-x 1 to remove help window. C-M-v to scroll the help.
Auto-saving...done
call-interactively: Beginning of buffer
Loading emacsbug...done
Quit
Type C-x 4 b RET to restore the other window. C-M-v to scroll the help.
- reindent-then-newline-and-indent has changed its behavior,
Klaus Zeitler <=