This domain may be for sale!
Emacsの検索機能を使いこなす(菅原泰樹) 「Emacsのトラノマキ」 連載第一回 「Emacsの検索機能を使いこなす」 ■■■100年のエディタの世界へようこそ(脚注) 今月からEmacsの話を中心にした連載を始めることになりました.本連載は,Emacsを使って最高のエンジニアになりたいと願う読者のために書きます.Emacsやその周辺のツールを使いこなすと,日々使うコンピュータ環境を便利に拡張できます.連載は回ごとのテーマを決めて,Emacsの便利な使い方や設定方法を紹介します.Emacsは環境そのものです.そして,Emacs Lispにより拡張可能な環境です.Emacs Lispを覚えるとEmacsの可能性は更に広がります.残念ながら他のプログラミング言語に比べてEmacs Lispを敬遠する人は多いようです.ひとつの要因が,Emacs Lispのイディオムや簡易なノウハウを紹介する
エディタで行末に存在するスペースを強調表示する設定。 今流行の.emacs & .vimrc - グニャラくんのグニャグニャ備忘録@はてな Emacsだと、 Elips is just a typo of Elispのdevelock.el.gz がよさげです。 こんな感じ: こんだけ目立てばインデントおかしなコードを書くのを防げます。が、副作用として他人のコードをかたっぱしから直しなくなるので注意が必要です。 ついでにそのほか色関連のを晒します。 (defun recenter-and-fontify-buffer () "comment..." (interactive) (recenter) (font-lock-fontify-buffer)) (define-key esc-map "\C-l" 'recenter-and-fontify-buffer) ;; カーソル位置のfa
Emacs で wdired と moccur-edit を使っていない人は(ry と思ったので紹介します。 wdired wdired ではファイルのリネームが超簡単になります。 mv やエクスプローラで F2 を押してリネームをしている人は wdired を使うべし。 dired で ~/tmp を表示すると以下の様になっているとします。 /home/taro/tmp: 合計 273 drwxr-xr-x 6 taro taro 928 2006-12-26 10:41 . drwxr-xr-x 66 taro taro 3632 2006-12-26 10:25 .. -rw-r--r-- 1 taro taro 2232 2006-11-24 21:36 EndsWithTest.cpp -rw-r--r-- 1 taro taro 670 2006-11-24 21:24 End
emacs でリアルタイムに構文チェックする方法です.flymakeを使います.仕組みとしては コーディング中に C-x C-s を押すと,バックグラウンドで make が走る make がエラーを出した場合は,該当するコードをハイライト表示する だけです.恐ろしく便利です. 参考 開発元 http://flymake.sourceforge.net/ すでに他の方のブログでも取り上げられています. flymake でリアルタイム文法チェック - とりあえず暇だったし何となくはじめたブログ Flymake を使って編集中にシンタックスエラーを検出する — ありえるえりあ インストール emacs22以降であればflymakeはデフォルトでインストール済です. 設定 flymakeは,構文チェックの処理を外部プログラムに丸投げしています.たとえば構文チェッカとして make を使う場合は,以
Petit emacs lisp tips 数十行程度の小細工 emacs lisp です。主に Meadow 1.15 - 2.20 (emacs 20.7 - 22.0.50.1) 上で動作確認しています。mule と聞いたらラバのことだと思っているので悪しからず。 これらのコードは、頻繁に訂正しています。ご利用は自己責任で。 Contents 起動速度を改善するための emacs lisp [Meadow 1] ハイレベル API で定義されたフォントの読み込みを高速化 [Meadow 2] 色々なサイズのフォントの設定 [04/11/11 追記] .emacs の読み込みスピードを計算 追記: Meadow 2 起動時間の推移(試行錯誤中) [04/02/14 更新] エラー箇所へのジャンプつき .emacs.el の自動バイトコンパイル [05/01/02 更新] ちょっとした機
Emacs ユーザーの方に質問です。これは便利! と思える elisp プログラムを教えてください。 標準で組み込まれてるものでも結構です。プログラムがどういうものかの説明も簡単にしていただけると嬉しいです。 ちなみに自分が便利だなと思うのは ・ ELScreen (GNU screen のようなスクリーン機能を実現するもの) ・kill-summary.el (killing buffer を履歴表示して yank するものを選べるようにする) ・navi2ch (定番ですねw 2ちゃんねるビューワー) ・riece (IRCクライアント) などです。それから、こういう設定知ってる? 的なものも是非教えてください。 今日 (windmove-default-keybindings) で shift + カーソルキーで分割したウィンドウが移動できることを知って驚愕してます。 よろしくお願い
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く