[ 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などからも 入力できるようになったので、以前ほど悩むことはなくなったようです。

Chuck Norris is the ghost author of the entire Debian GNU/Linux distribution.
And he wrote it in 24 hours, while taking snack breaks.

    -- Shlomi Fish
    -- Chuck 
                      Norris Facts by Shlomi Fish and Friends ( http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ )

                -->  ispy_ has joined ##programming
            <ispy_>  hi gang.
            <ispy_>  I'm a n00b programmer and think I should learn A and
                     B before C, right?
          <std_orb>  ispy_: General understanding should come before that.
            <ispy_>  std_orb: I have no idea what I'm doing...
          <std_orb>  ispy_: I can see that
                  *  ispy_ kicks the dirt...
 <tommy_the-dragon>  ive been meaning to get into it
            <ispy_>  Is C like JavaScript?
            <ispy_>  Same thing right?
 <tommy_the-dragon>  ispy_: lol
          <rindolf>  ispy_: Perl is more like C than JS is.
            <ispy_>  rindolf: Never heard of Perl... I should google that.
          <rindolf>  ispy_: use Bing search instead.
          <rindolf>  Or Altavista.
         <Terminus>  rindolf: i see.
            <ispy_>  rindolf, std_orb, tommy_the-dragon ... thanks for the
                     pointers :)
          <rindolf>  ispy_: you should learn Intercal, it's the most
                     expressive language possible.
            <ispy_>  rindolf: Sounds exciting!
         <Terminus>  intercal... lol!
            <ispy_>  haha
            <ispy_>  ok ok ok... I can't continue this... I'm practically
                     laughing my ass off at my desk.
          <rindolf>  :-)
            <ispy_>  hehe

    -- Emulating a Clueless Newbie
    -- ##programming, Freenode


Powered by UNIX fortune(6)
[ Main Page ]