LoginSignup
1
0

More than 1 year has passed since last update.

Windows10+ScoopでDoomEmacsのインストールが上手くいかないとき

Last updated at Posted at 2022-01-15

問題

Scoopを用いたDoomEmacsのインストール方法を参考に以下を実行した。

scoop bucket add extras
scoop install git emacs ripgrep
# Optional dependencies
scoop install fd llvm
# Doom Install
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d

この後に

~/.emacs.d/bin/doom install

が実行できない。

この原因はC:\Users\name\~\.emacs.dが生成されていたためだったのでこれをC:\Users\name\.emacs.dにコピーし、

~/.emacs.d/bin/doom install

を実行した。

しかし、Emacsを立ち上げてもDoomが立ち上がらなかった。

解決方法

Emacsは標準でC:\Users\name\AppData\Roaming\.emacs.dを参照するため、

git clone https://github.com/hlissner/doom-emacs $env:APPDATA/.emacs.d
$env:APPDATA/.emacs.d/bin/doom install

と実行するか、
doom installを実行した後のC:\Users\name\.emacs.dC:\Users\name\AppData\Roaming\.emacs.dにコピーする。

わからない点

EmacsはC:\Users\name\AppData\Roaming\.emacs.dを参照してはいるが、立ち上げのときにC:\Users\name\.emacs.dがないとだめっぽい。
適切な解決方法ではない気がするのでご指摘お願いします。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0