diff options
| author | Richard M. Stallman | 2001-05-20 16:31:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-05-20 16:31:07 +0000 |
| commit | 515d3b4bbfc275548508a9d1e12583258fc7b527 (patch) | |
| tree | 1047069045c6b487b616b354b7ac0748a7059045 | |
| parent | c02319f9490d424e9bc328de5a27df332954c719 (diff) | |
| download | emacs-515d3b4bbfc275548508a9d1e12583258fc7b527.tar.gz emacs-515d3b4bbfc275548508a9d1e12583258fc7b527.zip | |
Update description of visiting multiple files with the command line.
.esrv => esrv.
Remove DOMMAINNAME.
Show that some parts of geometry spec are optional.
Clarify where internal border appears.
Fix errors in BorderWidth resources.
Use Complete Word instead of Spell-Check Message
to avoid an overfull box in a clean way.
| -rw-r--r-- | man/cmdargs.texi | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/man/cmdargs.texi b/man/cmdargs.texi index 87b5bdb2ea4..5744b5de719 100644 --- a/man/cmdargs.texi +++ b/man/cmdargs.texi | |||
| @@ -16,10 +16,13 @@ ordinary editing. | |||
| 16 | 16 | ||
| 17 | Arguments starting with @samp{-} are @dfn{options}. Other arguments | 17 | Arguments starting with @samp{-} are @dfn{options}. Other arguments |
| 18 | specify files to visit. Emacs visits the specified files while it | 18 | specify files to visit. Emacs visits the specified files while it |
| 19 | starts up. The last file name on your command line becomes the current | 19 | starts up. The last file name on your command line becomes the |
| 20 | buffer; the other files are also present in other buffers. As usual, | 20 | current buffer; the other files are also visited in other buffers. If |
| 21 | the special argument @samp{--} says that all subsequent arguments | 21 | there are two files, they are both displayed; otherwise the last file |
| 22 | are file names, not options, even if they start with @samp{-}. | 22 | is displayed along with a buffer list that shows what other buffers |
| 23 | there are. As with most programs, the special argument @samp{--} says | ||
| 24 | that all subsequent arguments are file names, not options, even if | ||
| 25 | they start with @samp{-}. | ||
| 23 | 26 | ||
| 24 | Emacs command options can specify many things, such as the size and | 27 | Emacs command options can specify many things, such as the size and |
| 25 | position of the X window Emacs uses, its colors, and so on. A few | 28 | position of the X window Emacs uses, its colors, and so on. A few |
| @@ -268,16 +271,18 @@ to work with. | |||
| 268 | a suspension. To prepare for this, put the following code in your | 271 | a suspension. To prepare for this, put the following code in your |
| 269 | @file{.emacs} file (@pxref{Hooks}): | 272 | @file{.emacs} file (@pxref{Hooks}): |
| 270 | 273 | ||
| 274 | @c `resume-suspend-hook' is correct. It is the name of a function. | ||
| 271 | @example | 275 | @example |
| 272 | (add-hook 'suspend-hook 'resume-suspend-hook) | 276 | (add-hook 'suspend-hook 'resume-suspend-hook) |
| 273 | (add-hook 'suspend-resume-hook 'resume-process-args) | 277 | (add-hook 'suspend-resume-hook 'resume-process-args) |
| 274 | @end example | 278 | @end example |
| 275 | 279 | ||
| 276 | As further preparation, you must execute the shell script | 280 | As further preparation, you must execute the shell script |
| 277 | @file{emacs.csh} (if you use csh as your shell) or @file{emacs.bash} (if | 281 | @file{emacs.csh} (if you use csh as your shell) or @file{emacs.bash} |
| 278 | you use bash as your shell). These scripts define an alias named | 282 | (if you use bash as your shell). These scripts define an alias named |
| 279 | @code{edit}, which will resume Emacs giving it new command line | 283 | @code{edit}, which will resume Emacs giving it new command line |
| 280 | arguments such as files to visit. | 284 | arguments such as files to visit. The scripts are found in the |
| 285 | @file{etc} subdirectory of the Emacs distribution. | ||
| 281 | 286 | ||
| 282 | Only action arguments work properly when you resume Emacs. Initial | 287 | Only action arguments work properly when you resume Emacs. Initial |
| 283 | arguments are not recognized---it's too late to execute them anyway. | 288 | arguments are not recognized---it's too late to execute them anyway. |
| @@ -295,7 +300,7 @@ Server}). | |||
| 295 | server Emacs running. However, they cannot determine this with complete | 300 | server Emacs running. However, they cannot determine this with complete |
| 296 | accuracy. They may think that a server is still running when in | 301 | accuracy. They may think that a server is still running when in |
| 297 | actuality you have killed that Emacs, because the file | 302 | actuality you have killed that Emacs, because the file |
| 298 | @file{/tmp/.esrv@dots{}} still exists. If this happens, find that | 303 | @file{/tmp/esrv@dots{}} still exists. If this happens, find that |
| 299 | file and delete it. | 304 | file and delete it. |
| 300 | 305 | ||
| 301 | @node Environment | 306 | @node Environment |
| @@ -357,9 +362,6 @@ to be set, but it uses their values if they are set. | |||
| 357 | @item CDPATH | 362 | @item CDPATH |
| 358 | Used by the @code{cd} command to search for the directory you specify, | 363 | Used by the @code{cd} command to search for the directory you specify, |
| 359 | when you specify a relative directory name. | 364 | when you specify a relative directory name. |
| 360 | @item DOMAINNAME | ||
| 361 | The name of the Internet domain that the machine running Emacs is | ||
| 362 | located in. Used by the Gnus package. | ||
| 363 | @item EMACS_UNIBYTE | 365 | @item EMACS_UNIBYTE |
| 364 | @cindex unibyte operation, environment variable | 366 | @cindex unibyte operation, environment variable |
| 365 | Defining this environment variable with a nonempty value directs Emacs | 367 | Defining this environment variable with a nonempty value directs Emacs |
| @@ -789,13 +791,13 @@ initial Emacs frame. Here is the format for specifying the window | |||
| 789 | geometry: | 791 | geometry: |
| 790 | 792 | ||
| 791 | @table @samp | 793 | @table @samp |
| 792 | @item -g @var{width}x@var{height}@r{@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset} | 794 | @item -g @var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]} |
| 793 | @opindex -g | 795 | @opindex -g |
| 794 | Specify window size @var{width} and @var{height} (measured in character | 796 | Specify window size @var{width} and @var{height} (measured in character |
| 795 | columns and lines), and positions @var{xoffset} and @var{yoffset} | 797 | columns and lines), and positions @var{xoffset} and @var{yoffset} |
| 796 | (measured in pixels). | 798 | (measured in pixels). |
| 797 | 799 | ||
| 798 | @item --geometry=@var{width}x@var{height}@r{@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset} | 800 | @item --geometry=@var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]} |
| 799 | @opindex --geometry | 801 | @opindex --geometry |
| 800 | This is another way of writing the same thing. | 802 | This is another way of writing the same thing. |
| 801 | @end table | 803 | @end table |
| @@ -853,11 +855,11 @@ which means both sizes are omitted. Thus, @samp{-3} specifies the | |||
| 853 | @cindex borders (X Window System) | 855 | @cindex borders (X Window System) |
| 854 | 856 | ||
| 855 | An Emacs frame has an internal border and an external border. The | 857 | An Emacs frame has an internal border and an external border. The |
| 856 | internal border is an extra strip of the background color around all | 858 | internal border is an extra strip of the background color around the |
| 857 | four edges of the frame. Emacs itself adds the internal border. The | 859 | text portion of the frame. Emacs itself draws the internal border. |
| 858 | external border is added by the window manager outside the internal | 860 | The external border is added by the window manager outside the frame; |
| 859 | border; it may contain various boxes you can click on to move or iconify | 861 | depending on the window manager you use, it may contain various boxes |
| 860 | the window. | 862 | you can click on to move or iconify the window. |
| 861 | 863 | ||
| 862 | @table @samp | 864 | @table @samp |
| 863 | @item -ib @var{width} | 865 | @item -ib @var{width} |
| @@ -888,10 +890,11 @@ external border is 2. | |||
| 888 | @appendixsec Frame Titles | 890 | @appendixsec Frame Titles |
| 889 | 891 | ||
| 890 | An Emacs frame may or may not have a specified title. The frame | 892 | An Emacs frame may or may not have a specified title. The frame |
| 891 | title, if specified, appears in window decorations and icons as the name | 893 | title, if specified, appears in window decorations and icons as the |
| 892 | of the frame. If an Emacs frame has no specified title, the default | 894 | name of the frame. If an Emacs frame has no specified title, the |
| 893 | title is the name of the executable program (if there is only one frame) | 895 | default title has the form @samp{@var{invocation-name}@@@var{machine}} |
| 894 | or the selected window's buffer name (if there is more than one frame). | 896 | (if there is only one frame) or the selected window's buffer name (if |
| 897 | there is more than one frame). | ||
| 895 | 898 | ||
| 896 | You can specify a title for the initial Emacs frame with a command | 899 | You can specify a title for the initial Emacs frame with a command |
| 897 | line option: | 900 | line option: |
| @@ -993,8 +996,8 @@ resources. Thus, this example specifies 2 as the default width for all | |||
| 993 | borders, but overrides this value with 4 for the external border: | 996 | borders, but overrides this value with 4 for the external border: |
| 994 | 997 | ||
| 995 | @example | 998 | @example |
| 996 | emacs.Borderwidth: 2 | 999 | emacs.BorderWidth: 2 |
| 997 | emacs.borderwidth: 4 | 1000 | emacs.borderWidth: 4 |
| 998 | @end example | 1001 | @end example |
| 999 | 1002 | ||
| 1000 | The order in which the lines appear in the file does not matter. | 1003 | The order in which the lines appear in the file does not matter. |
| @@ -1281,7 +1284,7 @@ Emacs.pane.menubar.popup_*.File.Save (current buffer).fontList: 8x16 | |||
| 1281 | @end smallexample | 1284 | @end smallexample |
| 1282 | 1285 | ||
| 1283 | @noindent | 1286 | @noindent |
| 1284 | For an item in a second-level submenu, such as @samp{Spell-Check Message} | 1287 | For an item in a second-level submenu, such as @samp{Complete Word} |
| 1285 | under @samp{Spell Checking} under @samp{Tools}, the resource fits this | 1288 | under @samp{Spell Checking} under @samp{Tools}, the resource fits this |
| 1286 | template: | 1289 | template: |
| 1287 | 1290 | ||
| @@ -1293,8 +1296,7 @@ Emacs.pane.menubar.popup_*.popup_*.@var{menu}.@var{resource}: @var{value} | |||
| 1293 | For example, | 1296 | For example, |
| 1294 | 1297 | ||
| 1295 | @smallexample | 1298 | @smallexample |
| 1296 | Emacs.pane.menubar.popup_*.popup_*.Spell Checking.Spell-Check Message: | 1299 | Emacs.pane.menubar.popup_*.popup_*.Spell Checking.Complete Word: @var{value} |
| 1297 | @var{value} | ||
| 1298 | @end smallexample | 1300 | @end smallexample |
| 1299 | 1301 | ||
| 1300 | @noindent | 1302 | @noindent |