diff options
| author | Eli Zaretskii | 2001-03-03 09:46:43 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-03-03 09:46:43 +0000 |
| commit | ec22060b5ce6640c01ffd1a2ef892574f7230324 (patch) | |
| tree | 5141980011a197858a272ff936bc650fee0e19b7 | |
| parent | 1860d5c5b0e2fffb55e0c0a13384ca5039f81a60 (diff) | |
| download | emacs-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.texi | 85 |
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} |
| 82 | Visit @var{file} using @code{find-file}. @xref{Visiting}. | 82 | Visit @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} |
| 98 | Call Lisp function @var{function} with no arguments. | 98 | Call 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} |
| 102 | Evaluate Lisp expression @var{expression}. | 102 | Evaluate 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}. | |||
| 344 | Used for shell-mode to override the @env{SHELL} environment variable. | 344 | Used for shell-mode to override the @env{SHELL} environment variable. |
| 345 | @item HISTFILE | 345 | @item HISTFILE |
| 346 | The name of the file that shell commands are saved in between logins. | 346 | The name of the file that shell commands are saved in between logins. |
| 347 | This variable defaults to @file{~/.history} if you use (t)csh as shell, | 347 | This variable defaults to @file{~/.bash_history} if you use Bash, to |
| 348 | to @file{~/.bash_history} if you use bash, to @file{~/.sh_history} if | 348 | @file{~/.sh_history} if you use ksh, and to @file{~/.history} |
| 349 | you use ksh, and to @file{~/.history} otherwise. | 349 | otherwise. |
| 350 | @item HOME | 350 | @item HOME |
| 351 | The location of the user's files in the directory tree; used for | 351 | The location of the user's files in the directory tree; used for |
| 352 | expansion of file names starting with a tilde (@file{~}). On MS-DOS, it | 352 | expansion 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. | |||
| 426 | This specifies the current time zone and possibly also daylight | 426 | This specifies the current time zone and possibly also daylight |
| 427 | savings information. On MS-DOS, if @code{TZ} is not set in the | 427 | savings information. On MS-DOS, if @code{TZ} is not set in the |
| 428 | environment when Emacs starts, Emacs defines a default value as | 428 | environment when Emacs starts, Emacs defines a default value as |
| 429 | appropriate for the country code returned by DOS. MS Windows | 429 | appropriate for the country code returned by DOS. On MS Windows, Emacs |
| 430 | does not use @code{TZ} at all. | 430 | does not use @code{TZ} at all. |
| 431 | @item USER | 431 | @item USER |
| 432 | The user's login name. See also @env{LOGNAME}. On MS-DOS, this | 432 | The 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 |
| 446 | On MS-DOS, the name of the command interpreter to use. This is used to | 446 | On MS-DOS and MS-Windows, the name of the command interpreter to use |
| 447 | make a default value for the @env{SHELL} environment variable. | 447 | when invoking batch files and commands internal to the shell. On MS-DOS |
| 448 | this is also used to make a default value for the @env{SHELL} environment | ||
| 449 | variable. | ||
| 448 | 450 | ||
| 449 | @item NAME | 451 | @item NAME |
| 450 | On MS-DOS, this variable defaults to the value of the @env{USER} | 452 | On 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 |
| 455 | On MS-DOS, these specify the name of the directory for storing temporary | 457 | On MS-DOS and MS-Windows, these specify the name of the directory for |
| 456 | files in. | 458 | storing temporary files in. |
| 457 | 459 | ||
| 458 | @item EMACSTEST | 460 | @item EMACSTEST |
| 459 | On MS-DOS, this specifies a file to use to log the operation of the | 461 | On 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 |
| 464 | Used on MS-DOS systems to set screen colors early, so that the screen | 466 | Used on MS-DOS systems to set screen colors early, so that the screen |
| 465 | won't momentarily flash the default colors when Emacs starts up. The | 467 | won't momentarily flash the default colors when Emacs starts up. The |
| 466 | value of this variable should be two-character encoding of the | 468 | value of this variable should be the two-character encoding of the |
| 467 | foreground (the first character) and the background (the second | 469 | foreground (the first character) and the background (the second |
| 468 | character) colors of the default face. Each character should be the | 470 | character) colors of the default face. Each character should be the |
| 469 | hexadecimal code for the desired color on a standard PC text-mode | 471 | hexadecimal 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 |
| 494 | let them log into another system, run Emacs on that system, but have the | 496 | let them log into another system, run Emacs on that system, but have the |
| 495 | window displayed at their local terminal. You might need to use login | 497 | window displayed at their local terminal. You might need to login |
| 496 | to another system because the files you want to edit are there, or | 498 | to another system because the files you want to edit are there, or |
| 497 | because the Emacs executable file you want to run is there. | 499 | because 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 | |||
| 517 | emacs --display=glasperle:0 & | 519 | emacs --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 |
| 521 | is also an initial option. It tells Emacs to display using ordinary | 523 | is also an initial option. It tells Emacs to display using ordinary |
| 522 | ASCII on its controlling terminal. | 524 | ASCII 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 |
| 542 | makes each character nine pixels wide and fifteen pixels high. You can | 544 | makes each character nine pixels wide and fifteen pixels high. You can |
| 543 | specify a different font on your command line through the option | 545 | specify 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} | ||
| 548 | Use font @var{name} as the default font. | 552 | Use 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. | |||
| 605 | This is the horizontal resolution, in pixels per inch, of the screen for | 606 | This is the horizontal resolution, in pixels per inch, of the screen for |
| 606 | which the font is intended. | 607 | which the font is intended. |
| 607 | @item vert | 608 | @item vert |
| 608 | This is the vertical resolution, in dots per inch, of the screen for | 609 | This is the vertical resolution, in pixels per inch, of the screen for |
| 609 | which the font is intended. Normally the resolution of the fonts on | 610 | which the font is intended. Normally the resolution of the fonts on |
| 610 | your system is the right value for your screen; therefore, you normally | 611 | your system is the right value for your screen; therefore, you normally |
| 611 | specify @samp{*} for this and @var{horiz}. | 612 | specify @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} |
| 671 | Specify the foreground color. | 672 | Specify the foreground color. @var{color} should be a standard color |
| 673 | name or a numeric specification of the color's red, green, and blue | ||
| 674 | components 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} |
| 674 | Specify the background color. | 677 | Specify 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. |
| 730 | The @var{width} and @var{height} are measured in characters, so a large font | 733 | The @var{width} and @var{height} are measured in characters, so a large font |
| 731 | creates a larger frame than a small font. The @var{xoffset} and | 734 | creates a larger frame than a small font. The @var{xoffset} |
| 732 | @var{yoffset} are measured in pixels. | 735 | and @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 |
| 735 | frame, the height of the initial text window is 2 less than the height | 738 | frame, the height of the initial text window is 2 less than the height |
| 736 | specified in your geometry. In non-X-toolkit versions of Emacs, | 739 | specified in your geometry. In non-X-toolkit versions of Emacs, |
| 737 | the menu bar also takes one line of the specified number. | 740 | the menu bar also takes one line of the specified number. The tool bar, |
| 741 | if present, is excluded from the height of the initial text window; | ||
| 742 | Emacs will enlarge the frame's height as needed to accomodate for the | ||
| 743 | tool 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 |
| 740 | specification. | 746 | specification. |
| @@ -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} |
| 779 | Specify @var{width} as the width of the internal border. | 785 | Specify @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} |
| 783 | Specify @var{width} as the width of the main border. | 789 | Specify @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, |
| 844 | rather than opening a frame right away. In this situation, the icon | 850 | rather than opening a frame right away. In this situation, the icon |
| 845 | window provides only indication that Emacs has started; the usual text | 851 | window provides only an indication that Emacs has started; the usual text |
| 846 | frame doesn't appear until you deiconify it. | 852 | frame doesn't appear until you deiconify it. |
| 847 | 853 | ||
| 848 | @node Resources X | 854 | @node Resources X |
| @@ -933,7 +939,7 @@ Emacs.borderWidth: 4 | |||
| 933 | use with the command line option @samp{-xrm @var{resources}}. The text | 939 | use 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 |
| 935 | of X resources. To include multiple resource specifications in | 941 | of 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. |
| 937 | You can also use @samp{#include "@var{filename}"} to include a file full | 943 | You can also use @samp{#include "@var{filename}"} to include a file full |
| 938 | of resource specifications. Resource values specified with @samp{-xrm} | 944 | of resource specifications. Resource values specified with @samp{-xrm} |
| 939 | take precedence over all other resource specifications. | 945 | take 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 |
| 1139 | name is the same as the menu item string. For example, the word | 1145 | name 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 |
| 1142 | same resources for the whole menu bar. To do this, use @samp{*} instead | 1148 | same resources for the whole menu bar. To do this, use @samp{*} instead |
| 1143 | of a specific subwidget name. For example, to specify the font | 1149 | of 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 | |||
| 1151 | This also specifies the resource value for submenus. | 1157 | This 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 |
| 1154 | resources; for example, the @samp{Files} submenu has an item named | 1160 | resources; 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 |
| 1156 | like this: | 1162 | item looks like this: |
| 1157 | 1163 | ||
| 1158 | @smallexample | 1164 | @smallexample |
| 1159 | Emacs.pane.menubar.popup_*.@var{menu}.@var{item}.@var{resource}: @var{value} | 1165 | Emacs.pane.menubar.popup_*.@var{menu}.@var{item}.@var{resource}: @var{value} |
| 1160 | @end smallexample | 1166 | @end smallexample |
| 1161 | 1167 | ||
| 1162 | @noindent | 1168 | @noindent |
| 1163 | For example, here's how to specify the font for the @samp{Save Buffer} | 1169 | For example, here's how to specify the font for the @samp{Save (current |
| 1164 | item: | 1170 | buffer)} item: |
| 1165 | 1171 | ||
| 1166 | @smallexample | 1172 | @smallexample |
| 1167 | Emacs.pane.menubar.popup_*.Files.Save Buffer.fontList: 8x16 | 1173 | Emacs.pane.menubar.popup_*.File.Save (current buffer).fontList: 8x16 |
| 1168 | @end smallexample | 1174 | @end smallexample |
| 1169 | 1175 | ||
| 1170 | @noindent | 1176 | @noindent |
| 1171 | For an item in a second-level submenu, such as @samp{Check Message} | 1177 | For an item in a second-level submenu, such as @samp{Spell-Check Message} |
| 1172 | under @samp{Spell} under @samp{Edit}, the resource fits this template: | 1178 | under @samp{Spell Checking} under @samp{Tools}, the resource fits this |
| 1179 | template: | ||
| 1173 | 1180 | ||
| 1174 | @smallexample | 1181 | @smallexample |
| 1175 | Emacs.pane.menubar.popup_*.popup_*.@var{menu}.@var{resource}: @var{value} | 1182 | Emacs.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} | |||
| 1179 | For example, | 1186 | For example, |
| 1180 | 1187 | ||
| 1181 | @smallexample | 1188 | @smallexample |
| 1182 | Emacs.pane.menubar.popup_*.popup_*.Spell.Check Message: @var{value} | 1189 | Emacs.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 |