정보 파일 노드 (emacs)Top > Emacs Invocation > Environment > MS-Windows Registry
을 인용하면됩니다. 세 번째 섹션이 당신에게 가장 관련이 있다고 생각합니다.
아직 맞춤 설정을 했습니까? 그렇다면 emacs -Q
을 사용해 사용자 정의하지 않고 emacs를 사용해보십시오. 당신이 환경에서 HOME
변수를 설정하면이 레지스트리에 나타나지 않습니다
C.4.3 The MS-Windows System Registry
------------------------------------
On MS-Windows, the installation program `addpm.exe' adds values for
`emacs_dir', `EMACSLOADPATH', `EMACSDATA', `EMACSPATH', `EMACSDOC',
`SHELL' and `TERM' to the `HKEY_LOCAL_MACHINE' section of the system
registry, under `/Software/GNU/Emacs'. It does this because there is
no standard place to set environment variables across different
versions of Windows. Running `addpm.exe' is no longer strictly
necessary in recent versions of Emacs, but if you are upgrading from an
older version, running `addpm.exe' ensures that you do not have older
registry entries from a previous installation, which may not be
compatible with the latest version of Emacs.
When Emacs starts, as well as checking the environment, it also
checks the System Registry for those variables and for `HOME', `LANG'
and `PRELOAD_WINSOCK'.
To determine the value of those variables, Emacs goes through the
following procedure. First, the environment is checked. If the
variable is not found there, Emacs looks for registry keys by that name
under `/Software/GNU/Emacs'; first in the `HKEY_CURRENT_USER' section
of the registry, and if not found there, in the `HKEY_LOCAL_MACHINE'
section. Finally, if Emacs still cannot determine the values,
compiled-in defaults are used.
In addition to the environment variables above, you can also add many
of the settings which on X belong in the `.Xdefaults' file (*note X
Resources::) to the `/Software/GNU/Emacs' registry key.
참고. 환경에서 다시 설정해야합니다. 정보 파일의 관련 섹션 :
You can override this default value of `HOME' by explicitly setting
the environment variable `HOME' to point to any directory on your
system. `HOME' can be set either from the command shell prompt or from
`Properties' dialog of `My Computer'.
질문하기 전에 HOME 환경 변수를 변경했지만 작동하지 않았습니다. 한 번 다시 시작해야합니까? –
@AshishNegi'HOME'이'cmd.exe'에서 시도 할 수있는 문제인지 확인하고 싶다면. 예 : 첫 번째 입력 :'set HOME = c : \ ABC' 두번째 입력 :''c : \ Program Files (x86) \ emacs-24.3 \ bin \ runemacs.exe '-Q' 이맥스에서는'Mx getenv 홈 ' –
Tobias
나는 나쁜 명령을했다. 이전 명령 프롬프트에서 runemacs를 시작했다. 오래된 설정 .. 창문이 있었는데 ... –