comparison etc/TUTORIAL @ 476:6d25047306d9

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Wed, 08 Jan 1992 01:58:52 +0000
parents edf8af31003b
children ab9a55b26bd4
comparison
equal deleted inserted replaced
475:fb215f87f4a9 476:6d25047306d9
673 search for something earlier in the text? To do this, type C-r for 673 search for something earlier in the text? To do this, type C-r for
674 Reverse search. Everything that applies to C-s applies to C-r except 674 Reverse search. Everything that applies to C-s applies to C-r except
675 that the direction of the search is reversed. 675 that the direction of the search is reversed.
676 676
677 677
678 MULTIPLE WINDOWS
679 ----------------
680
681 One of the nice features of Emacs is that you can display more than one
682 window on the screen at the same time.
683
684 >> Move the cursor to this line and type C-u 0 C-l.
685
686 >> Now type C-x 2 which splits the screen into two windows.
687 Both windows display this tutorial. The cursor stays in the top window.
688
689 >> Type C-M-v to scroll the bottom window.
690
691 >> Type C-x o ("o" for "other") to move the cursor to the bottom window.
692 >> Use C-v and M-v in the bottom window to scroll it.
693 Keep reading these directions in the top window.
694
695 >> Type C-x o again to move the cursor back to the top window.
696 The cursor is still just where it was in the top window before.
697
698 You can keep using C-x o to switch between the windows. Each
699 window has its own cursor position, but only one window actually
700 shows the cursor. All the ordinary editing commands apply to the
701 window that the cursor is in.
702
703 The command C-M-v is very useful when you are editing text in one
704 window and using the other window just for reference. You can keep
705 the cursor always in the window where you are editing, and edit
706 there as you advance through the other window.
707
708 >> Type C-x 1 (in the top window) to get rid of the bottom window.
709
710 (If you had typed C-x 1 in the bottom window, that would get rid
711 of the top one. Think of this command as "Keep just one
712 window--the window I am already in.")
713
714 You don't have to display the same buffer in both windows. If
715 you use C-x C-f to find a file in one window, the other window
716 doesn't change. You can pick a file in each window
717 independently.
718
719 Here is another way to use two windows to display two different
720 things:
721
722 >> Type C-x 4 C-f followed by the name of one of your files.
723 End with <RETURN>. See the specified file appear in the bottom
724 window. The cursor goes there, too.
725
726 >> Type C-x o to go back to the top window, and C-x 1 to delete
727 the bottom window.
728
729
678 RECURSIVE EDITING LEVELS 730 RECURSIVE EDITING LEVELS
679 ------------------------ 731 ------------------------
680 732
681 Sometimes you will get into what is called a "recursive editing 733 Sometimes you will get into what is called a "recursive editing
682 level". This is indicated by square brackets in the mode line, 734 level". This is indicated by square brackets in the mode line,