changeset 69833:3bdd218d87df

(Basic Indent): Clarify relationship of C-j to TAB.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 2006 02:00:27 +0000
parents ca39bab5782f
children 30e17a4b4afc
files man/programs.texi
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/man/programs.texi	Thu Apr 06 20:26:11 2006 +0000
+++ b/man/programs.texi	Fri Apr 07 02:00:27 2006 +0000
@@ -360,7 +360,8 @@
 @item @key{TAB}
 Adjust indentation of current line.
 @item C-j
-Equivalent to @key{RET} followed by @key{TAB} (@code{newline-and-indent}).
+Insert a newline, then adjust indentation of following line
+(@code{newline-and-indent}).
 @end table
 
 @kindex TAB @r{(programming modes)}
@@ -385,9 +386,10 @@
 @kindex C-j
 @findex newline-and-indent
   When entering lines of new code, use @kbd{C-j}
-(@code{newline-and-indent}), which is equivalent to @key{RET}
-followed by @key{TAB}.  @kbd{C-j} at the end of a line creates a
-blank line and then gives it the appropriate indentation.
+(@code{newline-and-indent}), which inserts a newline and then adjusts
+indentation after it.  Thus, @kbd{C-j} at the end of a line creates a
+blank line with appropriate indentation.  In programming language
+modes, it is equivalent to @key{RET} @key{TAB}.
 
   @key{TAB} indents a line that starts within a parenthetical grouping
 under the preceding line within the grouping, or the text after the