From bb63d706891927d6badec815fae773e8b411cf74 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 7 Apr 2006 02:00:57 +0000 Subject: [PATCH] (Basic Indent): Clarify relationship of C-j to TAB. --- man/ChangeLog | 4 ++++ man/programs.texi | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/man/ChangeLog b/man/ChangeLog index 4835006dc73..22115bb7e5c 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,7 @@ +2006-04-06 Richard Stallman + + * programs.texi (Basic Indent): Clarify relationship of C-j to TAB. + 2006-04-06 Eli Zaretskii * killing.texi (Rectangles): Add index entry for marking a diff --git a/man/programs.texi b/man/programs.texi index 9ec4f7ff2d3..12e594c1868 100644 --- a/man/programs.texi +++ b/man/programs.texi @@ -360,7 +360,8 @@ usual conventions of the language you are editing. @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 @@ the characters around it. @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 -- 2.39.2