aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-07 10:56:04 +0000
committerRichard M. Stallman2002-07-07 10:56:04 +0000
commit26f17e6a29865dc52a5b5e4dd2c5a9f5200fd679 (patch)
tree9f4c1f8a3487556e02c386f38fd664167f1a7b22
parentaf7272b1a0e181ced71d83bd7d001348a3ae78b8 (diff)
downloademacs-26f17e6a29865dc52a5b5e4dd2c5a9f5200fd679.tar.gz
emacs-26f17e6a29865dc52a5b5e4dd2c5a9f5200fd679.zip
setenv allows $-substitution.
--geometry affects all frames.
-rw-r--r--man/cmdargs.texi21
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
337environment variable. @kbd{M-x setenv} sets a variable in the Emacs 337environment variable. @kbd{M-x setenv} sets a variable in the Emacs
338environment. The way to set environment variables outside of Emacs 338environment. (Environment variable substitutions with @samp{$} work
339depends on the operating system, and especially the shell that you are 339in the value just as in file names; see @ref{File Names with $}.)
340using. 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
342operating system, and especially the shell that you are using. For
343example, here's how to set the environment variable @env{ORGANIZATION}
344to @samp{not very much} using Bash:
342 345
343@example 346@example
344export ORGANIZATION="not very much" 347export ORGANIZATION="not very much"
@@ -351,9 +354,9 @@ and here's how to do it in csh or tcsh:
351setenv ORGANIZATION "not very much" 354setenv 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
355of a large number of environment variables from the X libraries. See 358variables that control X work for Emacs as well. See the X
356the X documentation for more information. 359documentation 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
901Specify window size @var{width} and @var{height} (measured in character 904Specify the size @var{width} and @var{height} (measured in character
902columns and lines), and positions @var{xoffset} and @var{yoffset} 905columns 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