emacs

emacs lispを普通のスクリプト言語として遊ぶときのオプション

emacs lispを普通のスクリプト言語として遊ぶときのオプションの覚え書き ファイルを使うとき $ echo '(print "hello,world")'>a.el ;emacs -script a.el ; rm a.el "hello,world" ワンライナー $ emacs -batch -eval '(print "hello,world")' "hello,world"…

emacs23をcvsから取得しdebパッケージにする

とてもほめられたやり方じゃないが とりあえずdebにすることでdpkg -r で抜けるようになる。 $ cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs $ mv emacs emacs-22 $ tar czvf emacs-22.tar.gz emacs-22 $ cp emacs-22.tar.gz emacs…

emacsのウインドウタイトルを変更する

emacsではウインドウは別の意味なのでフレームというらしい。 (setq frame-title-format "Emacs")これで変更できる。

windowsにおいてsendtoからcygwin emacs22を起動する

以下を emacs.vbsとして C:\Documents and Settings\ユーザ名\SendTo\ に保存すると右クリック送るに登録することが出来る。 Set objShell = WScript.CreateObject("WScript.Shell") Set objExec = objShell.Exec("C:\cygwin\bin\cygpath """+WScript.Argume…

emacsでemacsclientを使う

http://flex.ee.uec.ac.jp/texi/faq-jp/faq-jp_63.html なるほど、.emacsに(server-start)と書いてサーバーモードでemacsを立ち上げておけばemacsclientで起動が速くなるのね。 ただしし終了はC-x#

emacsでUTF-8運用

そういや、UTF8運用してからemacsで漢字入力していなかったことに気がついた。 最初は http://0xcc.net/blog/archives/000041.html こっちを見てたんだけど、どうも再読み込みしたとき漢字が化けるので以下を発見、該当部分は以下のみを~/.emacsにいれる。 …

utf8を読めるようにする

apt-get install mule-ucs *[unzip] 同一のファイルを上書きしない。 >|| -n never overwrite existing files. If a file already exists, skip the extraction of that filewithout prompting. By default unzip queries before extracting any file that a…

インストール

apt-get install emacs21