Article View: fj.editor.xemacs
Article #167Re: 不可解なバッファと、フレーム分割。
From: Kataoka Michiaki
Date: Mon, 18 Mar 2002 20:42
Date: Mon, 18 Mar 2002 20:42
28 lines
2211 bytes
2211 bytes
*scratch* バッファ以外をすべて消すプログラムぐらいだ
ったら、あっというまにできますよ。 (下記、my-kill-all-buffer を呼ぶ。)
(ちょっと気分転換にemacs で遊んで見たくなった。
結果は、保障しません。)
(defun my-kill-all-buffer-aux (a)
(cond ((eq a nil))
((equal (buffer-name (car a)) "*scratch*")
(my-kill-all-buffer-aux (cdr a)))
(t (kill-buffer (car a))
(my-kill-all-buffer-aux (cdr a)))))
(defun my-kill-all-buffer ()
(my-kill-all-buffer-aux (buffer-list))
(delete-other-windows))
カレントバッファ以外を消すように、仕様変更し、何かのキーに
バインドする方法は、宿題に残してあげます。(笑い。)
すでに、論じられているように、
バイトコンパイルのメッセージをだすのが
いやなら、あらかじめバイトコンパイルしておくか、
バイトコンパイル自体を抑止するのが、正攻法なのでしょうね。
(個人的には邪道jも結構好き。)
# さっき、Meadow をインストールして、何年ぶりかに、Emacs lispのを
# 使ってみた。結構楽しい。
おわり。
Technical Details
Message-ID:
<a75jgf$rnn$1@news01bi.so-net.ne.jp>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!komachi.sp.cs.cmu.edu!Q.T.Honey!ngate01.so-net.ne.jp!news-post.so-net.ne.jp!not-for-mailReferences:
<m0zo1bxibv.wl@nifty.ne.jp> <a752ds$o3m$1@news01df.so-net.ne.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 1107f7,ead4a2124c9ac90f X-Google-Attributes: gid1107f7,public X-Google-ArrivalTime: 2002-03-18 12:45:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!komachi.sp.cs.cmu.edu!Q.T.Honey!ngate01.so-net.ne.jp!news-post.so-net.ne.jp!not-for-mail From: "Kataoka Michiaki" <kataoka@ga2.so-net.ne.jp> Newsgroups: fj.editor.xemacs Subject: Re: 不可解なバッファと、フレーム分割。 Date: Tue, 19 Mar 2002 05:42:46 +0900 Organization: So-net Lines: 31 Message-ID: <a75jgf$rnn$1@news01bi.so-net.ne.jp> References: <m0zo1bxibv.wl@nifty.ne.jp> <a752ds$o3m$1@news01df.so-net.ne.jp> NNTP-Posting-Host: pdf4f12.kngwnt01.ap.so-net.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000