Skip to content

Instantly share code, notes, and snippets.

@critical-bug
Last active May 27, 2024 06:06
Show Gist options
  • Save critical-bug/1c9d1c243a5ef09da4dc71f66424782f to your computer and use it in GitHub Desktop.
Save critical-bug/1c9d1c243a5ef09da4dc71f66424782f to your computer and use it in GitHub Desktop.
Emacs for Windows 設定など
; Emacs for Windows 29.1 で確認済み
; 文字コードの Priority order で shift_jis より前に cp932 を入れつつ全体としては Unicode UTF-8 優先する
(set-language-environment "UTF-8")
(prefer-coding-system 'japanese-cp932)
(prefer-coding-system 'utf-8)
(custom-set-variables
; 日本語 zip を 非日本語Windows でも文字化けせず展開する
'(archive-zip-extract '("C:/PROGRA~1/7-Zip/7z.exe" "e" "-so" "-mcp=932" "-ba"))
)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\Applications\emacsclientw.exe]
[HKEY_CURRENT_USER\SOFTWARE\Classes\Applications\emacsclientw.exe\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\Applications\emacsclientw.exe\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\Applications\emacsclientw.exe\shell\open\command]
@="\"C:\\Program Files\\Emacs\\emacs-29.1\\bin\\emacsclientw.exe\" -a C:/PROGRA~1/Emacs/emacs-29.1/bin/runemacs \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment