| [ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Here is an alphabetical list of specific environment variables that have special meanings in Emacs, giving the name of each variable and its meaning. Most of these variables are also used by some other programs. Emacs does not require any of these environment variables to be set, but it uses their values if they are set.
CDPATHUsed by the cd command to search for the directory you specify, when
you specify a relative directory name.
EMACS_UNIBYTEDefining this environment variable with a nonempty value directs Emacs to do almost everything with single-byte buffers and strings. It is equivalent to using the ‘--unibyte’ command-line option on each invocation. Voir la section Initial Options.
EMACSDATADirectory for the architecture-independent files that come with Emacs. This
is used to initialize the Lisp variable data-directory.
EMACSDOCDirectory for the documentation string file, ‘DOC-emacsversion’.
This is used to initialize the Lisp variable doc-directory.
EMACSLOADPATHA colon-separated list of directories(22) to search for Emacs Lisp files—used to initialize
load-path.
EMACSPATHA colon-separated list of directories to search for executable files—used
to initialize exec-path.
EMAILYour email address; used to initialize the Lisp variable
user-mail-address, which the Emacs mail interface puts into the
‘From’ header of outgoing messages (voir la section Mail Header Fields).
ESHELLUsed for shell-mode to override the SHELL environment variable.
HISTFILEThe name of the file that shell commands are saved in between logins. This variable defaults to ‘~/.bash_history’ if you use Bash, to ‘~/.sh_history’ if you use ksh, and to ‘~/.history’ otherwise.
HOMEThe location of your files in the directory tree; used for expansion of file
names starting with a tilde (‘~’). On MS-DOS, it defaults to the
directory from which Emacs was started, with ‘/bin’ removed from the
end if it was present. On Windows, the default value of HOME is the
‘Application Data’ subdirectory of the user profile directory
(normally, this is ‘C:/Documents and
Settings/username/Application Data’, where username is your user
name), though for backwards compatibility ‘C:/’ will be used instead if
a ‘.emacs’ file is found there.
HOSTNAMEThe name of the machine that Emacs is running on.
INCPATHA colon-separated list of directories. Used by the complete package
to search for files.
INFOPATHA colon-separated list of directories in which to search for Info files.
LC_ALLLC_COLLATELC_CTYPELC_MESSAGESLC_MONETARYLC_NUMERICLC_TIMELANGThe user's preferred locale. The locale has six categories, specified by
the environment variables LC_COLLATE for sorting, LC_CTYPE for
character encoding, LC_MESSAGES for system messages, LC_MONETARY
for monetary formats, LC_NUMERIC for numbers, and LC_TIME for
dates and times. If one of these variables is not set, the category
defaults to the value of the LANG environment variable, or to the
default ‘C’ locale if LANG is not set. But if LC_ALL is
specified, it overrides the settings of all the other locale environment
variables.
On MS-Windows, if LANG is not already set in the environment when
Emacs starts, Emacs sets it based on the system-wide default language, which
you can set in the ‘Regional Settings’ Control Panel on some versions
of MS-Windows.
The value of the LC_CTYPE category is matched against entries in
locale-language-names, locale-charset-language-names, and
locale-preferred-coding-systems, to select a default language
environment and coding system. @xref{Language Environments}.
LOGNAMEThe user's login name. See also USER.
MAILThe name of your system mail inbox.
MHName of setup file for the mh system. (The default is ‘~/.mh_profile’.)
NAMEYour real-world name.
NNTPSERVERThe name of the news server. Used by the mh and Gnus packages.
ORGANIZATIONThe name of the organization to which you belong. Used for setting the `Organization:' header in your posts from the Gnus package.
PATHA colon-separated list of directories in which executables reside. This is
used to initialize the Emacs Lisp variable exec-path.
PWDIf set, this should be the default directory when Emacs was started.
REPLYTOIf set, this specifies an initial value for the variable
mail-default-reply-to. Voir la section Mail Header Fields.
SAVEDIRThe name of a directory in which news articles are saved by default. Used by the Gnus package.
SHELLThe name of an interpreter used to parse and execute programs run from inside Emacs.
SMTPSERVERThe name of the outgoing mail server. Used by the SMTP library (voir (smtpmail)Top section `Top' dans Sending mail via SMTP).
TERMThe type of the terminal that Emacs is using. This variable must be set
unless Emacs is run in batch mode. On MS-DOS, it defaults to
‘internal’, which specifies a built-in terminal emulation that handles
the machine's own display. If the value of TERM indicates that Emacs
runs in non-windowed mode from xterm or a similar terminal
emulator, the background mode defaults to ‘light’, and Emacs will
choose colors that are appropriate for a light background.
TERMCAPThe name of the termcap library file describing how to program the terminal
specified by the TERM variable. This defaults to ‘/etc/termcap’.
TMPDIRUsed by the Emerge package as a prefix for temporary files.
TZThis specifies the current time zone and possibly also daylight saving time
information. On MS-DOS, if TZ is not set in the environment when
Emacs starts, Emacs defines a default value as appropriate for the country
code returned by DOS. On MS-Windows, Emacs does not use TZ at all.
USERThe user's login name. See also LOGNAME. On MS-DOS, this defaults to
‘root’.
VERSION_CONTROLUsed to initialize the version-control variable (voir la section Numbered Backups).
| [ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Ce document a été généré par Eric Reinbold le 23 Février 2009 en utilisant texi2html 1.78.