DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ e

⟦75995c15e⟧

    Length: 51679 (0xc9df)
    Names: »emacs-10«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/gnu-31mar87/emacs/info/emacs-10« 

Hex Dump

0x0000…0020 49 6e 66 6f 20 66 69 6c 65 20 65 6d 61 63 73 2c 20 70 72 6f 64 75 63 65 64 20 62 79 20 74 65 78   ┆Info file emacs, produced by tex┆
0x0020…0040 69 6e 66 6f 2d 66 6f 72 6d 61 74 2d 62 75 66 66 65 72 20 20 20 2d 2a 2d 54 65 78 74 2d 2a 2d 0a   ┆info-format-buffer   -*-Text-*- ┆
0x0040…0060 66 72 6f 6d 20 66 69 6c 65 20 65 6d 61 63 73 2e 74 65 78 0a 0a 54 68 69 73 20 66 69 6c 65 20 64   ┆from file emacs.tex  This file d┆
0x0060…0080 6f 63 75 6d 65 6e 74 73 20 74 68 65 20 47 4e 55 20 45 6d 61 63 73 20 65 64 69 74 6f 72 2e 0a 0a   ┆ocuments the GNU Emacs editor.  ┆
0x0080…00a0 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 31 39 38 35 2c 20 31 39 38 36 20 52 69 63 68 61 72 64   ┆Copyright (C) 1985, 1986 Richard┆
0x00a0…00c0 20 4d 2e 20 53 74 61 6c 6c 6d 61 6e 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 67 72 61   ┆ M. Stallman.  Permission is gra┆
0x00c0…00e0 6e 74 65 64 20 74 6f 20 6d 61 6b 65 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 76 65 72 62   ┆nted to make and distribute verb┆
0x00e0…0100 61 74 69 6d 20 63 6f 70 69 65 73 20 6f 66 0a 74 68 69 73 20 6d 61 6e 75 61 6c 20 70 72 6f 76 69   ┆atim copies of this manual provi┆
0x0100…0120 64 65 64 20 74 68 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 74 68 69   ┆ded the copyright notice and thi┆
0x0120…0140 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 0a 61 72 65 20 70 72 65 73 65 72 76 65   ┆s permission notice are preserve┆
0x0140…0160 64 20 6f 6e 20 61 6c 6c 20 63 6f 70 69 65 73 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20   ┆d on all copies.  Permission is ┆
0x0160…0180 67 72 61 6e 74 65 64 20 74 6f 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 6d   ┆granted to copy and distribute m┆
0x0180…01a0 6f 64 69 66 69 65 64 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 74 68 69 73 0a 6d 61 6e 75 61 6c 20   ┆odified versions of this manual ┆
0x01a0…01c0 75 6e 64 65 72 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 66 6f 72 20 76 65 72 62 61 74 69   ┆under the conditions for verbati┆
0x01c0…01e0 6d 20 63 6f 70 79 69 6e 67 2c 20 70 72 6f 76 69 64 65 64 20 61 6c 73 6f 20 74 68 61 74 20 74 68   ┆m copying, provided also that th┆
0x01e0…0200 65 0a 73 65 63 74 69 6f 6e 73 20 65 6e 74 69 74 6c 65 64 20 22 54 68 65 20 47 4e 55 20 4d 61 6e   ┆e sections entitled "The GNU Man┆
0x0200…0220 69 66 65 73 74 6f 22 2c 20 22 44 69 73 74 72 69 62 75 74 69 6f 6e 22 20 61 6e 64 20 22 47 4e 55   ┆ifesto", "Distribution" and "GNU┆
0x0220…0240 20 45 6d 61 63 73 0a 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 22 20 61   ┆ Emacs General Public License" a┆
0x0240…0260 72 65 20 69 6e 63 6c 75 64 65 64 20 65 78 61 63 74 6c 79 20 61 73 20 69 6e 20 74 68 65 20 6f 72   ┆re included exactly as in the or┆
0x0260…0280 69 67 69 6e 61 6c 2c 20 61 6e 64 0a 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 65 6e   ┆iginal, and provided that the en┆
0x0280…02a0 74 69 72 65 20 72 65 73 75 6c 74 69 6e 67 20 64 65 72 69 76 65 64 20 77 6f 72 6b 20 69 73 20 64   ┆tire resulting derived work is d┆
0x02a0…02c0 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 0a 74 65 72 6d 73 20 6f 66 20 61 20   ┆istributed under the terms of a ┆
0x02c0…02e0 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 69 64 65 6e 74 69 63 61 6c 20 74 6f 20 74   ┆permission notice identical to t┆
0x02e0…0300 68 69 73 20 6f 6e 65 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 67 72 61 6e 74 65 64 20   ┆his one.  Permission is granted ┆
0x0300…0320 74 6f 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 72 61 6e 73 6c 61 74 69   ┆to copy and distribute translati┆
0x0320…0340 6f 6e 73 20 6f 66 20 74 68 69 73 20 6d 61 6e 75 61 6c 0a 69 6e 74 6f 20 61 6e 6f 74 68 65 72 20   ┆ons of this manual into another ┆
0x0340…0360 6c 61 6e 67 75 61 67 65 2c 20 75 6e 64 65 72 20 74 68 65 20 61 62 6f 76 65 20 63 6f 6e 64 69 74   ┆language, under the above condit┆
0x0360…0380 69 6f 6e 73 20 66 6f 72 20 6d 6f 64 69 66 69 65 64 20 76 65 72 73 69 6f 6e 73 2c 0a 65 78 63 65   ┆ions for modified versions, exce┆
0x0380…03a0 70 74 20 74 68 61 74 20 74 68 65 20 73 65 63 74 69 6f 6e 73 20 65 6e 74 69 74 6c 65 64 20 22 54   ┆pt that the sections entitled "T┆
0x03a0…03c0 68 65 20 47 4e 55 20 4d 61 6e 69 66 65 73 74 6f 22 2c 20 22 44 69 73 74 72 69 62 75 74 69 6f 6e   ┆he GNU Manifesto", "Distribution┆
0x03c0…03e0 22 0a 61 6e 64 20 22 47 4e 55 20 45 6d 61 63 73 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20   ┆" and "GNU Emacs General Public ┆
0x03e0…0400 4c 69 63 65 6e 73 65 22 20 6d 61 79 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 61 20 74 72   ┆License" may be included in a tr┆
0x0400…0420 61 6e 73 6c 61 74 69 6f 6e 0a 61 70 70 72 6f 76 65 64 20 62 79 20 74 68 65 20 61 75 74 68 6f 72   ┆anslation approved by the author┆
0x0420…0440 20 69 6e 73 74 65 61 64 20 6f 66 20 69 6e 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 45 6e 67 6c   ┆ instead of in the original Engl┆
0x0440…0460 69 73 68 2e 0a 0a 1f 0a 46 69 6c 65 3a 20 65 6d 61 63 73 20 20 4e 6f 64 65 3a 20 53 68 65 6c 6c   ┆ish.    File: emacs  Node: Shell┆
0x0460…0480 2c 20 50 72 65 76 3a 20 53 6f 72 74 69 6e 67 2c 20 55 70 3a 20 54 6f 70 2c 20 4e 65 78 74 3a 20   ┆, Prev: Sorting, Up: Top, Next: ┆
0x0480…04a0 48 61 72 64 63 6f 70 79 0a 0a 52 75 6e 6e 69 6e 67 20 53 68 65 6c 6c 20 43 6f 6d 6d 61 6e 64 73   ┆Hardcopy  Running Shell Commands┆
0x04a0…04c0 20 66 72 6f 6d 20 45 6d 61 63 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d   ┆ from Emacs ====================┆
0x04c0…04e0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 20 20 45 6d 61 63 73 20 68 61 73 20 63 6f 6d 6d 61   ┆=============    Emacs has comma┆
0x04e0…0500 6e 64 73 20 66 6f 72 20 70 61 73 73 69 6e 67 20 73 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e 64 20 6c   ┆nds for passing single command l┆
0x0500…0520 69 6e 65 73 20 74 6f 20 69 6e 66 65 72 69 6f 72 20 73 68 65 6c 6c 0a 70 72 6f 63 65 73 73 65 73   ┆ines to inferior shell processes┆
0x0520…0540 3b 20 69 74 20 63 61 6e 20 61 6c 73 6f 20 72 75 6e 20 61 20 73 68 65 6c 6c 20 69 6e 74 65 72 61   ┆; it can also run a shell intera┆
0x0540…0560 63 74 69 76 65 6c 79 20 77 69 74 68 20 69 6e 70 75 74 20 61 6e 64 20 6f 75 74 70 75 74 20 74 6f   ┆ctively with input and output to┆
0x0560…0580 0a 61 6e 20 45 6d 61 63 73 20 62 75 66 66 65 72 20 60 2a 73 68 65 6c 6c 2a 27 2e 0a 0a 60 4d 2d   ┆ an Emacs buffer `*shell*'.  `M-┆
0x0580…05a0 21 27 20 20 20 20 20 0a 20 20 20 20 20 52 75 6e 20 61 20 73 70 65 63 69 66 69 65 64 20 73 68 65   ┆!'           Run a specified she┆
0x05a0…05c0 6c 6c 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 61 6e 64 20 64 69 73 70 6c 61 79 20 74 68 65 20   ┆ll command line and display the ┆
0x05c0…05e0 6f 75 74 70 75 74 0a 20 20 20 20 20 28 60 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 27 29 2e 0a 60   ┆output      (`shell-command'). `┆
0x05e0…0600 4d 2d 7c 27 20 20 20 20 20 0a 20 20 20 20 20 52 75 6e 20 61 20 73 70 65 63 69 66 69 65 64 20 73   ┆M-|'           Run a specified s┆
0x0600…0620 68 65 6c 6c 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 77 69 74 68 20 72 65 67 69 6f 6e 20 63 6f   ┆hell command line with region co┆
0x0620…0640 6e 74 65 6e 74 73 20 61 73 20 69 6e 70 75 74 3b 0a 20 20 20 20 20 6f 70 74 69 6f 6e 61 6c 6c 79   ┆ntents as input;      optionally┆
0x0640…0660 20 72 65 70 6c 61 63 65 20 74 68 65 20 72 65 67 69 6f 6e 20 77 69 74 68 20 74 68 65 20 6f 75 74   ┆ replace the region with the out┆
0x0660…0680 70 75 74 0a 20 20 20 20 20 28 60 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 2d 6f 6e 2d 72 65 67 69   ┆put      (`shell-command-on-regi┆
0x0680…06a0 6f 6e 27 29 2e 0a 60 4d 2d 78 20 73 68 65 6c 6c 27 20 20 20 20 20 0a 20 20 20 20 20 52 75 6e 20   ┆on'). `M-x shell'           Run ┆
0x06a0…06c0 61 20 73 75 62 73 68 65 6c 6c 20 77 69 74 68 20 69 6e 70 75 74 20 61 6e 64 20 6f 75 74 70 75 74   ┆a subshell with input and output┆
0x06c0…06e0 20 74 68 72 6f 75 67 68 20 61 6e 20 45 6d 61 63 73 20 62 75 66 66 65 72 2e 0a 20 20 20 20 20 59   ┆ through an Emacs buffer.      Y┆
0x06e0…0700 6f 75 20 63 61 6e 20 74 68 65 6e 20 67 69 76 65 20 63 6f 6d 6d 61 6e 64 73 20 69 6e 74 65 72 61   ┆ou can then give commands intera┆
0x0700…0720 63 74 69 76 65 6c 79 2e 0a 0a 2a 20 4d 65 6e 75 3a 0a 0a 2a 20 53 69 6e 67 6c 65 20 53 68 65 6c   ┆ctively.  * Menu:  * Single Shel┆
0x0720…0740 6c 3a 3a 20 20 20 20 20 20 20 20 20 48 6f 77 20 74 6f 20 72 75 6e 20 6f 6e 65 20 73 68 65 6c 6c   ┆l::         How to run one shell┆
0x0740…0760 20 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 72 65 74 75 72 6e 2e 0a 2a 20 49 6e 74 65 72 61 63 74 69   ┆ command and return. * Interacti┆
0x0760…0780 76 65 20 53 68 65 6c 6c 3a 3a 20 20 20 20 50 65 72 6d 61 6e 65 6e 74 20 73 68 65 6c 6c 20 74 61   ┆ve Shell::    Permanent shell ta┆
0x0780…07a0 6b 69 6e 67 20 69 6e 70 75 74 20 76 69 61 20 45 6d 61 63 73 2e 0a 2a 20 53 68 65 6c 6c 20 4d 6f   ┆king input via Emacs. * Shell Mo┆
0x07a0…07c0 64 65 3a 3a 20 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 61 6c 20 45 6d 61 63 73 20 63 6f 6d   ┆de::           Special Emacs com┆
0x07c0…07e0 6d 61 6e 64 73 20 75 73 65 64 20 77 69 74 68 20 70 65 72 6d 61 6e 65 6e 74 20 73 68 65 6c 6c 2e   ┆mands used with permanent shell.┆
0x07e0…0800 0a 0a 1f 0a 46 69 6c 65 3a 20 65 6d 61 63 73 20 20 4e 6f 64 65 3a 20 53 69 6e 67 6c 65 20 53 68   ┆    File: emacs  Node: Single Sh┆
0x0800…0820 65 6c 6c 2c 20 50 72 65 76 3a 20 53 68 65 6c 6c 2c 20 55 70 3a 20 53 68 65 6c 6c 2c 20 4e 65 78   ┆ell, Prev: Shell, Up: Shell, Nex┆
0x0820…0840 74 3a 20 49 6e 74 65 72 61 63 74 69 76 65 20 53 68 65 6c 6c 0a 0a 53 69 6e 67 6c 65 20 53 68 65   ┆t: Interactive Shell  Single She┆
0x0840…0860 6c 6c 20 43 6f 6d 6d 61 6e 64 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d   ┆ll Commands --------------------┆
0x0860…0880 2d 0a 0a 20 20 60 4d 2d 21 27 20 28 60 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64 27 29 20 72 65 61   ┆-    `M-!' (`shell-command') rea┆
0x0880…08a0 64 73 20 61 20 6c 69 6e 65 20 6f 66 20 74 65 78 74 20 75 73 69 6e 67 20 74 68 65 0a 6d 69 6e 69   ┆ds a line of text using the mini┆
0x08a0…08c0 62 75 66 66 65 72 20 61 6e 64 20 63 72 65 61 74 65 73 20 61 6e 20 69 6e 66 65 72 69 6f 72 20 73   ┆buffer and creates an inferior s┆
0x08c0…08e0 68 65 6c 6c 20 74 6f 20 65 78 65 63 75 74 65 20 74 68 65 20 6c 69 6e 65 20 61 73 20 61 20 63 6f   ┆hell to execute the line as a co┆
0x08e0…0900 6d 6d 61 6e 64 2e 0a 53 74 61 6e 64 61 72 64 20 69 6e 70 75 74 20 66 72 6f 6d 20 74 68 65 20 63   ┆mmand. Standard input from the c┆
0x0900…0920 6f 6d 6d 61 6e 64 20 63 6f 6d 65 73 20 66 72 6f 6d 20 74 68 65 20 6e 75 6c 6c 20 64 65 76 69 63   ┆ommand comes from the null devic┆
0x0920…0940 65 2e 20 20 49 66 20 74 68 65 20 73 68 65 6c 6c 0a 63 6f 6d 6d 61 6e 64 20 70 72 6f 64 75 63 65   ┆e.  If the shell command produce┆
0x0940…0960 73 20 61 6e 79 20 6f 75 74 70 75 74 2c 20 74 68 65 20 6f 75 74 70 75 74 20 67 6f 65 73 20 69 6e   ┆s any output, the output goes in┆
0x0960…0980 74 6f 20 61 6e 20 45 6d 61 63 73 20 62 75 66 66 65 72 20 6e 61 6d 65 64 0a 60 2a 53 68 65 6c 6c   ┆to an Emacs buffer named `*Shell┆
0x0980…09a0 20 43 6f 6d 6d 61 6e 64 20 4f 75 74 70 75 74 2a 27 2c 20 77 68 69 63 68 20 69 73 20 64 69 73 70   ┆ Command Output*', which is disp┆
0x09a0…09c0 6c 61 79 65 64 20 69 6e 20 61 6e 6f 74 68 65 72 20 77 69 6e 64 6f 77 20 62 75 74 20 6e 6f 74 0a   ┆layed in another window but not ┆
0x09c0…09e0 73 65 6c 65 63 74 65 64 2e 20 20 41 20 6e 75 6d 65 72 69 63 20 61 72 67 75 6d 65 6e 74 2c 20 61   ┆selected.  A numeric argument, a┆
0x09e0…0a00 73 20 69 6e 20 60 4d 2d 31 20 4d 2d 21 27 2c 20 64 69 72 65 63 74 73 20 74 68 69 73 20 63 6f 6d   ┆s in `M-1 M-!', directs this com┆
0x0a00…0a20 6d 61 6e 64 20 74 6f 0a 69 6e 73 65 72 74 20 61 6e 79 20 6f 75 74 70 75 74 20 69 6e 74 6f 20 74   ┆mand to insert any output into t┆
0x0a20…0a40 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72 2e 20 20 49 6e 20 74 68 61 74 20 63 61 73 65   ┆he current buffer.  In that case┆
0x0a40…0a60 2c 20 70 6f 69 6e 74 20 69 73 20 6c 65 66 74 0a 62 65 66 6f 72 65 20 74 68 65 20 6f 75 74 70 75   ┆, point is left before the outpu┆
0x0a60…0a80 74 20 61 6e 64 20 74 68 65 20 6d 61 72 6b 20 69 73 20 73 65 74 20 61 66 74 65 72 20 74 68 65 20   ┆t and the mark is set after the ┆
0x0a80…0aa0 6f 75 74 70 75 74 2e 0a 0a 20 20 60 4d 2d 7c 27 20 28 60 73 68 65 6c 6c 2d 63 6f 6d 6d 61 6e 64   ┆output.    `M-|' (`shell-command┆
0x0aa0…0ac0 2d 6f 6e 2d 72 65 67 69 6f 6e 27 29 20 69 73 20 6c 69 6b 65 20 60 4d 2d 21 27 20 62 75 74 20 70   ┆-on-region') is like `M-!' but p┆
0x0ac0…0ae0 61 73 73 65 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 0a 6f 66 20 74 68 65 20 72 65 67 69 6f 6e   ┆asses the contents of the region┆
0x0ae0…0b00 20 61 73 20 69 6e 70 75 74 20 74 6f 20 74 68 65 20 73 68 65 6c 6c 20 63 6f 6d 6d 61 6e 64 2c 20   ┆ as input to the shell command, ┆
0x0b00…0b20 69 6e 73 74 65 61 64 20 6f 66 20 6e 6f 20 69 6e 70 75 74 2e 20 20 49 66 20 61 0a 6e 75 6d 65 72   ┆instead of no input.  If a numer┆
0x0b20…0b40 69 63 20 61 72 67 75 6d 65 6e 74 20 69 73 20 75 73 65 64 2c 20 6d 65 61 6e 69 6e 67 20 69 6e 73   ┆ic argument is used, meaning ins┆
0x0b40…0b60 65 72 74 20 6f 75 74 70 75 74 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 75 66 66 65 72   ┆ert output in the current buffer┆
0x0b60…0b80 2c 20 74 68 65 6e 0a 74 68 65 20 6f 6c 64 20 72 65 67 69 6f 6e 20 69 73 20 64 65 6c 65 74 65 64   ┆, then the old region is deleted┆
0x0b80…0ba0 20 66 69 72 73 74 20 61 6e 64 20 74 68 65 20 6f 75 74 70 75 74 20 72 65 70 6c 61 63 65 73 20 69   ┆ first and the output replaces i┆
0x0ba0…0bc0 74 20 61 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 0a 6f 66 20 74 68 65 20 72 65 67 69 6f 6e 2e   ┆t as the contents of the region.┆
0x0bc0…0be0 0a 0a 20 20 42 6f 74 68 20 60 4d 2d 21 27 20 61 6e 64 20 60 4d 2d 7c 27 20 75 73 65 20 60 73 68   ┆    Both `M-!' and `M-|' use `sh┆
0x0be0…0c00 65 6c 6c 2d 66 69 6c 65 2d 6e 61 6d 65 27 20 74 6f 20 73 70 65 63 69 66 79 20 74 68 65 20 73 68   ┆ell-file-name' to specify the sh┆
0x0c00…0c20 65 6c 6c 20 74 6f 20 75 73 65 2e 0a 54 68 69 73 20 76 61 72 69 61 62 6c 65 20 69 73 20 69 6e 69   ┆ell to use. This variable is ini┆
0x0c20…0c40 74 69 61 6c 69 7a 65 64 20 62 61 73 65 64 20 6f 6e 20 79 6f 75 72 20 60 53 48 45 4c 4c 27 20 65   ┆tialized based on your `SHELL' e┆
0x0c40…0c60 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 0a 77 68 65 6e 20 45 6d 61 63 73 20 69   ┆nvironment variable when Emacs i┆
0x0c60…0c80 73 20 73 74 61 72 74 65 64 2e 20 20 49 66 20 74 68 65 20 66 69 6c 65 20 6e 61 6d 65 20 64 6f 65   ┆s started.  If the file name doe┆
0x0c80…0ca0 73 20 6e 6f 74 20 73 70 65 63 69 66 79 20 61 20 64 69 72 65 63 74 6f 72 79 2c 20 74 68 65 0a 64   ┆s not specify a directory, the d┆
0x0ca0…0cc0 69 72 65 63 74 6f 72 69 65 73 20 69 6e 20 74 68 65 20 6c 69 73 74 20 60 65 78 65 63 2d 70 61 74   ┆irectories in the list `exec-pat┆
0x0cc0…0ce0 68 27 20 61 72 65 20 73 65 61 72 63 68 65 64 3b 20 74 68 69 73 20 6c 69 73 74 20 69 73 20 69 6e   ┆h' are searched; this list is in┆
0x0ce0…0d00 69 74 69 61 6c 69 7a 65 64 0a 62 61 73 65 64 20 6f 6e 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65   ┆itialized based on the environme┆
0x0d00…0d20 6e 74 20 76 61 72 69 61 62 6c 65 20 60 50 41 54 48 27 20 77 68 65 6e 20 45 6d 61 63 73 20 69 73   ┆nt variable `PATH' when Emacs is┆
0x0d20…0d40 20 73 74 61 72 74 65 64 2e 20 20 59 6f 75 72 0a 60 2e 65 6d 61 63 73 27 20 66 69 6c 65 20 63 61   ┆ started.  Your `.emacs' file ca┆
0x0d40…0d60 6e 20 6f 76 65 72 72 69 64 65 20 65 69 74 68 65 72 20 6f 72 20 62 6f 74 68 20 6f 66 20 74 68 65   ┆n override either or both of the┆
0x0d60…0d80 73 65 20 64 65 66 61 75 6c 74 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 73 2e 0a 0a 20 20 57   ┆se default initializations.    W┆
0x0d80…0da0 69 74 68 20 60 4d 2d 21 27 20 61 6e 64 20 60 4d 2d 7c 27 2c 20 45 6d 61 63 73 20 68 61 73 20 74   ┆ith `M-!' and `M-|', Emacs has t┆
0x0da0…0dc0 6f 20 77 61 69 74 20 75 6e 74 69 6c 20 74 68 65 20 73 68 65 6c 6c 20 63 6f 6d 6d 61 6e 64 0a 63   ┆o wait until the shell command c┆
0x0dc0…0de0 6f 6d 70 6c 65 74 65 73 2e 20 20 59 6f 75 20 63 61 6e 20 71 75 69 74 20 77 69 74 68 20 60 43 2d   ┆ompletes.  You can quit with `C-┆
0x0de0…0e00 67 27 3b 20 74 68 61 74 20 74 65 72 6d 69 6e 61 74 65 73 20 74 68 65 20 73 68 65 6c 6c 20 63 6f   ┆g'; that terminates the shell co┆
0x0e00…0e20 6d 6d 61 6e 64 2e 0a 0a 1f 0a 46 69 6c 65 3a 20 65 6d 61 63 73 20 20 4e 6f 64 65 3a 20 49 6e 74   ┆mmand.    File: emacs  Node: Int┆
0x0e20…0e40 65 72 61 63 74 69 76 65 20 53 68 65 6c 6c 2c 20 50 72 65 76 3a 20 53 69 6e 67 6c 65 20 53 68 65   ┆eractive Shell, Prev: Single She┆
0x0e40…0e60 6c 6c 2c 20 55 70 3a 20 53 68 65 6c 6c 2c 20 4e 65 78 74 3a 20 53 68 65 6c 6c 20 4d 6f 64 65 0a   ┆ll, Up: Shell, Next: Shell Mode ┆
0x0e60…0e80 0a 49 6e 74 65 72 61 63 74 69 76 65 20 49 6e 66 65 72 69 6f 72 20 53 68 65 6c 6c 0a 2d 2d 2d 2d   ┆ Interactive Inferior Shell ----┆
0x0e80…0ea0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 20 20 54 6f 20 72 75 6e   ┆----------------------    To run┆
0x0ea0…0ec0 20 61 20 73 75 62 73 68 65 6c 6c 20 69 6e 74 65 72 61 63 74 69 76 65 6c 79 2c 20 70 75 74 74 69   ┆ a subshell interactively, putti┆
0x0ec0…0ee0 6e 67 20 69 74 73 20 74 79 70 65 73 63 72 69 70 74 20 69 6e 20 61 6e 20 45 6d 61 63 73 0a 62 75   ┆ng its typescript in an Emacs bu┆
0x0ee0…0f00 66 66 65 72 2c 20 75 73 65 20 60 4d 2d 78 20 73 68 65 6c 6c 27 2e 20 20 54 68 69 73 20 63 72 65   ┆ffer, use `M-x shell'.  This cre┆
0x0f00…0f20 61 74 65 73 20 28 6f 72 20 72 65 75 73 65 73 29 20 61 20 62 75 66 66 65 72 20 6e 61 6d 65 64 0a   ┆ates (or reuses) a buffer named ┆
0x0f20…0f40 60 2a 73 68 65 6c 6c 2a 27 20 61 6e 64 20 72 75 6e 73 20 61 20 73 75 62 73 68 65 6c 6c 20 77 69   ┆`*shell*' and runs a subshell wi┆
0x0f40…0f60 74 68 20 69 6e 70 75 74 20 63 6f 6d 69 6e 67 20 66 72 6f 6d 20 61 6e 64 20 6f 75 74 70 75 74 20   ┆th input coming from and output ┆
0x0f60…0f80 67 6f 69 6e 67 0a 74 6f 20 74 68 61 74 20 62 75 66 66 65 72 2e 20 20 54 68 61 74 20 69 73 20 74   ┆going to that buffer.  That is t┆
0x0f80…0fa0 6f 20 73 61 79 2c 20 61 6e 79 20 22 74 65 72 6d 69 6e 61 6c 20 6f 75 74 70 75 74 22 20 66 72 6f   ┆o say, any "terminal output" fro┆
0x0fa0…0fc0 6d 20 74 68 65 20 73 75 62 73 68 65 6c 6c 0a 77 69 6c 6c 20 67 6f 20 69 6e 74 6f 20 74 68 65 20   ┆m the subshell will go into the ┆
0x0fc0…0fe0 62 75 66 66 65 72 2c 20 61 64 76 61 6e 63 69 6e 67 20 70 6f 69 6e 74 2c 20 61 6e 64 20 61 6e 79   ┆buffer, advancing point, and any┆
0x0fe0…1000 20 22 74 65 72 6d 69 6e 61 6c 20 69 6e 70 75 74 22 20 66 6f 72 0a 74 68 65 20 73 75 62 73 68 65   ┆ "terminal input" for the subshe┆
0x1000…1020 6c 6c 20 63 6f 6d 65 73 20 66 72 6f 6d 20 74 65 78 74 20 69 6e 20 74 68 65 20 62 75 66 66 65 72   ┆ll comes from text in the buffer┆
0x1020…1040 2e 20 20 54 6f 20 67 69 76 65 20 69 6e 70 75 74 20 74 6f 20 74 68 65 20 73 75 62 73 68 65 6c 6c   ┆.  To give input to the subshell┆
0x1040…1060 2c 0a 67 6f 20 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 62 75 66 66 65 72 20 61 6e   ┆, go to the end of the buffer an┆
0x1060…1080 64 20 74 79 70 65 20 74 68 65 20 69 6e 70 75 74 2c 20 74 65 72 6d 69 6e 61 74 65 64 20 62 79 20   ┆d type the input, terminated by ┆
0x1080…10a0 52 45 54 2e 0a 0a 20 20 45 6d 61 63 73 20 64 6f 65 73 20 6e 6f 74 20 77 61 69 74 20 66 6f 72 20   ┆RET.    Emacs does not wait for ┆
0x10a0…10c0 74 68 65 20 73 75 62 73 68 65 6c 6c 20 74 6f 20 64 6f 20 61 6e 79 74 68 69 6e 67 2e 20 20 59 6f   ┆the subshell to do anything.  Yo┆
0x10c0…10e0 75 20 63 61 6e 20 73 77 69 74 63 68 0a 77 69 6e 64 6f 77 73 20 6f 72 20 62 75 66 66 65 72 73 20   ┆u can switch windows or buffers ┆
0x10e0…1100 61 6e 64 20 65 64 69 74 20 74 68 65 6d 20 77 68 69 6c 65 20 74 68 65 20 73 68 65 6c 6c 20 69 73   ┆and edit them while the shell is┆
0x1100…1120 20 77 61 69 74 69 6e 67 2c 20 6f 72 20 77 68 69 6c 65 20 69 74 20 69 73 0a 72 75 6e 6e 69 6e 67   ┆ waiting, or while it is running┆
0x1120…1140 20 61 20 63 6f 6d 6d 61 6e 64 2e 20 20 4f 75 74 70 75 74 20 66 72 6f 6d 20 74 68 65 20 73 75 62   ┆ a command.  Output from the sub┆
0x1140…1160 73 68 65 6c 6c 20 77 61 69 74 73 20 75 6e 74 69 6c 20 45 6d 61 63 73 20 68 61 73 20 74 69 6d 65   ┆shell waits until Emacs has time┆
0x1160…1180 20 74 6f 0a 70 72 6f 63 65 73 73 20 69 74 3b 20 74 68 69 73 20 68 61 70 70 65 6e 73 20 77 68 65   ┆ to process it; this happens whe┆
0x1180…11a0 6e 65 76 65 72 20 45 6d 61 63 73 20 69 73 20 77 61 69 74 69 6e 67 20 66 6f 72 20 6b 65 79 62 6f   ┆never Emacs is waiting for keybo┆
0x11a0…11c0 61 72 64 20 69 6e 70 75 74 20 6f 72 0a 66 6f 72 20 74 69 6d 65 20 74 6f 20 65 6c 61 70 73 65 2e   ┆ard input or for time to elapse.┆
0x11c0…11e0 0a 0a 20 20 49 66 20 79 6f 75 20 77 6f 75 6c 64 20 6c 69 6b 65 20 6d 75 6c 74 69 70 6c 65 20 73   ┆    If you would like multiple s┆
0x11e0…1200 75 62 73 68 65 6c 6c 73 2c 20 72 65 6e 61 6d 65 20 74 68 65 20 62 75 66 66 65 72 20 60 2a 53 68   ┆ubshells, rename the buffer `*Sh┆
0x1200…1220 65 6c 6c 2a 27 0a 75 73 69 6e 67 20 60 4d 2d 78 20 72 65 6e 61 6d 65 2d 62 75 66 66 65 72 27 2e   ┆ell*' using `M-x rename-buffer'.┆
0x1220…1240 20 20 54 68 65 20 6e 65 78 74 20 75 73 65 20 6f 66 20 60 4d 2d 78 20 73 68 65 6c 6c 27 20 77 69   ┆  The next use of `M-x shell' wi┆
0x1240…1260 6c 6c 20 63 72 65 61 74 65 0a 61 20 6e 65 77 20 62 75 66 66 65 72 20 60 2a 53 68 65 6c 6c 2a 27   ┆ll create a new buffer `*Shell*'┆
0x1260…1280 20 77 69 74 68 20 69 74 73 20 6f 77 6e 20 73 75 62 73 68 65 6c 6c 2e 20 20 42 79 20 72 65 6e 61   ┆ with its own subshell.  By rena┆
0x1280…12a0 6d 69 6e 67 20 74 68 69 73 20 62 75 66 66 65 72 0a 61 73 20 77 65 6c 6c 20 79 6f 75 20 63 61 6e   ┆ming this buffer as well you can┆
0x12a0…12c0 20 63 72 65 61 74 65 20 61 20 74 68 69 72 64 20 6f 6e 65 2c 20 61 6e 64 20 73 6f 20 6f 6e 2e 20   ┆ create a third one, and so on. ┆
0x12c0…12e0 20 41 6c 6c 20 74 68 65 20 73 75 62 73 68 65 6c 6c 73 20 72 75 6e 0a 69 6e 64 65 70 65 6e 64 65   ┆ All the subshells run independe┆
0x12e0…1300 6e 74 6c 79 20 61 6e 64 20 69 6e 20 70 61 72 61 6c 6c 65 6c 2e 0a 0a 20 20 54 68 65 20 66 69 6c   ┆ntly and in parallel.    The fil┆
0x1300…1320 65 20 6e 61 6d 65 20 75 73 65 64 20 74 6f 20 6c 6f 61 64 20 74 68 65 20 73 75 62 73 68 65 6c 6c   ┆e name used to load the subshell┆
0x1320…1340 20 69 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 76 61 72 69 61 62 6c 65 0a 60 65   ┆ is the value of the variable `e┆
0x1340…1360 78 70 6c 69 63 69 74 2d 73 68 65 6c 6c 2d 66 69 6c 65 2d 6e 61 6d 65 27 2c 20 69 66 20 74 68 61   ┆xplicit-shell-file-name', if tha┆
0x1360…1380 74 20 69 73 20 6e 6f 6e 2d 60 6e 69 6c 27 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 0a   ┆t is non-`nil'.  Otherwise, the ┆
0x1380…13a0 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 20 60 45 53 48 45 4c 4c 27 20 69 73   ┆environment variable `ESHELL' is┆
0x13a0…13c0 20 75 73 65 64 2c 20 6f 72 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62   ┆ used, or the environment variab┆
0x13c0…13e0 6c 65 20 60 53 48 45 4c 4c 27 0a 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 60 45 53 48 45 4c   ┆le `SHELL' if there is no `ESHEL┆
0x13e0…1400 4c 27 2e 20 20 49 66 20 74 68 65 20 66 69 6c 65 20 6e 61 6d 65 20 73 70 65 63 69 66 69 65 64 20   ┆L'.  If the file name specified ┆
0x1400…1420 69 73 20 72 65 6c 61 74 69 76 65 2c 20 74 68 65 0a 64 69 72 65 63 74 6f 72 69 65 73 20 69 6e 20   ┆is relative, the directories in ┆
0x1420…1440 74 68 65 20 6c 69 73 74 20 60 65 78 65 63 2d 70 61 74 68 27 20 61 72 65 20 73 65 61 72 63 68 65   ┆the list `exec-path' are searche┆
0x1440…1460 64 20 28 2a 4e 6f 74 65 20 53 69 6e 67 6c 65 20 53 68 65 6c 6c 0a 43 6f 6d 6d 61 6e 64 73 3a 20   ┆d (*Note Single Shell Commands: ┆
0x1460…1480 53 69 6e 67 6c 65 20 53 68 65 6c 6c 2e 29 2e 0a 0a 20 20 41 73 20 73 6f 6f 6e 20 61 73 20 74 68   ┆Single Shell.).    As soon as th┆
0x1480…14a0 65 20 73 75 62 73 68 65 6c 6c 20 69 73 20 73 74 61 72 74 65 64 2c 20 69 74 20 69 73 20 73 65 6e   ┆e subshell is started, it is sen┆
0x14a0…14c0 74 20 61 73 20 69 6e 70 75 74 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 0a 74 68 65 20 66   ┆t as input the contents of the f┆
0x14c0…14e0 69 6c 65 20 60 7e 2f 2e 65 6d 61 63 73 5f 53 48 45 4c 4c 4e 41 4d 45 27 2c 20 69 66 20 74 68 61   ┆ile `~/.emacs_SHELLNAME', if tha┆
0x14e0…1500 74 20 66 69 6c 65 20 65 78 69 73 74 73 2c 20 77 68 65 72 65 20 53 48 45 4c 4c 4e 41 4d 45 20 69   ┆t file exists, where SHELLNAME i┆
0x1500…1520 73 20 74 68 65 0a 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 69 6c 65 20 74 68 61 74 20 74 68 65 20   ┆s the name of the file that the ┆
0x1520…1540 73 68 65 6c 6c 20 77 61 73 20 6c 6f 61 64 65 64 20 66 72 6f 6d 2e 20 20 46 6f 72 20 65 78 61 6d   ┆shell was loaded from.  For exam┆
0x1540…1560 70 6c 65 2c 20 69 66 20 79 6f 75 20 75 73 65 0a 60 63 73 68 27 2c 20 74 68 65 20 66 69 6c 65 20   ┆ple, if you use `csh', the file ┆
0x1560…1580 73 65 6e 74 20 74 6f 20 69 74 20 69 73 20 60 7e 2f 2e 65 6d 61 63 73 5f 63 73 68 27 2e 0a 0a 20   ┆sent to it is `~/.emacs_csh'.   ┆
0x1580…15a0 20 60 63 64 27 2c 20 60 70 75 73 68 64 27 20 61 6e 64 20 60 70 6f 70 64 27 20 63 6f 6d 6d 61 6e   ┆ `cd', `pushd' and `popd' comman┆
0x15a0…15c0 64 73 20 67 69 76 65 6e 20 74 6f 20 74 68 65 20 69 6e 66 65 72 69 6f 72 20 73 68 65 6c 6c 20 61   ┆ds given to the inferior shell a┆
0x15c0…15e0 72 65 20 77 61 74 63 68 65 64 0a 62 79 20 45 6d 61 63 73 20 73 6f 20 69 74 20 63 61 6e 20 6b 65   ┆re watched by Emacs so it can ke┆
0x15e0…1600 65 70 20 74 68 65 20 60 2a 73 68 65 6c 6c 2a 27 20 62 75 66 66 65 72 27 73 20 64 65 66 61 75 6c   ┆ep the `*shell*' buffer's defaul┆
0x1600…1620 74 20 64 69 72 65 63 74 6f 72 79 20 74 68 65 20 73 61 6d 65 0a 61 73 20 74 68 65 20 73 68 65 6c   ┆t directory the same as the shel┆
0x1620…1640 6c 27 73 20 77 6f 72 6b 69 6e 67 20 64 69 72 65 63 74 6f 72 79 2e 20 20 54 68 65 73 65 20 63 6f   ┆l's working directory.  These co┆
0x1640…1660 6d 6d 61 6e 64 73 20 61 72 65 20 72 65 63 6f 67 6e 69 7a 65 64 0a 73 79 6e 74 61 63 74 69 63 61   ┆mmands are recognized syntactica┆
0x1660…1680 6c 6c 79 20 62 79 20 65 78 61 6d 69 6e 69 6e 67 20 6c 69 6e 65 73 20 6f 66 20 69 6e 70 75 74 20   ┆lly by examining lines of input ┆
0x1680…16a0 74 68 61 74 20 61 72 65 20 73 65 6e 74 2e 20 20 49 66 20 79 6f 75 20 75 73 65 0a 61 6c 69 61 73   ┆that are sent.  If you use alias┆
0x16a0…16c0 65 73 20 66 6f 72 20 74 68 65 73 65 20 63 6f 6d 6d 61 6e 64 73 2c 20 79 6f 75 20 63 61 6e 20 74   ┆es for these commands, you can t┆
0x16c0…16e0 65 6c 6c 20 45 6d 61 63 73 20 74 6f 20 72 65 63 6f 67 6e 69 7a 65 20 74 68 65 6d 20 61 6c 73 6f   ┆ell Emacs to recognize them also┆
0x16e0…1700 2e 20 20 46 6f 72 0a 65 78 61 6d 70 6c 65 2c 20 69 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20   ┆.  For example, if the value of ┆
0x1700…1720 74 68 65 20 76 61 72 69 61 62 6c 65 20 60 73 68 65 6c 6c 2d 70 75 73 68 64 2d 72 65 67 65 78 70   ┆the variable `shell-pushd-regexp┆
0x1720…1740 27 20 6d 61 74 63 68 65 73 20 74 68 65 0a 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 20 73 68 65   ┆' matches the beginning of a she┆
0x1740…1760 6c 6c 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 2c 20 74 68 61 74 20 6c 69 6e 65 20 69 73 20 72 65   ┆ll command line, that line is re┆
0x1760…1780 67 61 72 64 65 64 20 61 73 20 61 20 60 70 75 73 68 64 27 0a 63 6f 6d 6d 61 6e 64 2e 20 20 43 68   ┆garded as a `pushd' command.  Ch┆
0x1780…17a0 61 6e 67 65 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 77 68 65 6e 20 79 6f 75 20 61 64 64 20   ┆ange this variable when you add ┆
0x17a0…17c0 61 6c 69 61 73 65 73 20 66 6f 72 20 60 70 75 73 68 64 27 2e 20 20 4c 69 6b 65 77 69 73 65 2c 0a   ┆aliases for `pushd'.  Likewise, ┆
0x17c0…17e0 60 73 68 65 6c 6c 2d 70 6f 70 64 2d 72 65 67 65 78 70 27 20 61 6e 64 20 60 73 68 65 6c 6c 2d 63   ┆`shell-popd-regexp' and `shell-c┆
0x17e0…1800 64 2d 72 65 67 65 78 70 27 20 61 72 65 20 75 73 65 64 20 74 6f 20 72 65 63 6f 67 6e 69 7a 65 20   ┆d-regexp' are used to recognize ┆
0x1800…1820 63 6f 6d 6d 61 6e 64 73 0a 77 69 74 68 20 74 68 65 20 6d 65 61 6e 69 6e 67 20 6f 66 20 60 70 6f   ┆commands with the meaning of `po┆
0x1820…1840 70 64 27 20 61 6e 64 20 60 63 64 27 2e 20 20 54 68 65 73 65 20 63 6f 6d 6d 61 6e 64 73 20 61 72   ┆pd' and `cd'.  These commands ar┆
0x1840…1860 65 20 72 65 63 6f 67 6e 69 7a 65 64 20 6f 6e 6c 79 20 61 74 0a 74 68 65 20 62 65 67 69 6e 6e 69   ┆e recognized only at the beginni┆
0x1860…1880 6e 67 20 6f 66 20 61 20 73 68 65 6c 6c 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 2e 0a 0a 20 20 49   ┆ng of a shell command line.    I┆
0x1880…18a0 66 20 45 6d 61 63 73 20 67 65 74 73 20 61 6e 20 65 72 72 6f 72 20 77 68 69 6c 65 20 74 72 79 69   ┆f Emacs gets an error while tryi┆
0x18a0…18c0 6e 67 20 74 6f 20 68 61 6e 64 6c 65 20 77 68 61 74 20 69 74 20 62 65 6c 69 65 76 65 73 20 69 73   ┆ng to handle what it believes is┆
0x18c0…18e0 20 61 20 60 63 64 27 2c 0a 60 70 75 73 68 64 27 20 6f 72 20 60 70 6f 70 64 27 20 63 6f 6d 6d 61   ┆ a `cd', `pushd' or `popd' comma┆
0x18e0…1900 6e 64 2c 20 61 6e 64 20 74 68 65 20 76 61 6c 75 65 20 6f 66 0a 60 73 68 65 6c 6c 2d 73 65 74 2d   ┆nd, and the value of `shell-set-┆
0x1900…1920 64 69 72 65 63 74 6f 72 79 2d 65 72 72 6f 72 2d 68 6f 6f 6b 27 20 69 73 20 6e 6f 6e 2d 60 6e 69   ┆directory-error-hook' is non-`ni┆
[…truncated at 200 lines…]