aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1992-01-08 01:58:52 +0000
committerJim Blandy1992-01-08 01:58:52 +0000
commite652a34a67f502767cd6e06800690438e4843a18 (patch)
treed962b99cf02425f421e80cffa1439c88df2a383f
parent2076c87c104703a6906f46306e28971c05a18b48 (diff)
downloademacs-e652a34a67f502767cd6e06800690438e4843a18.tar.gz
emacs-e652a34a67f502767cd6e06800690438e4843a18.zip
*** empty log message ***
-rw-r--r--etc/TUTORIAL52
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL
index 993de7ce0b2..db88bc3ed74 100644
--- a/etc/TUTORIAL
+++ b/etc/TUTORIAL
@@ -675,6 +675,58 @@ Reverse search. Everything that applies to C-s applies to C-r except
675that the direction of the search is reversed. 675that the direction of the search is reversed.
676 676
677 677
678MULTIPLE WINDOWS
679----------------
680
681One of the nice features of Emacs is that you can display more than one
682window 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
698You can keep using C-x o to switch between the windows. Each
699window has its own cursor position, but only one window actually
700shows the cursor. All the ordinary editing commands apply to the
701window that the cursor is in.
702
703The command C-M-v is very useful when you are editing text in one
704window and using the other window just for reference. You can keep
705the cursor always in the window where you are editing, and edit
706there 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
711of the top one. Think of this command as "Keep just one
712window--the window I am already in.")
713
714You don't have to display the same buffer in both windows. If
715you use C-x C-f to find a file in one window, the other window
716doesn't change. You can pick a file in each window
717independently.
718
719Here is another way to use two windows to display two different
720things:
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
678RECURSIVE EDITING LEVELS 730RECURSIVE EDITING LEVELS
679------------------------ 731------------------------
680 732