まえがき だいたい 2 週間くらい Clojure を書いているとライブラリのバグを綺麗に踏み抜いたりマクロの沼に引きずりこまれたりと、まぁやたらとデバッグする機会があります。それで先日からライブラリを clone して書きなおして lein install して…などしていたのですが、一緒に Clojure 書いている Clojure チョットデキル人に「そんなことしなくてもいいよ」と色々教えてもらったのでだいたい現時点で僕が知っている幾つかのデバッグ方法を書いておこうと思う。ただし、これは Clojure 一般というよりはEmacs/Cider-mode という環境に依存している部分が多いと思うので他の環境を使っている人はもしかしたらかなり役に立たないかもしれません。アプローチそのものは他の IDE などでも実装されているかもしれませんが僕はよく知らないので悪しからず。 Print
gist.el から fork したものを、名前を変えて marmalade に上げた。 今のところ把握してる本流との主な機能の違いは 他のライブラリへの依存があんまりない paging サポートgist リポジトリを ~/.gist に fetch token の暗号化gist リポジトリのファイルを保存したときに自動的に POST する (default では無効) ぐらい。 インストール package-archives に marmalade を追加して M-x list-package で yagist をインストールするか https://github.com/mhayashi1120/yagist.el/raw/master/yagist.el をダウンロードして (require 'yagist) するか、必要な関数だけ autoload する。 (autoload '
elcc:routine-d で渡したタスク(コード片と引数)は、キューに積まれて、予め決められたワーカープロセスの数で処理されます。(今のところ、 elcc:init-processを実行した時点のelcc:process-max-number で決まりますが、APIがダサいので今後変わると思います) elcc:demoでは、以下のようにフィボナッチを並列に計算してみました。 (defun elcc:demo () (interactive) (lexical-let ((code '(lambda (x) (let* ((f (lambda (f xx) (if (> 2 xx) 1 (+ (funcall f f (- xx 1)) (funcall f f (- xx 2))))))) (funcall f f x)))) (begin-time (float-time))) (d

Download Git Homepage ;;; auto-async-byte-compile.el --- Automatically byte-compile when saved ;; Time-stamp: <2012-03-23 06:40:14 rubikitch> ;; Copyright (C) 2010 rubikitch ;; Author: rubikitch <rubikitch@ruby-lang.org> ;; Keywords: lisp, convenience ;; URL: http://www.emacswiki.org/cgi-bin/wiki/download/auto-async-byte-compile.el ;; This file is free software; you can redistributeit and/or modi
Shell-Pop is a utility which helps you pop up and pop out shell buffer window easily. DownloadYou can download shell-pop.el from the following link.Lisp:shell-pop.elHow to use1. Place this file in a directory in your load-path.2. (require ‘shell-pop)3. M-x shell-pop. The shell buffer window appears at the bottom of the selected window.4. You can enjoy shell.5. M-x shell-pop. The shell buffer windo
Download ;;;ruby-block.el --- highlight matchingblock ;; Copyright (C) 2007-2013 khiker, shishi,juszczakn ;; Author: khiker <khiker.mail+elisp@gmail.com> ;; Keywords: languages, faces,ruby ;; This file is free software; you can redistributeit and/or modify ;;it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your opt
2013年 7月 19日 概ね自分のしたかったことが出来たので、まとめておきました。 自分用の辞書を作って出来たこと ライブラリ名表示、色分け、直前の文字の条件指定など。 セレクタもこんな感じで、 直前の文字が`$.'もしくは`jQuery.'の場合のみ出てくるjQueryメソッド。 括弧が末尾にあった場合のみ展開後に括弧内へ移動 テスト環境 以下の通り。emacsを最低限の設定にして試しました。MacOSX 10.8emacs 24.3 auto-complete.el 1.4.0 フォルダ構成は次のようにしました。 ~/.emacs.d/init.el 設定ファイル ~/.emacs.d/elisp/auto-complete/ auto-completeフォルダ ~/.emacs.d/ac-user-dict/ ユーザ辞書フォルダ ここでは、js-mode/js2-modeにおい

最近Go言語を始めた。MacにGoの実行環境を入れ、Emacsで編集するところまで、一通りまとめておく。Goの導入 (for OS X) いろいろ方法があるようだけど、僕はカジュアルに brew installgo で済ませた。GOPATH 環境変数は最初プロジェクト毎に設定して使おうかと思っていたんだけど、 後述するgocodeやgo-flymakeといったツールを使う場合、手元のGOPATHは1つにしてしまったほうが便利なので、 exportGOPATH=$HOME/dev/go-workspace というのをshellの設定に定義して、手元ではこの共通のPATHを使うようにした。 これは問題がでたらまた考える。 PATHを通す homebrewで入れたツールをEmacsから使うためには、 homebrewのbinディレクトリを exec-path に追加する必要がある。 (a
昨日、 @naoiwata さんにEmacs の使い方教えようとして、とりあえず anything とか入れてあげたんだけど設定してあげているうちにEmacs 24 になってから Package.el が使える分、設定の仕方が少し変わったりしていることに気付いたので自分のもこの機会に少し変えてみようと思って最初からいじり直してみた。 メジャーどころで入れているのは anything, auto-complete, auto-install あたり。 それ以外には e2wm や inertial-scroll を入れている。Ruby と Gauche が書ける最小構成を目指していた気がするけど、気が付いたら半日経過していたあたりEmacs の設定は沼だと思う。Ruby 書く設定は今までと少し趣を変えて RSense を導入したりしてみた。 RSense,ruby-end-mode
Cask¶ Cask is a project management tool forEmacs Lisp to automate the package development cycle; development, dependencies, testing,building, packaging and more. Cask can also be used to manage dependencies for your localEmacs configuration.It’s based on a Cask file, which identifies anEmacs Lisp package, provides meta information about the package, and declaresits contents and dependencies.

リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く