emacs

coffee-mode supports using tabs instead of spaces

coffee-mode users can use only spaces. Now coffee-mode supports using tabs. Repository https://github.com/defunkt/coffee-mode Setting Set coffee-indent-tabs-mode to non-nil if you want to use tabs instead of spaces (custom-set-variables '(…

anzu.el 0.30をリリースしました

anzu-replace-at-cursor-thingというコマンドを追加しました. これはユーザへ確認を行わずに置換を行うコマンドです. anzu-query-replace-at-cursor-thingの問い合わせなし版です. また置換後カーソルを元の位置に戻すようにしたのでリファクタリングでの 変…

Fix source map issue

I fixed source map issue of coffee-mode. Wrong source map files is generated when compile commands (such as coffee-compile-file) are executed, if you specified source map option(-m) to 'coffee-args-compile'. https://github.com/defunkt/coff…

未使用引数のバイトコンパイル警告を回避する

byte-compile warningを回避するためのメモ. 問題 lexical-binding有効時, 未使用の引数があると以下のような 警告がされます. ソース (defun hoge () (lambda (a) (message "hoge"))) 警告 Compiling file /home/syohei/junk/elisp/hoge.el at Sat Jan 25 1…

TRAMPのサポート

Emacs の call-process-shell-command と shell-command の違いと helm-gtags - 雑文発散(2014-01-15) helm-gtags.elが TRAMPをサポートしました. リモートファイルでも 使えるようになりました. 追加する設定は特にありません. リモートファイルを 開いた場…

標準入力から読み取りを行うプログラムの実行

quickrun 1.9.8をリリースしました. リポジトリ https://github.com/syohex/emacs-quickrun 変更点 実行するバッファのファイル(foo.plとする)と同ディレクトリに foo.pl.qrinputのような 実行するファイル + '.qrinput'(変更可)がある場合, '.qrinput'の内…

Fix some highlighting issues of coffee-mode

I fixed some highlighting issues of coffee-mode. Update You can update coffee-mode from MELPA Repository https://github.com/defunkt/coffee-mode Fix invalid keyword highlighting coffee-mode highlighted property name whose name equals to key…

Emacs 24.4の show-paren-mode

A peek at Emacs 24.4: Smarter show-paren-mode - Emacs Redux の紹介です.ruby-modeで smart-paren-modeを有効にすると do-end def-end class-end のペアがハイライトされるようになりました. smartparensでは同機能を 実装していますが, 24.4からは素の E…

coffee-mode supports Emacs "thing 'defun"

I committed that coffee-mode support Emacs "thing 'defun". Repository https://github.com/defunkt/coffee-mode Install/Update You can install/update from MELPA with package.el Support Emacs "thing 'defun" We can use thing function, such as (…

shell-popの C-u prefix

shell-popをアップデートしました. C-u prefixが新機能として追加されました. リポジトリ https://github.com/kyagi/shell-pop-el インストール package.elで MELPA, Marmaladeからインストールできます. C-u prefix C-u M-x shell-pop で空いている番号のシ…

Improve block comment highlighting

I fixed invalid block comment highlighting of coffee-mode. Repository https://github.com/defunkt/coffee-mode Update You can update coffee-mode from MELPA Image Before After Conclusion If you have any problems or suggestions, please report …

robe-completing-read-funcに helm-comp-readを使うためのラッパ関数

robeでは robe-completing-read-funcという変数に任意の補完入力関数を 指定することができます. これはドキュメント表示等で使われます. デフォルトは ido-completing-readで, 他に completing-readを指定する ことができます. これを helmインタフェースに…

Improve Regexp Literal Highlight

I fixed regexp literal highlight in coffee-mode. I hope that we fixed all well-known syntax highlight issue. Repository https://github.com/defunkt/coffee-mode Install/Update You can install newer coffee-mode from MELPA with package.el M-x …

coffee-mode 0.5.0をリリースしました

最近 coffee-modeの co-maintainerになって, issue, pull requestを 消化したり, 不具合修正をしたり, 新機能追加をしていました. まだ不具合はあるんですが, 区切りがついたということで バージョン 0.5.0をリリースしました. リポジトリ https://github.co…

エラーメッセージのカラー表示に対応しました

coffeescriptを表示させようとしたらエラーがちゃんと表示され なかったので修正しました. これにともない 1.9.7をリリースしました. MELPAからは数時間後ダウンロード可能になると思います. リポジトリ https://github.com/syohex/emacs-quickrun イメージ …

Goの Coverage機能を Emacsから利用する

http://golang.org/doc/go1.2 Go 1.2がリリースされましたが, その中の新機能にカバレッジがあります. この機能を Emacsから活用する機能を紹介します. インストール まずカバレッジツールをインストールします. % go get code.google.com/p/go.tools/cmd/co…

zeal-at-pointの紹介

zealを Emacsからお手軽に使うための拡張です. Windows(未確認)でも Linuxでも使える dash-at-pointというところでしょうか リポジトリ https://github.com/jinzhu/zeal-at-point インストール MELPAからインストールできます 設定 MELPAからインストールし…

highlightのテストに関するメモ

だいぶ前に m2ymさんに教えていただいたんですが, 最近になっていざ 使おうとしたときすっかり忘れていて, また調べまわるハメになったので メモとして残しておきます. 問題 ert等を使ってテストをするとき, '-batch'オプションを使ってコマンドライン から…

helm-gtags 1.0.7をリリースしました

helm-gtags 1.0.7をリリースしました. リポジトリ https://github.com/syohex/emacs-helm-gtags インストール MELPAからインストールできます. 新機能 helm-gtags-next-history, helm-gtags-previous-historyの実装 環境変数 GTAGSLIBPATHのサポート helm-gt…

ac-ispellをリリースしました

ispell/aspellを利用した auto-complete sourceを提供する ac-ispellをリリースしました リポジトリ https://github.com/syohex/emacs-ac-ispell インストール MELPAからインストールできます. 設定 ;; Completion words longer than 4 characters (custom-s…

free-keys 空いているキーバインドを教えてくれる拡張

Emacsを使っている人の中にはキーが足りないと感じている人が 多いことでしょう. 割り当てられるキー自体はいろいろありますが, デフォルトで何か割り当たっているということも多々あります. それを上書きしてしまうのもありですが, 完全に空いているキーと …

emacs-anzu 0.20をリリースしました

リポジトリ https://github.com/syohex/emacs-anzu MELPAからは数時間後ダウンロードできるようになるかと思います. 修正点 0文字のマッチ, '^', '$'を置換しようとしたとき機能しない問題の修正 to-stringのハイライトの改善. \,(...)の中に \1とか \#を書…

termitを Emacsから使うための設定

Ruby - コマンドラインからGoogle Translationを使える termit が便利 - Qiita ターミナルからだとめんどくさいので書いてみました. コード Google翻訳が対応しているものだと何でもいけるんでしょうけど、とりあえず 英語 日本語で. 仕様なのか何なのか 1文…

flycheck-list-errorsがよい

flycheckの flycheck-list-errorsがいい感じです. 機能としては, 下記のイメージのようにエラー・警告を compileのように 表示してくれるもの. next-errorや previous-errorに対応しています. 大域的にエラーを眺めたいときに便利です. デフォルトでは "C-c …

emacs-anzu 置換コマンドの改良

to-stringに "\1", "\2"みたいなのがあったとき, 展開されていなかった問題を 修正しました. リポジトリ https://github.com/syohex/emacs-anzu イメージ

関西 Emacs #8に参加しました

(kansai-emacs #x08) #関西Emacs : ATND 第 8回 関西 Emacsに参加しました. あまりおもしろいネタがしこめて いなかったので, 特に発表する気はなかったのですが, 最近の作業報告的な 感じの発表を行いました. 発表資料 その他 フリータイムが多かったので, …

Mavericksで Emacsからデスクトップ通知を使う

Bash - Mavericksでターミナルからパイプで通知だけするワンライナー - Qiita の Emacs版 コード (defvar notification-center-title "Emacs") (defun notification-center (msg) (let ((tmpfile (make-temp-file "notification-center"))) (with-temp-file …

helm-gtagsの persistent action時に該当箇所を highlightするようにしました

Add highlight to persistent-action · Issue #6 · syohex/emacs-helm-gtags · GitHub 要望があったので対応しました. リポジトリ https://github.com/syohex/emacs-helm-gtags イメージ 確かにいい感じになったと思います. おわりに 問題があれば github is…

emacs-anzuの置換コマンドを evil風にしてみた

いかがでしょうか ? コミットはまだしていない. 追記 2013年 10月 23日 17:30 コミットしました.

Re: emacs-quickrun で MacOSX 上の Java を実行してエラーが文字化けする場合の対処メモ

emacs-quickrun で MacOSX 上の Java を実行してエラーが文字化けする場合の対処メモ - 牌語備忘録 -pygo 新規にコマンドを追加するよりも, hookで quickrunのコマンドライン オプションを変更する方がお手軽な気がします. コード option変数(quickrun-optio…