Mercurial > emacs
comparison man/fixit.texi @ 38204:baa9ae31d281
Say "expression" instead of "sexp". Update xref, Sexps -> Expressions.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Jun 2001 13:21:07 +0000 |
parents | 939c227505cd |
children | 5464ee1ba8e2 |
comparison
equal
deleted
inserted
replaced
38203:afc3a9e55ac4 | 38204:baa9ae31d281 |
---|---|
101 dragging the word preceding or containing point forward as well. The | 101 dragging the word preceding or containing point forward as well. The |
102 punctuation characters between the words do not move. For example, | 102 punctuation characters between the words do not move. For example, |
103 @w{@samp{FOO, BAR}} transposes into @w{@samp{BAR, FOO}} rather than | 103 @w{@samp{FOO, BAR}} transposes into @w{@samp{BAR, FOO}} rather than |
104 @samp{@w{BAR FOO,}}. | 104 @samp{@w{BAR FOO,}}. |
105 | 105 |
106 @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for transposing | 106 @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for |
107 two expressions (@pxref{Lists}), and @kbd{C-x C-t} (@code{transpose-lines}) | 107 transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} |
108 exchanges lines. They work like @kbd{M-t} except in determining the | 108 (@code{transpose-lines}) exchanges lines. They work like @kbd{M-t} |
109 division of the text into syntactic units. | 109 except in determining the division of the text into syntactic units. |
110 | 110 |
111 A numeric argument to a transpose command serves as a repeat count: it | 111 A numeric argument to a transpose command serves as a repeat count: it |
112 tells the transpose command to move the character (word, sexp, line) | 112 tells the transpose command to move the character (word, expression, line) |
113 before or containing point across several other characters (words, | 113 before or containing point across several other characters (words, |
114 sexps, lines). For example, @kbd{C-u 3 C-t} moves the character before | 114 expressions, lines). For example, @kbd{C-u 3 C-t} moves the character before |
115 point forward across three other characters. It would change | 115 point forward across three other characters. It would change |
116 @samp{f@point{}oobar} into @samp{oobf@point{}ar}. This is equivalent to | 116 @samp{f@point{}oobar} into @samp{oobf@point{}ar}. This is equivalent to |
117 repeating @kbd{C-t} three times. @kbd{C-u - 4 M-t} moves the word | 117 repeating @kbd{C-t} three times. @kbd{C-u - 4 M-t} moves the word |
118 before point backward across four words. @kbd{C-u - C-M-t} would cancel | 118 before point backward across four words. @kbd{C-u - C-M-t} would cancel |
119 the effect of plain @kbd{C-M-t}.@refill | 119 the effect of plain @kbd{C-M-t}.@refill |
120 | 120 |
121 A numeric argument of zero is assigned a special meaning (because | 121 A numeric argument of zero is assigned a special meaning (because |
122 otherwise a command with a repeat count of zero would do nothing): to | 122 otherwise a command with a repeat count of zero would do nothing): to |
123 transpose the character (word, sexp, line) ending after point with the | 123 transpose the character (word, expression, line) ending after point |
124 one ending after the mark. | 124 with the one ending after the mark. |
125 | 125 |
126 @node Fixing Case | 126 @node Fixing Case |
127 @section Case Conversion | 127 @section Case Conversion |
128 | 128 |
129 @table @kbd | 129 @table @kbd |