[ Main Page ]

Emacs tips

通常の状態では日本語入力もままならないこともあるかもしれません。

(setq default-input-method "japanese-egg-wnn")
(set-default-coding-systems 'euc-jp)
(set-terminal-coding-system 'euc-jp)
(set-keyboard-coding-system 'euc-jp)
(set-buffer-file-coding-system 'euc-jp-unix)
(prefer-coding-system 'japanese-iso-8bit)

(global-set-key [end]  'end-of-buffer )
(global-set-key [home] 'beginning-of-buffer )
; BackSpaceが使えるように。
(define-key global-map "\C-h" 'delete-backward-char)

日本語入力ではtamago(egg)がおすすめです。ただ最近は、XIMPなどからも 入力できるようになったので、以前ほど悩むことはなくなったようです。

The aphorism "you can't tell a book by its cover" originated in the times when
books were sold in plain cardboard covers, to be bound by each purchaser
according to his own taste. In those days, you couldn't tell a book by its
cover. But publishing has advanced since then: present-day publishers work
hard to make the cover something you can tell a book by.

I spend a lot of time in bookshops and I feel as if I have by now learned to
understand everything publishers mean to tell me about a book, and perhaps a
bit more. The time I haven't spent in bookshops I've spent mostly in front of
computers, and I feel as if I've learned, to some degree, to judge technology
by its cover as well. It may be just luck, but I've saved myself from a few
technologies that turned out to be real stinkers.

    -- Paul Graham
    -- Java's Cover ( http://www.paulgraham.com/javacover.html )

Rule of Open-Source Programming #9:

Give me refactoring or give me death!

    -- Shlomi Fish
    -- "Rules of Open Source Programming"


Powered by UNIX fortune(6)
[ Main Page ]