(defunperllib-check-path (lst lib-path) (let ((dir (car lst)) (lst (cdr lst))) (setf lib-path (concat lib-path "/" dir)) (if lst (if (string= dir "lib") lib-path (perllib-check-path lst lib-path))))) (defun set-perl5lib () "insert path toPERL5LIB ifits path includes 'lib' directory." (interactive) (setf path-list (cdr (split-string buffer-file-name "/")) lib-path (perllib-check-path path-list "
Emacs22から標準添付されているflymakeが超便利です。flymakeは、動的にシンタックスチェックを行ってくれるelispで、typo等によるミスが、これでかなり減ること受け合い。以下の設定には、set-perl5lib.elが必要なので、あらかじめload-pathの通った場所にインストールしておく必要があります。 http://svn.coderepos.org/share/lang/elisp/set-perl5lib/set-perl5lib.el 以下、設定。 ;; flymake (Emacs22から標準添付されている) (require 'flymake) ;; set-perl5lib ;; 開いたスクリプトのパスに応じて、@INCにlibを追加してくれる ;; 以下からダウンロードする必要あり ;; http://svn.coderepos.org/share/
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く