Use only the keyboard to answer the following:

On the keyboard alone emacs has always offered a full set of editing possi-
bilities. Generally several techniques will accomplish the same goal for any

editing task. In the X environment the choice is enlarged still further with
a new group of mouse-oriented visual alternatives. From these options you
must select the way that you like to solve a given editing puzzle best.
Consider this Shakespearean fragment:
1. Full fathom five thy father lies;
2. Of his bones are coral made;
3. Those are pearls that were his eyes:
4. Nothing of him that doth fade,
5. But doth suffer a sea-change
6. Into something rich and strange.
7. Sea-nymphs hourly ring his knell:
8. Ding-dong.
9. Hark! now I hear them--
10. Ding-dong, bell!
The following fragment has been typed with some errors:
1. Full fathiom five tyy father lies;
2. These are pearls that were his eyes:
3. Of his bones are coral made;
4. Nothin of him that doth fade,
5. But doth susffer a sea-change
6. Into something rich and strange.
7. Sea-nymphs hourly ring his knell:
8. Ding=dong.
9. Hard! now I hear them--
10. Ding-dong, bell!

a. How many ways can you think of to move the cursor to the spelling
errors?
b. Once the cursor is on or near the errors, how many ways can you think
of to fix them?
c. Are there ways to fix errors without explicitly navigating to or searching
for them? How many can you think of?
d. Lines 2 and 3 in the retyped material are transposed. How many ways can
you think of to correct this situation?


a. There are many commands that move the cursor appropriately: move by
characters (CONTROL-F/B or ARROW keys), by words (META-F/B), by lines (CONTROL-N/P),
or by using a spelling program (META-x spell-buffer).
b. You can delete a word with META-d (forward) or META-DELETE (backward) and
then type the correct word. If the spelling error is minor, you can delete char-
acters with CONTROL-DELETE (under cursor) or DELETE (to the left) and then insert
characters as appropriate.
c. You can use a spelling program that prompts you with corrections (META-x
spell-buffer). Other spelling programs exist as well, which have their own
ways to use them. Give the command
META-x command-approposRETURN spellRETURN
to display a list.
d. You can delete the lines and retype them, or you can kill the first line with
CONTROL-U 1 CONTROL-K, move the cursor down a line, and yank the deleted line
with CONTROL-Y.

Computer Science & Information Technology

You might also like to view...

Write the code necessary to find the largest element in an unsorted array of integers. What is the time complexity of this algorithm?

What will be an ideal response?

Computer Science & Information Technology

Excel determines the messages returned when a data validation error occurs

Indicate whether the statement is true or false

Computer Science & Information Technology

Converting a range of cells in a worksheet to an Excel table is done primarily to have a larger selection of styles

Indicate whether the statement is true or false.

Computer Science & Information Technology

A ring topology is also known as a(n) ________ topology.

What will be an ideal response?

Computer Science & Information Technology