タグ

2007年7月14日のブックマーク (4件)

  • EmacsWiki: El Unit

    Note: The author PhilHagelberg has marked this extension deprecated and suggests using ERT UnitTesting instead. ElUnit is a unit testing framework for Emacs Lisp code. Lisp:elunit.el It has undergone several revisions, and I’m preparing a rewrite for it. I’d like to gather ideas about what the most convenient syntax and features to include would be. Here’s a first shot at some example syntax. I li

    khiker
    khiker 2007/07/14
    Emacs Lisp 用 UNIT Test フレームワーク.
  • EmacsWiki: Predictive Mode

    DescriptionGiven the beginning of a word, Predictive Mode is a minor mode that tries to predict the rest of the word, and offers you an appropriate completion. It’s at version 0.23.13 (released April 2012), but it’s still undergoing steady development at the moment, so don’t forget to check for updates every so often. Predictive package download: http://www.dr-qubit.org/download.php?file=predictiv

    khiker
    khiker 2007/07/14
    かなり面白げ. 単語の一部から単語の使用者が入力したいであろう単語を推測, 候補を表示し補完できるようにする.
  • kajisoku.com

    This domain may be for sale!

    khiker
    khiker 2007/07/14
    最近イス欲しいなと思っていたり.
  • [elisp] tetrisのソースを読む - goinger的日記

    現在emacs標準?でついているテトリスのソースを読んでいます。行数は653行と少なめで読みやすいです。 プログラムの構成も全体的にシンプルで美しい感じがするものとなっていました。 というわけで、読んでるうちに少しメモった内容について書いてみます 始めに外部プログラムのインクルードをします.clはelispプログラムの各種マクロをまとめたファイル。gamegridはゲーム作成用のテンプレートのようなものだと思います。 ;;; Code: (eval-when-compile (require 'cl)) (require 'gamegrid) 次に各種変数の登録。elispプログラムの定石として、defgroup→defcustom→defvar=defconstといった流れで変数の登録をしております。 ちょっと間違った見解かもしれないですけど、def~の意味は以下のようになっています。(

    [elisp] tetrisのソースを読む - goinger的日記
    khiker
    khiker 2007/07/14
    tetris をよむ.