bash on windows(windows subsystem for windows)でubuntuを動かし、そこから、sshで外部のサーバーに接続しています。
Emacsでanthyという日本語入力システムを使っています。
Emacsを起動するたびに
Warning (initialization): An error occurred while loading `/home/.emacs': File error: Cannot open load file, no such file or directory, anthy
というエラーが出ます。しかし、anthy自体は動作していて、日本語入力はできているので、このエラーを握りつぶしたいと思っています。
-nwをオプションにつけてEmacsを普段起動しているのですが、エラー画面が画面半分を占めて、エラー画面の閉じ方もわかりません。
.emacsは次の通りになっています。何か解決方法がありましたらよろしくお願いします。
(set-frame-parameter nil 'fullscreen 'maximized); launch with maximized screen (global-linum-mode t) ; show line number (show-paren-mode 1) ; show the counterpart of the parenthesis (push '("\.ctl\'" . scheme-mode) auto-mode-alist) (menu-bar-mode -1); disable menubar ;(setq load-path (append '("/usr/share/wnn7/elisp/emacs20") load-path)) ;(global-set-key "\C-\" 'toggle-input-method) ;(load "wnn7egg-leim") ;(set-input-method "japanese-egg-wnn7") (require 'server) (unless (server-running-p) (server-start)) (setq inhibit-startup-screen t) ;(setq inhibit-startup-message t) (setq visible-bell t) ; disable bell (global-hl-line-mode) ; hilight the current line (delete-selection-mode t) ;(define-key global-map "\C-c;" 'comment-region) ;(define-key global-map "\C-c:" 'uncomment-region) (set-language-environment "Japanese") (set-terminal-coding-system 'utf-8) (prefer-coding-system 'utf-8-unix) (set-keyboard-coding-system 'utf-8) ;;(push "/usr/local/share/emacs/site-lisp/anthy/" load-path) (load-library "anthy") ;;(load-file "/usr/local/share/emacs/site-lisp/anthy/leim-list.el") (register-input-method "japanese-anthy" "Japanese" 'anthy-leim-activate "[anthy]" "Anthy Kana Kanji conversion system") (autoload 'anthy-leim-activate "anthy") (setq default-input-method "japanese-anthy")
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/30 12:29
2018/08/30 14:24
2018/08/31 02:08
2018/08/31 09:58
2018/08/31 17:34