http://aikotobaha.blogspot.jp/2011/10/emacs-sdic-sary.html
$ sudo emerge -avt app-text/sary
$ find . -type f -mmin -100
./gene.sdic.utf8
./gene.sdic.utf8.ary
./jedict.sdic.utf8
./jedict.sdic.utf8.ary
$ diff -u /tmp/tmp.txt ../emacs.mode.sdic-mode.el
--- /tmp/tmp.txt 2015-02-14 23:44:09.339754011 +0900
+++ ../emacs.mode.sdic-mode.el 2015-02-14 23:46:00.324702577 +0900
@@ -1,3 +1,4 @@
+(setq load-path (cons "~/site-lisp/sdic" load-path))
;; ---------------------------------------------------
;; sdic
;; ---------------------------------------------------
@@ -10,9 +11,9 @@
'(progn
(setq sdicf-array-command "/usr/bin/sary") ; コマンドパス
(setq sdic-eiwa-dictionary-list
- '((sdicf-client "~/.emacs.d/dict/eijirou.sdic.utf8" (strategy array)))
+ '((sdicf-client "~/site-lisp/files/gene.sdic.utf8" (strategy array)))
sdic-waei-dictionary-list
- '((sdicf-client "~/.emacs.d/dict/waeijirou.sdic.utf8" (strategy array))))
+ '((sdicf-client "~/site-lisp/files/jedict.sdic.utf8" (strategy array))))
;; saryを直接使用できるように sdicf.el 内に定義されているarrayコマンド用関数を強制的に置換
(fset 'sdicf-array-init 'sdicf-common-init)
0 件のコメント:
コメントを投稿