diff options
| author | Richard M. Stallman | 2002-07-07 10:56:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-07-07 10:56:04 +0000 |
| commit | 26f17e6a29865dc52a5b5e4dd2c5a9f5200fd679 (patch) | |
| tree | 9f4c1f8a3487556e02c386f38fd664167f1a7b22 | |
| parent | af7272b1a0e181ced71d83bd7d001348a3ae78b8 (diff) | |
| download | emacs-26f17e6a29865dc52a5b5e4dd2c5a9f5200fd679.tar.gz emacs-26f17e6a29865dc52a5b5e4dd2c5a9f5200fd679.zip | |
setenv allows $-substitution.
--geometry affects all frames.
| -rw-r--r-- | man/cmdargs.texi | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/man/cmdargs.texi b/man/cmdargs.texi index 6f7e610b400..b900fbc1cbb 100644 --- a/man/cmdargs.texi +++ b/man/cmdargs.texi | |||
| @@ -335,10 +335,13 @@ software) inherit the environment from Emacs, too. | |||
| 335 | @findex getenv | 335 | @findex getenv |
| 336 | Inside Emacs, the command @kbd{M-x getenv} gets the value of an | 336 | Inside Emacs, the command @kbd{M-x getenv} gets the value of an |
| 337 | environment variable. @kbd{M-x setenv} sets a variable in the Emacs | 337 | environment variable. @kbd{M-x setenv} sets a variable in the Emacs |
| 338 | environment. The way to set environment variables outside of Emacs | 338 | environment. (Environment variable substitutions with @samp{$} work |
| 339 | depends on the operating system, and especially the shell that you are | 339 | in the value just as in file names; see @ref{File Names with $}.) |
| 340 | using. For example, here's how to set the environment variable | 340 | |
| 341 | @env{ORGANIZATION} to @samp{not very much} using Bash: | 341 | The way to set environment variables outside of Emacs depends on the |
| 342 | operating system, and especially the shell that you are using. For | ||
| 343 | example, here's how to set the environment variable @env{ORGANIZATION} | ||
| 344 | to @samp{not very much} using Bash: | ||
| 342 | 345 | ||
| 343 | @example | 346 | @example |
| 344 | export ORGANIZATION="not very much" | 347 | export ORGANIZATION="not very much" |
| @@ -351,9 +354,9 @@ and here's how to do it in csh or tcsh: | |||
| 351 | setenv ORGANIZATION "not very much" | 354 | setenv ORGANIZATION "not very much" |
| 352 | @end example | 355 | @end example |
| 353 | 356 | ||
| 354 | When Emacs uses the X Window System, it inherits the use | 357 | When Emacs is using the X Window System, various environment |
| 355 | of a large number of environment variables from the X libraries. See | 358 | variables that control X work for Emacs as well. See the X |
| 356 | the X documentation for more information. | 359 | documentation for more information. |
| 357 | 360 | ||
| 358 | @menu | 361 | @menu |
| 359 | * General Variables:: Environment variables that all versions of Emacs use. | 362 | * General Variables:: Environment variables that all versions of Emacs use. |
| @@ -898,9 +901,9 @@ position of the initial Emacs frame: | |||
| 898 | @table @samp | 901 | @table @samp |
| 899 | @item -g @var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]} | 902 | @item -g @var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]} |
| 900 | @opindex -g | 903 | @opindex -g |
| 901 | Specify window size @var{width} and @var{height} (measured in character | 904 | Specify the size @var{width} and @var{height} (measured in character |
| 902 | columns and lines), and positions @var{xoffset} and @var{yoffset} | 905 | columns and lines), and positions @var{xoffset} and @var{yoffset} |
| 903 | (measured in pixels). | 906 | (measured in pixels). This applies to all frames. |
| 904 | 907 | ||
| 905 | @item --geometry=@var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]} | 908 | @item --geometry=@var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]} |
| 906 | @opindex --geometry | 909 | @opindex --geometry |