aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-05-20 16:31:07 +0000
committerRichard M. Stallman2001-05-20 16:31:07 +0000
commit515d3b4bbfc275548508a9d1e12583258fc7b527 (patch)
tree1047069045c6b487b616b354b7ac0748a7059045
parentc02319f9490d424e9bc328de5a27df332954c719 (diff)
downloademacs-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.texi56
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
18specify files to visit. Emacs visits the specified files while it 18specify files to visit. Emacs visits the specified files while it
19starts up. The last file name on your command line becomes the current 19starts up. The last file name on your command line becomes the
20buffer; the other files are also present in other buffers. As usual, 20current buffer; the other files are also visited in other buffers. If
21the special argument @samp{--} says that all subsequent arguments 21there are two files, they are both displayed; otherwise the last file
22are file names, not options, even if they start with @samp{-}. 22is displayed along with a buffer list that shows what other buffers
23there are. As with most programs, the special argument @samp{--} says
24that all subsequent arguments are file names, not options, even if
25they 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
25position of the X window Emacs uses, its colors, and so on. A few 28position of the X window Emacs uses, its colors, and so on. A few
@@ -268,16 +271,18 @@ to work with.
268a suspension. To prepare for this, put the following code in your 271a 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}
278you 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
280arguments such as files to visit. 284arguments 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
283arguments are not recognized---it's too late to execute them anyway. 288arguments are not recognized---it's too late to execute them anyway.
@@ -295,7 +300,7 @@ Server}).
295server Emacs running. However, they cannot determine this with complete 300server Emacs running. However, they cannot determine this with complete
296accuracy. They may think that a server is still running when in 301accuracy. They may think that a server is still running when in
297actuality you have killed that Emacs, because the file 302actuality 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
299file and delete it. 304file 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
358Used by the @code{cd} command to search for the directory you specify, 363Used by the @code{cd} command to search for the directory you specify,
359when you specify a relative directory name. 364when you specify a relative directory name.
360@item DOMAINNAME
361The name of the Internet domain that the machine running Emacs is
362located 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
365Defining this environment variable with a nonempty value directs Emacs 367Defining this environment variable with a nonempty value directs Emacs
@@ -789,13 +791,13 @@ initial Emacs frame. Here is the format for specifying the window
789geometry: 791geometry:
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
794Specify window size @var{width} and @var{height} (measured in character 796Specify window size @var{width} and @var{height} (measured in character
795columns and lines), and positions @var{xoffset} and @var{yoffset} 797columns 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
800This is another way of writing the same thing. 802This 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
856internal border is an extra strip of the background color around all 858internal border is an extra strip of the background color around the
857four edges of the frame. Emacs itself adds the internal border. The 859text portion of the frame. Emacs itself draws the internal border.
858external border is added by the window manager outside the internal 860The external border is added by the window manager outside the frame;
859border; it may contain various boxes you can click on to move or iconify 861depending on the window manager you use, it may contain various boxes
860the window. 862you 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
891title, if specified, appears in window decorations and icons as the name 893title, if specified, appears in window decorations and icons as the
892of the frame. If an Emacs frame has no specified title, the default 894name of the frame. If an Emacs frame has no specified title, the
893title is the name of the executable program (if there is only one frame) 895default title has the form @samp{@var{invocation-name}@@@var{machine}}
894or 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
897there 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
897line option: 900line option:
@@ -993,8 +996,8 @@ resources. Thus, this example specifies 2 as the default width for all
993borders, but overrides this value with 4 for the external border: 996borders, but overrides this value with 4 for the external border:
994 997
995@example 998@example
996emacs.Borderwidth: 2 999emacs.BorderWidth: 2
997emacs.borderwidth: 4 1000emacs.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
1284For an item in a second-level submenu, such as @samp{Spell-Check Message} 1287For an item in a second-level submenu, such as @samp{Complete Word}
1285under @samp{Spell Checking} under @samp{Tools}, the resource fits this 1288under @samp{Spell Checking} under @samp{Tools}, the resource fits this
1286template: 1289template:
1287 1290
@@ -1293,8 +1296,7 @@ Emacs.pane.menubar.popup_*.popup_*.@var{menu}.@var{resource}: @var{value}
1293For example, 1296For example,
1294 1297
1295@smallexample 1298@smallexample
1296Emacs.pane.menubar.popup_*.popup_*.Spell Checking.Spell-Check Message: 1299Emacs.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