いいじまです。

> 蛇足ですが,Lisp で and や or を cond の代わりに使うのは,私は,邪道(あ
> るいは,トリッキーで真っ当なプログラマーはやるべきではないこと)だと思い
> ます.

でも、使ってるんですよねえ。実際、
        if (a && b && c && d)
                e();
なんてのは and を使えば綺麗に書ける。

私の実例いくつか。

;ウィンドウ環境でなければ、メニューバーを表示しない 
(and (eq window-system nil) (commandp 'menu-bar-mode)
        (menu-bar-mode -1)
)

;デフォルトのIMEに戻す
(and
        default-input-method
        (assoc default-input-method input-method-alist)
        (activate-input-method default-input-method)
)


これはちょっと異質かな。
(delmonta-set-coding-systems (or (getenv "LC_ALL") (getenv "LANG") nil))



========================================================================
飯嶋 浩光 / でるもんた・いいじま   http://www.ht.sakura.ne.jp/~delmonta/
IIJIMA Hiromitsu, aka Delmonta           mailto:delmonta@ht.sakura.ne.jp

───【今日のひとこと】────────────────────────
There are more than one ways for doing the same thing.    --- Larry Wall
────────────────────────────────────