auto-install.elが使えないので,
手動でanythingを使うのに必要な*.elを取ってきた.
$ wget http://www.emacswiki.org/emacs/download/anything.el $ wget http://www.emacswiki.org/emacs/download/anything-config.el $ wget http://www.emacswiki.org/emacs/download/anything-match-plugin.el
あと,carbon版で,anythingを使おうとすると,
Symbol's value as variable is void: split-width-threshold
こんなエラー吐く.ぐう
auto-install.el
auto-install.elを使うため,.emacs.d/init.elに
;;auto-install.el;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'auto-install) (setq auto-install-directory "~/.emacs.d/auto-install-elisp/") (auto-install-update-emacswiki-package-name t)
このように記述してemacsを起動すると,emacsがフリーズしたままハングアップしてしまう.
なぜだ!proxyを刺しているのがいけないのか
cocoa emacsの不満
jaspase.elを用いて,
;;;jaspace;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;(require 'jaspace) ;(jaspace-mode-on) ; 全角空白を表示させる (setq jaspace-alternate-jaspace-string "□") ;; 改行記号を表示させる ;(setq jaspace-alternate-eol-string "↓\n") ;; タブを表示 (setq jaspace-highlight-tabs t)
こんな感じでcarbon版の時は.emacsに書いてれば以下のようにタブ記号が表示されていたのに,
cocoa版にすると,タブ記号が表示されなくなった...orz
だから,今は,以下のような記述を採用してるんだけど,
;;タブ, 全角スペースを色つき表示する (色名は M-x list-color-displayで調べる) ;;http://homepage1.nifty.com/blankspace/emacs/color.html (defface my-face-b-1 '((t (:background "Magenta"))) nil) (defface my-face-b-2 '((t (:background "gray7"))) nil) (defvar my-face-b-1 'my-face-b-1) (defvar my-face-b-2 'my-face-b-2) (defadvice font-lock-mode (before my-font-lock-mode ()) (font-lock-add-keywords major-mode '(("\t" 0 my-face-b-2 append) (" " 0 my-face-b-1 append) ("[ \t]+$" 0 my-face-b-1 append) ))) (ad-enable-advice 'font-lock-mode 'before 'my-font-lock-mode) (ad-activate 'font-lock-mode)
emacs 23.4へ絶賛移行中
$ wget https://github.com/downloads/typester/emacs/emacs-23-lion-fullscreen-test.patch $ wget https://github.com/downloads/typester/emacs/feature-fullscreen.patch $ wget http://core.ring.gr.jp/pub/GNU/emacs/emacs-23.4.tar.gz
そして,Index of /inline_patch/trunk - MacEmacs JP - SourceForge.JPから
trunk/emacs-inline.patchをダウンロード
$ cd emacs-23.4 $ tar xzvf emacs-23.4.tar.gz $ patch -p1 < ../emacs-23-lion-fullscreen-test.patch $ patch -p1 < ../feature-fullscreen.patch $ patch -p0 < ../trunk/emacs-inline.patch $ patch -p1 < ../fix-shiftmodifier-patch-for-emacs-inline-patch.diff $ ./configure --with-ns --without-x $ make bootstrap $ make install
今,~/emacs.d/init.elを編集中
宣言
長らく頓挫してたけど,anything.elを使い始めてみようと思う.
MATAこの際,以下を参考にして carbon emacsからcocoa emacs へチャチャッと移行しよう.