aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-03-03 09:46:43 +0000
committerEli Zaretskii2001-03-03 09:46:43 +0000
commitec22060b5ce6640c01ffd1a2ef892574f7230324 (patch)
tree5141980011a197858a272ff936bc650fee0e19b7
parent1860d5c5b0e2fffb55e0c0a13384ca5039f81a60 (diff)
downloademacs-ec22060b5ce6640c01ffd1a2ef892574f7230324.tar.gz
emacs-ec22060b5ce6640c01ffd1a2ef892574f7230324.zip
Many typo-fixes and clarifications from Dr Francis J. Wright
<F.J.Wright@qmw.ac.uk>.
-rw-r--r--man/cmdargs.texi85
1 files changed, 46 insertions, 39 deletions
diff --git a/man/cmdargs.texi b/man/cmdargs.texi
index f9fff5b1325..182d4367ea1 100644
--- a/man/cmdargs.texi
+++ b/man/cmdargs.texi
@@ -77,8 +77,8 @@ the action arguments in the order they are written.
77 77
78@table @samp 78@table @samp
79@item @var{file} 79@item @var{file}
80@itemx --visit @var{file} 80@itemx --visit=@var{file}
81@itemx --file @var{file} 81@itemx --file=@var{file}
82Visit @var{file} using @code{find-file}. @xref{Visiting}. 82Visit @var{file} using @code{find-file}. @xref{Visiting}.
83 83
84@item +@var{linenum} @var{file} 84@item +@var{linenum} @var{file}
@@ -97,8 +97,8 @@ with @env{EMACSLOADPATH} (@pxref{General Variables}).
97@itemx --funcall=@var{function} 97@itemx --funcall=@var{function}
98Call Lisp function @var{function} with no arguments. 98Call Lisp function @var{function} with no arguments.
99 99
100@item --eval @var{expression} 100@item --eval=@var{expression}
101@itemx --execute @var{expression} 101@itemx --execute=@var{expression}
102Evaluate Lisp expression @var{expression}. 102Evaluate Lisp expression @var{expression}.
103 103
104@item --insert=@var{file} 104@item --insert=@var{file}
@@ -344,9 +344,9 @@ files---used to initialize @code{exec-path}.
344Used for shell-mode to override the @env{SHELL} environment variable. 344Used for shell-mode to override the @env{SHELL} environment variable.
345@item HISTFILE 345@item HISTFILE
346The name of the file that shell commands are saved in between logins. 346The name of the file that shell commands are saved in between logins.
347This variable defaults to @file{~/.history} if you use (t)csh as shell, 347This variable defaults to @file{~/.bash_history} if you use Bash, to
348to @file{~/.bash_history} if you use bash, to @file{~/.sh_history} if 348@file{~/.sh_history} if you use ksh, and to @file{~/.history}
349you use ksh, and to @file{~/.history} otherwise. 349otherwise.
350@item HOME 350@item HOME
351The location of the user's files in the directory tree; used for 351The location of the user's files in the directory tree; used for
352expansion of file names starting with a tilde (@file{~}). On MS-DOS, it 352expansion of file names starting with a tilde (@file{~}). On MS-DOS, it
@@ -426,7 +426,7 @@ Used by the Emerge package as a prefix for temporary files.
426This specifies the current time zone and possibly also daylight 426This specifies the current time zone and possibly also daylight
427savings information. On MS-DOS, if @code{TZ} is not set in the 427savings information. On MS-DOS, if @code{TZ} is not set in the
428environment when Emacs starts, Emacs defines a default value as 428environment when Emacs starts, Emacs defines a default value as
429appropriate for the country code returned by DOS. MS Windows 429appropriate for the country code returned by DOS. On MS Windows, Emacs
430does not use @code{TZ} at all. 430does not use @code{TZ} at all.
431@item USER 431@item USER
432The user's login name. See also @env{LOGNAME}. On MS-DOS, this 432The user's login name. See also @env{LOGNAME}. On MS-DOS, this
@@ -443,8 +443,10 @@ These variables are used only on particular configurations:
443 443
444@table @env 444@table @env
445@item COMSPEC 445@item COMSPEC
446On MS-DOS, the name of the command interpreter to use. This is used to 446On MS-DOS and MS-Windows, the name of the command interpreter to use
447make a default value for the @env{SHELL} environment variable. 447when invoking batch files and commands internal to the shell. On MS-DOS
448this is also used to make a default value for the @env{SHELL} environment
449variable.
448 450
449@item NAME 451@item NAME
450On MS-DOS, this variable defaults to the value of the @env{USER} 452On MS-DOS, this variable defaults to the value of the @env{USER}
@@ -452,8 +454,8 @@ variable.
452 454
453@item TEMP 455@item TEMP
454@itemx TMP 456@itemx TMP
455On MS-DOS, these specify the name of the directory for storing temporary 457On MS-DOS and MS-Windows, these specify the name of the directory for
456files in. 458storing temporary files in.
457 459
458@item EMACSTEST 460@item EMACSTEST
459On MS-DOS, this specifies a file to use to log the operation of the 461On MS-DOS, this specifies a file to use to log the operation of the
@@ -463,7 +465,7 @@ reports.
463@item EMACSCOLORS 465@item EMACSCOLORS
464Used on MS-DOS systems to set screen colors early, so that the screen 466Used on MS-DOS systems to set screen colors early, so that the screen
465won't momentarily flash the default colors when Emacs starts up. The 467won't momentarily flash the default colors when Emacs starts up. The
466value of this variable should be two-character encoding of the 468value of this variable should be the two-character encoding of the
467foreground (the first character) and the background (the second 469foreground (the first character) and the background (the second
468character) colors of the default face. Each character should be the 470character) colors of the default face. Each character should be the
469hexadecimal code for the desired color on a standard PC text-mode 471hexadecimal code for the desired color on a standard PC text-mode
@@ -492,7 +494,7 @@ remotely, displaying on your local screen.
492 494
493 With Emacs, the main reason people change the default display is to 495 With Emacs, the main reason people change the default display is to
494let them log into another system, run Emacs on that system, but have the 496let them log into another system, run Emacs on that system, but have the
495window displayed at their local terminal. You might need to use login 497window displayed at their local terminal. You might need to login
496to another system because the files you want to edit are there, or 498to another system because the files you want to edit are there, or
497because the Emacs executable file you want to run is there. 499because the Emacs executable file you want to run is there.
498 500
@@ -517,7 +519,7 @@ by changing the @env{DISPLAY} variable, or with the option @samp{-d
517emacs --display=glasperle:0 & 519emacs --display=glasperle:0 &
518@end smallexample 520@end smallexample
519 521
520 You can inhibit the direct use of X with the @samp{-nw} option. This 522 You can inhibit the direct use of the GUI with the @samp{-nw} option. This
521is also an initial option. It tells Emacs to display using ordinary 523is also an initial option. It tells Emacs to display using ordinary
522ASCII on its controlling terminal. 524ASCII on its controlling terminal.
523 525
@@ -541,14 +543,13 @@ remote machine.
541 By default, Emacs displays text in the font named @samp{9x15}, which 543 By default, Emacs displays text in the font named @samp{9x15}, which
542makes each character nine pixels wide and fifteen pixels high. You can 544makes each character nine pixels wide and fifteen pixels high. You can
543specify a different font on your command line through the option 545specify a different font on your command line through the option
544@samp{-fn @var{name}}. 546@samp{-fn @var{name}} (or @samp{--font}, which is an alias for
547@samp{-fn}).
545 548
546@table @samp 549@table @samp
547@item -fn @var{name} 550@item -fn @var{name}
551@itemx --font=@var{name}
548Use font @var{name} as the default font. 552Use font @var{name} as the default font.
549
550@item --font=@var{name}
551@samp{--font} is an alias for @samp{-fn}.
552@end table 553@end table
553 554
554 Under X, each font has a long name which consists of eleven words or 555 Under X, each font has a long name which consists of eleven words or
@@ -605,7 +606,7 @@ to specify just one of them and use @samp{*} for the other.
605This is the horizontal resolution, in pixels per inch, of the screen for 606This is the horizontal resolution, in pixels per inch, of the screen for
606which the font is intended. 607which the font is intended.
607@item vert 608@item vert
608This is the vertical resolution, in dots per inch, of the screen for 609This is the vertical resolution, in pixels per inch, of the screen for
609which the font is intended. Normally the resolution of the fonts on 610which the font is intended. Normally the resolution of the fonts on
610your system is the right value for your screen; therefore, you normally 611your system is the right value for your screen; therefore, you normally
611specify @samp{*} for this and @var{horiz}. 612specify @samp{*} for this and @var{horiz}.
@@ -668,7 +669,9 @@ background is usually black and the foreground is white.
668@table @samp 669@table @samp
669@item -fg @var{color} 670@item -fg @var{color}
670@itemx --foreground-color=@var{color} 671@itemx --foreground-color=@var{color}
671Specify the foreground color. 672Specify the foreground color. @var{color} should be a standard color
673name or a numeric specification of the color's red, green, and blue
674components as in @samp{#4682B4} or @samp{RGB:46/82/B4}.
672@item -bg @var{color} 675@item -bg @var{color}
673@itemx --background-color=@var{color} 676@itemx --background-color=@var{color}
674Specify the background color. 677Specify the background color.
@@ -728,13 +731,16 @@ negative, but that doesn't change their meaning, only their direction.
728 731
729 Emacs uses the same units as @code{xterm} does to interpret the geometry. 732 Emacs uses the same units as @code{xterm} does to interpret the geometry.
730The @var{width} and @var{height} are measured in characters, so a large font 733The @var{width} and @var{height} are measured in characters, so a large font
731creates a larger frame than a small font. The @var{xoffset} and 734creates a larger frame than a small font. The @var{xoffset}
732@var{yoffset} are measured in pixels. 735and @var{yoffset} are measured in pixels.
733 736
734 Since the mode line and the echo area occupy the last 2 lines of the 737 Since the mode line and the echo area occupy the last 2 lines of the
735frame, the height of the initial text window is 2 less than the height 738frame, the height of the initial text window is 2 less than the height
736specified in your geometry. In non-X-toolkit versions of Emacs, 739specified in your geometry. In non-X-toolkit versions of Emacs,
737the menu bar also takes one line of the specified number. 740the menu bar also takes one line of the specified number. The tool bar,
741if present, is excluded from the height of the initial text window;
742Emacs will enlarge the frame's height as needed to accomodate for the
743tool bar.
738 744
739 You do not have to specify all of the fields in the geometry 745 You do not have to specify all of the fields in the geometry
740specification. 746specification.
@@ -776,11 +782,11 @@ the window.
776@table @samp 782@table @samp
777@item -ib @var{width} 783@item -ib @var{width}
778@itemx --internal-border=@var{width} 784@itemx --internal-border=@var{width}
779Specify @var{width} as the width of the internal border. 785Specify @var{width} as the width of the internal border in pixels.
780 786
781@item -bw @var{width} 787@item -bw @var{width}
782@itemx --border-width=@var{width} 788@itemx --border-width=@var{width}
783Specify @var{width} as the width of the main border. 789Specify @var{width} as the width of the main border in pixels.
784@end table 790@end table
785 791
786 When you specify the size of the frame, that does not count the 792 When you specify the size of the frame, that does not count the
@@ -842,7 +848,7 @@ rectangle containing the frame's title.
842 848
843 The @samp{-iconic} option tells Emacs to begin running as an icon, 849 The @samp{-iconic} option tells Emacs to begin running as an icon,
844rather than opening a frame right away. In this situation, the icon 850rather than opening a frame right away. In this situation, the icon
845window provides only indication that Emacs has started; the usual text 851window provides only an indication that Emacs has started; the usual text
846frame doesn't appear until you deiconify it. 852frame doesn't appear until you deiconify it.
847 853
848@node Resources X 854@node Resources X
@@ -933,7 +939,7 @@ Emacs.borderWidth: 4
933use with the command line option @samp{-xrm @var{resources}}. The text 939use with the command line option @samp{-xrm @var{resources}}. The text
934@var{resources} should have the same format that you would use inside a file 940@var{resources} should have the same format that you would use inside a file
935of X resources. To include multiple resource specifications in 941of X resources. To include multiple resource specifications in
936@var{data}, put a newline between them, just as you would in a file. 942@var{resources}, put a newline between them, just as you would in a file.
937You can also use @samp{#include "@var{filename}"} to include a file full 943You can also use @samp{#include "@var{filename}"} to include a file full
938of resource specifications. Resource values specified with @samp{-xrm} 944of resource specifications. Resource values specified with @samp{-xrm}
939take precedence over all other resource specifications. 945take precedence over all other resource specifications.
@@ -1137,8 +1143,8 @@ Emacs.pane.menubar.@var{subwidget}.@var{resource}: @var{value}
1137 1143
1138 Each individual string in the menu bar is a subwidget; the subwidget's 1144 Each individual string in the menu bar is a subwidget; the subwidget's
1139name is the same as the menu item string. For example, the word 1145name is the same as the menu item string. For example, the word
1140@samp{Files} in the menu bar is part of a subwidget named 1146@samp{File} in the menu bar is part of a subwidget named
1141@samp{emacs.pane.menubar.Files}. Most likely, you want to specify the 1147@samp{emacs.pane.menubar.File}. Most likely, you want to specify the
1142same resources for the whole menu bar. To do this, use @samp{*} instead 1148same resources for the whole menu bar. To do this, use @samp{*} instead
1143of a specific subwidget name. For example, to specify the font 1149of a specific subwidget name. For example, to specify the font
1144@samp{8x16} for the menu-bar items, write this: 1150@samp{8x16} for the menu-bar items, write this:
@@ -1151,25 +1157,26 @@ Emacs.pane.menubar.*.fontList: 8x16
1151This also specifies the resource value for submenus. 1157This also specifies the resource value for submenus.
1152 1158
1153 Each item in a submenu in the menu bar also has its own name for X 1159 Each item in a submenu in the menu bar also has its own name for X
1154resources; for example, the @samp{Files} submenu has an item named 1160resources; for example, the @samp{File} submenu has an item named
1155@samp{Save Buffer}. A resource specification for a submenu item looks 1161@samp{Save (current buffer)}. A resource specification for a submenu
1156like this: 1162item looks like this:
1157 1163
1158@smallexample 1164@smallexample
1159Emacs.pane.menubar.popup_*.@var{menu}.@var{item}.@var{resource}: @var{value} 1165Emacs.pane.menubar.popup_*.@var{menu}.@var{item}.@var{resource}: @var{value}
1160@end smallexample 1166@end smallexample
1161 1167
1162@noindent 1168@noindent
1163For example, here's how to specify the font for the @samp{Save Buffer} 1169For example, here's how to specify the font for the @samp{Save (current
1164item: 1170buffer)} item:
1165 1171
1166@smallexample 1172@smallexample
1167Emacs.pane.menubar.popup_*.Files.Save Buffer.fontList: 8x16 1173Emacs.pane.menubar.popup_*.File.Save (current buffer).fontList: 8x16
1168@end smallexample 1174@end smallexample
1169 1175
1170@noindent 1176@noindent
1171For an item in a second-level submenu, such as @samp{Check Message} 1177For an item in a second-level submenu, such as @samp{Spell-Check Message}
1172under @samp{Spell} under @samp{Edit}, the resource fits this template: 1178under @samp{Spell Checking} under @samp{Tools}, the resource fits this
1179template:
1173 1180
1174@smallexample 1181@smallexample
1175Emacs.pane.menubar.popup_*.popup_*.@var{menu}.@var{resource}: @var{value} 1182Emacs.pane.menubar.popup_*.popup_*.@var{menu}.@var{resource}: @var{value}
@@ -1179,7 +1186,7 @@ Emacs.pane.menubar.popup_*.popup_*.@var{menu}.@var{resource}: @var{value}
1179For example, 1186For example,
1180 1187
1181@smallexample 1188@smallexample
1182Emacs.pane.menubar.popup_*.popup_*.Spell.Check Message: @var{value} 1189Emacs.pane.menubar.popup_*.popup_*.Spell Checking.Spell-Check Message: @var{value}
1183@end smallexample 1190@end smallexample
1184 1191
1185 It's impossible to specify a resource for all the menu-bar items 1192 It's impossible to specify a resource for all the menu-bar items