逆引きEmacs LispはEmacs Lispを使ってやりたい事から、その方法を調べられる逆引きのリファレンスです。 ページの追加や編集、情報の追加等は自由に行って頂いて構いません。
Important: This documentation applies to the SVN trunk of YASnippet, which you get here. Documentation for other versions can be found here. Quickly finding snippets There are some ways you can quickly find a snippet file: M-x yas/new-snippet Prompts you for a snippet name, then tries to guess a suitable directory to store it, prompting you for creation if it does not exist. Finally, places you in
yasnippet は定型コードなどを素早く展開することが出来る汎用テンプレートフレームワークです。 yasnippet - Project Hosting on Google Code 普通の使い方 yasnippetのドキュメントは本家のページに良くまとまっています。elisp書ける人は全部読むとかなりsnippet力が上がると思いますので、ぜひ読んでみたらいいと思います。 http://yasnippet-doc-jp.googlecode.com/svn/trunk/doc-jp/index.html (2011/09/15 追記) あと、以下のページでもみんなテンション高くなってます。(もう3年くらい前の祭りですが。。。) yasnippetがすごい!!!!1112345! - Kentaro Kuribayashi's blog yasnippet.elをインストールしてみた
anything-books.el ? anythingでPDFファイルをプレビューしながら開くプログラムを作りました。 なぜか大量にPDFがあって、PDFの管理方法に困っていて、たまたまEmacsを使っている人向けです。 画面イメージ 動かした方が受けが良さそうなので、今回はスクリーンキャストを用意してみました。 スクリーンキャスト インストール 必要なもの: anything-books.el anything.el deferred.el, concurrent.el ImageMagick PDF変換ツール(evince, convert+gsとか) PDFビューアー(AdobeReaderとか) anything.elはすでに皆さん入っていると思います。まだの人はanything導入のeverything 〜3分で使えるanything.el〜 - http://rubikitc
e2wm.elを使わせてもらうようになってから、ウィンドウの使い方がだいぶ変わってきました。そして、これまでは気にも留めなかったものがすごく気になるようになってきました。 e2wmでは、かなりのウィンドウでプラグインが動くことになるのでスクロールバーがあっても、全くありがたくありません。そもそも、スクロールバーを最近ドラッグした記憶もおぼつきません。 スクロールバーを消すのはすごく簡単で次のコードを.emacsあたりに貼っとけば消えます。 (toggle-scroll-bar nil) ただ、これのやっかいなところは全部消えてしまうところです。どうやらバッファローカルには消せないようで全てのバッファから跡形もなくスクロールバーを消しさってしまいます。 スクロールバーは文字どおりスクロールさせるバーとしては全く活躍していないのですが、バッファの大きさがどれくらいでそのバッファで自分がどの辺り
フォントの表示確認 Emacs におけるフォントの設定では「どのフォントがどのように表示されるか」ということを確認するのがとても面倒です.私は毎回 M-x customize-face としてから family へフォント名を設定し表示を確認する,という手段をとっていたのですが,非効率的にもほどがありました. 何か良いインタフェースは無いものだろうか.そう考えていたときにふと思い浮かんだのが anything-colors でした.これは anything.el を用いて Emacs 組み込みの色や face の一覧表示を行なう関数で,次のような特徴を持ちます. 色や face が実際にどのように表示されるかを確認可能 anything.el インタフェースにより,インクリメンタルな絞り込みが可能 anything.el インタフェースにより,色や face の名前をコピーや挿入することが
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
「横道にそれすぎ」に書いた事情で、EmacsでJavaScriptソースコードを読む環境を少し整えようかと。 次の2つのツールを導入してみよう、っと。 js2-mode: http://code.google.com/p/js2-mode/ エグズーベラント(EXUBERANT)Ctags: http://ctags.sourceforge.net/ 内容: より良いEmacs JavaScriptモード -- js2-mode 強烈なタグファイル作成ツール -- エグズーベラントCtags エグズーベラントCtagsを調べてみる EmacsでJavaScriptソースを読む ●より良いEmacs JavaScriptモード -- js2-mode 以前(2006年7月)、ひげぽんさんの記事で、「ecmascript-mode.el < javascript.el みたいだ」と書いてあった
JavaScript の奇妙な記法 最近の JavaScript (Firefox 3.5 以降) では, 色々と奇妙な記法が可能となっている. 例えば, 次のようなもの. let obj = {a: 10, b: 20}; let {a: a, b: b} = obj; // 分割代入の一種 let {a, b} = obj; // 上の省略記法 let [a, b] = [1, 2]; といった分割代入をご存知の方は多いのではないかと思う. 上記の記法はそれの一種とされていて, オブジェクトから特定プロパティの値を持ってくるときに有用. コードゴルフをたしなむ方々や, 某邪悪なアドオンのプラグインを書かれている方々の間では, 空気のような存在となっているらしい. 自分はこの記法を数ヶ月ほど前に知り, それからずっとこの書き方に憧れては, とある理由の為に使うことができずもどかしい思いを
Emacs is a huge beast. It can read email, play tetris, act as a file manager, display google maps, and even edit videos. It has support for many, many programming languages and has many features related to programming. Unfortunately, emacs doesn’t have a full programming environment for python out-of-the-box. In this post I’ll show how to configure emacs to write Python programs. We want to have n
rubikitch 11/02/18 9:37 とりあえず (require 'generic-x) という行 を.emacsに加えとけ。/etc/hostsやらhttpd.confな んかに色がつくようになるからさっ!せっかく機能 があるのになんで標準で有効になってないの?もっ たいない。 wtnabe 11/02/18 15:56 (require 'generic-x) 21 でも動いた 確かに便利。 普段はそんなに必要ないけど *.conf なんかをいじるときに地味に便利。Emacs 21 on CentOS でも動いた。結構昔からあるのかも。 [2011-03-09 追記] もっと詳しく書いてくれた人がいた。 clmemo@aka: Emacs で設定ファイル (/etc/hosts, /etc/apache2.conf) の色付けをする
popwin.el v0.2をリリースしました。いくつかの対話コマンドの追加と雑多なバグ修正がメインです。v0.2は次のURLから取得できます。 https://github.com/m2ym/popwin-el/tree/v0.2 install-elispやauto-installでインストールする場合は次の式を評価してください。 ;; install-elisp (install-elisp "https://github.com/m2ym/popwin-el/raw/v0.2/popwin.el") ;; auto-install (auto-install-from-url "https://github.com/m2ym/popwin-el/raw/v0.2/popwin.el") 追加されたコマンド popwin:popup-buffer-tail popwin:popup-
GNU Emacs Theme Generator (BETA) The GNU Emacs project is looking for themes to include in Emacs 24. You can use this page to make, submit, and share a simple theme. You can also create a more complex theme via M-x customize-create-theme in a development version of Emacs, and email the theme file to emacs-devel. Click here for a list of submitted themes. /* Sample Emacs buffer. */ #include <stdio
Emacsにとってフォント設定は、鬼門のひとつとして有名です。にも関わらず、いろいろとフォント周りをいじらずにはいれない僕は相当のマゾだと思います。 まず、僕はプローショナルフォントが好きなのですが、さすがにコーディングする時は等幅フォントを使いたいと思ってます。まあ、世の中にはコーディングにもプロポーショナルフォントを使った方が良いと言う話もあるようですが。。。 プログラミングはプロポーショナルフォントの方が読みやすい ? – スラッシュドット・ジャパン それと@kiwanamiさんが作られたcalfw.el、すごく便利で愛用させてもらってるのですが、等幅フォントしかも日本語フォントとasciiフォントが2:1でないと表示が崩れてしまうため、導入には恐らくほとんどの人がフォント設定の鬼門をくぐらねばなりません。 と、あーいろいろと面倒くさいなーとか思ってたらEmacs23.1からbuff
auto-completeを使おう ==================== auto-completeとは —————– 今回は手前味噌ながら拙作のauto-completeという補完パッケージの紹介と使い方の説明をしたいと思います。auto-completeはEmacsの貧弱な補完インターフェースを補完する目的で2008年に開発されました。従来のEmacsの補完インターフェースというのは良くも悪くもEmacs流でした。例えばカーソル直下のLispシンボルを補完するlisp-complete-symbol(M-TAB)を実行すると、現在のウィンドウが分割されて新しいウィンドウに補完候補が一覧されます。そして、最新のEmacsでもそうなのですが、その新しいウィンドウは自分で閉じない限り永遠に存在しつづけるのです。 長年Emacsを使っている人にとってはこの挙動はむしろ自然なのかもしれません
ヘルプバッファや補完バッファをポップアップで表示してくれるpopwin.elをリリースしました。popwin.elはEmacsにポップアップウィンドウという概念を導入することにより、バッファを表示する(display-buffer)際のEmacsのトチ狂った仕様を矯正します。この「トチ狂った仕様」とは例えば、 M-x describe-functionしたらウィンドウが勝手に分割された あるいはウィンドウのバッファを勝手に切り替えられた ヘルプバッファ(*Help*)とか補完バッファ(*Completions*)がどのウィンドウに出現するか予測できない しかも作業後にそれらのバッファが表示されたままになったりする のようなものを指します。Emacsを触ったことがある人なら上記のいずれかは不満に思ったことがあるはずです。ちなみに僕は全てを不満に思っています。 余談になりますが、Wikiped
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く