home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / baseline / jove-4.14.6.lha / jove-4.14.6 / doc / jove.2 < prev    next >
Text File  |  1992-01-10  |  39KB  |  1,123 lines

  1. .NH 1
  2. Commands for English Text
  3. .XS \n(PN
  4. \*(SN Commands for English Text
  5. .XE
  6. .LP
  7. \s-2JOVE\s0 has many commands that work on the basic units of English text:
  8. words, sentences and paragraphs.
  9. .NH 2
  10. Word Commands
  11. .XS \n(PN 5n
  12. \*(SN Word Commands
  13. .XE
  14. .LP
  15. \s-2JOVE\s0 has commands for moving over or operating on words.
  16. By convention,
  17. they are all ESC commands.
  18. .IP "ESC F" 20n
  19. Move Forward over a word.
  20. .IP "ESC B" 20n
  21. Move Backward over a word.
  22. .IP "ESC D" 20n
  23. Kill forward to the end of a word.
  24. .IP "ESC DEL" 20n
  25. Kill backward to the beginning of a word.
  26. .LP
  27. Notice how these commands form a group that parallels the character-
  28. based commands,
  29. C-F,
  30. C-B,
  31. C-D,
  32. and DEL.
  33. .LP
  34. The commands ESC F and ESC B move forward and backward over words.
  35. They are thus analogous to Control-F and Control-B,
  36. which move over single characters.
  37. Like their Control- analogues,
  38. ESC F and ESC B move several words if given an argument.
  39. ESC F with a negative argument moves backward like ESC B,
  40. and ESC B with a negative argument moves forward.
  41. Forward motion stops right after the last letter of the word,
  42. while backward motion stops right before the first letter.
  43. .LP
  44. It is easy to kill a word at a time.
  45. ESC D kills the word after point.
  46. To be precise,
  47. it kills everything from point to the place ESC F would move to.
  48. Thus,
  49. if point is in the middle of a word,
  50. only the part after point is killed.
  51. If some punctuation comes after point,
  52. and before the next word,
  53. it is killed along with the word.
  54. If you wish to kill only the next word but not the punctuation,
  55. simply do ESC F to get to the end,
  56. and kill the word backwards with ESC DEL.
  57. ESC D takes arguments just like ESC F.
  58. .LP
  59. ESC DEL kills the word before point.
  60. It kills everything from point back to where ESC B would move to.
  61. If point is after the space in "FOO, BAR",
  62. then "FOO, " is killed.
  63. If you wish to kill just "FOO",
  64. then do a ESC B and a ESC D instead of a ESC DEL.
  65. .NH 2
  66. Sentence Commands
  67. .XS \n(PN 5n
  68. \*(SN Sentence Commands
  69. .XE
  70. .LP
  71. The \s-2JOVE\s0 commands for manipulating sentences and paragraphs are
  72. mostly ESC commands,
  73. so as to resemble the word-handling commands.
  74. .IP "ESC A" 20n
  75. Move back to the beginning of the sentence.
  76. .IP "ESC E" 20n
  77. Move forward to the end of the sentence.
  78. .IP "ESC K" 20n
  79. Kill forward to the end of the sentence.
  80. .IP "C-X DEL" 20n
  81. Kill back to the beginning of the sentence.
  82. .LP
  83. The commands ESC A and ESC E move to the beginning and end of the
  84. current sentence,
  85. respectively.
  86. They were chosen to resemble
  87. Control-A and Control-E,
  88. which move to the beginning and end of a line.
  89. Unlike them,
  90. ESC A and ESC E if repeated or given numeric arguments
  91. move over successive sentences.
  92. \s-2JOVE\s0 considers a sentence to end wherever there is a ".",
  93. "?", or "!" followed by the end of a line
  94. or by one or more spaces.
  95. Neither ESC A nor ESC E moves past the
  96. end of the line or spaces which delimit the sentence.
  97. .LP
  98. Just as C-A and C-E have a kill command,
  99. C-K,
  100. to go with them,
  101. so ESC A and ESC E have a corresponding kill command ESC K which kills from
  102. point to the end of the sentence.
  103. With minus one as an argument it
  104. kills back to the beginning of the sentence.
  105. Positive arguments serve as a repeat count.
  106. .LP
  107. There is a special command,
  108. C-X DEL for killing back to the beginning of a sentence,
  109. because this is useful when you change your
  110. mind in the middle of composing text.
  111. .NH 2
  112. Paragraph Commands
  113. .XS \n(PN 5n
  114. \*(SN Paragraph Commands
  115. .XE
  116. .LP
  117. The \s-2JOVE\s0 commands for handling paragraphs are
  118. .IP "ESC [" 20n
  119. Move back to previous paragraph beginning.
  120. .IP "ESC ]" 20n
  121. Move forward to next paragraph end.
  122. .LP
  123. ESC [ moves to the beginning of the current or previous paragraph, while
  124. ESC ] moves to the end of the current or next paragraph.  Paragraphs are
  125. delimited by lines of differing indent, or lines with text formatter
  126. commands, or blank lines.  \s-2JOVE\s0 knows how to deal with most indented
  127. paragraphs correctly, although it can get confused by one- or two-line
  128. paragraphs delimited only by indentation.
  129. .NH 2
  130. Text Indentation Commands
  131. .XS \n(PN 5n
  132. \*(SN Text Indentation Commands
  133. .XE
  134. .LP
  135. .IP "Tab" 20n
  136. Indent "appropriately" in a mode-dependent fashion.
  137. .IP "LineFeed" 20n
  138. Is the same as Return,
  139. except it copies the indent of the line you just left.
  140. .IP "ESC M" 20n
  141. Moves to the line's first non-blank character.
  142. .LP
  143. .LP
  144. The way to request indentation is with the Tab command.
  145. Its precise effect depends on the major mode.
  146. In \fIText\fP mode,
  147. it indents to the next tab stop.
  148. In \fIC\fP mode,
  149. it indents to the "right" position for C programs.
  150. .LP
  151. To move over the indentation on a line,
  152. do ESC M (\fIfirst-non-blank\fP).
  153. This command,
  154. given anywhere on a line,
  155. positions the cursor at the first non-blank, non-tab character on the line.
  156. .NH 2
  157. Text Filling
  158. .XS \n(PN 5n
  159. \*(SN Text Filling
  160. .XE
  161. .LP
  162. \fIAuto Fill\fP mode causes text to be \fIfilled\fP
  163. (broken up into lines that fit in a specified width)
  164. automatically as you type it in.
  165. If you alter existing text so that it is no longer properly filled,
  166. \s-2JOVE\s0 can fill it again if you ask.
  167. .LP
  168. Entering \fIAuto Fill\fP mode is done with ESC X \fIauto-fill-mode\fP.
  169. From then on,
  170. lines are broken automatically at spaces when they get longer than the
  171. desired width.
  172. To leave \fIAuto Fill\fP mode,
  173. once again execute ESC X \fIauto-fill-mode\fP.
  174. When \fIAuto Fill\fP mode is in effect,
  175. the word \fBFill\fP appears in the mode line.
  176. .LP
  177. If you edit the middle of a paragraph,
  178. it may no longer correctly be filled.
  179. To refill a paragraph,
  180. use the command ESC J (\fIfill-paragraph\fP).
  181. It causes the paragraph that point is inside to be filled.
  182. All the line breaks are removed and new ones inserted where necessary.
  183. .LP
  184. The maximum line width for filling is in the variable \fIright-margin\fP.
  185. Both ESC J and auto-fill make sure that no line exceeds this width.
  186. The value of \fIright-margin\fP is initially 78.
  187. .LP
  188. Normally ESC J figures out the indent of the paragraph and uses that same
  189. indent when filling.  If you want to change the indent of a paragraph you
  190. set \fIleft-margin\fP to the new position and type C-U\ ESC\ J.
  191. \fIfill-paragraph\fP, when supplied a numeric argument, uses the value of
  192. \fIleft-margin\fP.
  193. .LP
  194. If you know where you want to set the right margin but you don't know the
  195. actual value, move to where you want to set the value and use the
  196. \fIright-margin-here\fP command.  \fIleft-margin-here\fP does the same
  197. for the \fIleft-margin\fP variable.
  198. .NH 2
  199. Case Conversion Commands
  200. .XS \n(PN 5n
  201. \*(SN Case Conversion Commands
  202. .XE
  203. .LP
  204. .IP "ESC L" 15n
  205. Convert following word to lower case.
  206. .IP "ESC U" 15n
  207. Convert following word to upper case.
  208. .IP "ESC C" 15n
  209. Capitalize the following word.
  210. .LP
  211. .LP
  212. The word conversion commands are most useful.
  213. ESC L converts the word after point to lower case,
  214. moving past it.
  215. Thus,
  216. successive ESC L's convert successive words.
  217. ESC U converts to all capitals instead,
  218. while ESC C puts the first letter of the word into upper case and the
  219. rest into lower case.
  220. All these commands convert several words at once if given an argument.
  221. They are especially convenient for
  222. converting a large amount of text from all upper case to mixed case,
  223. because you can move through the test using ESC L,
  224. ESC U or ESC C on each word as appropriate.
  225. .LP
  226. When given a negative argument,
  227. the word case conversion commands apply to
  228. the appropriate number of words before point,
  229. but do not move point.
  230. This is convenient when you have just typed a word in the wrong case.
  231. You can give the case conversion command and continue typing.
  232. .LP
  233. If a word case conversion command is given in the middle of a word,
  234. it applies only to the part of the word which follows the cursor,
  235. treating it as a whole word.
  236. .LP
  237. The other case conversion functions are \fIcase-region-upper\fP and
  238. \fIcase-region-lower\fP,
  239. which convert everything between point and mark to the specified case.
  240. Point and mark remain unchanged.
  241. .NH 2
  242. Commands for Fixing Typos
  243. .XS \n(PN 5n
  244. \*(SN Commands for Fixing Typos
  245. .XE
  246. .LP
  247. In this section we describe the commands that are especially useful
  248. for the times when you catch a mistake on your text after you have made it,
  249. or change your mind while composing text on line.
  250. .IP "DEL" 25n
  251. Delete last character.
  252. .I