Emacs
雰囲気だけ。 The Bazaar Work Routine Bazaarでの作業手順 Overview of the Bazaar work routine: Bazaarでの作業手順の概要 1. Tell Bazaar your name and email address; these will be used as defaults to identify your commits. (Usage: bzr whoami “…
anything-find-fileでカーソル位置のファイル(ffap-line、ffap-guesser)を開くとかしたいと思うんだ。C-x C-fはファイルを開くキーバインドだし。 ;; anything-find-file setting. (setq anything-find-file-additional-sources-at-first '(anything-c-sourc…
人生を書き換える者すらいた。: 人材獲得作戦・4 試験問題ほか そりゃもう、2日以上費やしましたよ。。。
http-post-simple.el to json.el ga required.
TODO javadoc以外のコメントのヘッドライン表示 if () {とは違い{が次の行に来ていた場合のhs-hide-toggleの挙動 (defun get-javadoc-comment-headline (start end) "Return Javadoc comment headline." (save-excursion (save-restriction (narrow-to-regio…
phpのコードやrubyのコードが含まれているので、たぶんウェブブラウザでは開きたくない。 diff --git a/plugins/anything-config.el b/plugins/anything-config.el index 8e0a797..607e61d 100644 --- a/plugins/anything-config.el +++ b/plugins/anything-…
こんな感じにした。こっちは動くかなら diff --git a/plugins/auto-complete-yasnippet.el b/plugins/auto-complete-yasnippet.el index b4ea9a8..c47b447 100644 --- a/plugins/auto-complete-yasnippet.el +++ b/plugins/auto-complete-yasnippet.el @@ -3…
yasnippet-0.6.1b(c?)では、yas/snippet-table-hashのデータ構造とyas/expand-snippetの引数の順番が以前のバージョンとは違うらしい。 以下パッチ diff --git a/plugins/anything-c-yasnippet.el b/plugins/anything-c-yasnippet.el index b74c115..79020d9…
以前の案ではコンパイルに失敗すると止まったので書き直した。 バッファーにauto-install.elの出力を書き出して終了を表す文字列が表示されたらwaitループを抜ける。 (progn (setq install_dir (expand-file-name "#{install_dir}") load-path (cons install…
read-bufferって内部でread-buffer-functionが定義されていればそれを、定義されていなければcompleting-readを呼び出す。 anything-completing-readがanythingの結果がnilの場合keyboard-quitしているんだからanything-read-bufferがkeyboard-quitしないの…
Twitter / troter: kill-buffer->interactiv ...とりあえずコレで回避できるけど絶対正攻法ではない。this-commandとかよくわからない (defadvice anything-read-buffer (around transmissive-keyboard-quit-anything-read-buffer) (let ((it ad-do-it)) (if…
多分これで直ります。id:rubikitchさんどうでしょうか? @@ -907,12 +907,13 @@ used by `anything-lisp-complete-symbol-set-timer' and `anything-apropos'" (interactive) (let ((anything-map (anything-read-file-name-map)) ;; anything-read-file-nam…
anything-complete.elのanything-find-fileはアクションが選択できない。sudoしたいとき不便なのでkeymapを上書きする。ついでにsuじゃなくてsudoにする。 (setq anything-su-or-sudo "sudo") (define-key (anything-read-file-name-map) "\C-i" 'anything-s…
めも emacs --batch -no-init-file -no-site-file --directory ~/.emacs.d/elisp/ \ --eval " (progn (require 'auto-install) (require 'cl) (setq auto-install-directory (concat (car load-path) \\"/\\") auto-install-save-confirm nil auto-install-p…
めも echo "http://www.emacswiki.org/emacs/download/auto-complete.el" | \ emacs --batch --load /path/to/install-elisp.el \ -eval "(setq install-elisp-repository-directory \"~/.emacs.d/elisp/\")" \ -eval "(setq install-elisp-confirm-flag nil…
mplusフォントのサイトからelispのコード片を.emacsにコピペしただけでは動かなかった。 エラーメッセージを見るとubuntu7.10ではこのフォントがないらしい。 ascii:-mplus-gothic-medium-r-normal--12-*-iso8859-1.Xresourcesの方に書いてあるのを参考に go…