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

  <kfogel>  ghudson: there was a three hour difference, so people would
            have noticed the warnings
  <kfogel>  but yes, that's the only dfiference
  <kfogel>  i.e., you could theoretically test with the current test
            tarball
 <ghudson>  Yeah, not important for my purposes, is what I meant.
         *  kfogel is super paranoid and prefers testing of the real
            tarball, but has retained just enough sanity to know that this
            is paranoia...
  <kfogel>  "Why, what could *possibly* go wrong?"
         *  fitz watches kfogel's hair spontaneously combust
  <kfogel>  arrrrgh
     <CIA>  kfogel committed revision 7737: * CHANGES: Mention APR req
            upgrade for 0.33.
         *  rooneg wonders how kfogel will deal with having burning
            hair...

    -- #svn, Freenode

     <rindolf>  wankit
      <buubot>  Perl 6, unlike most people, is able to breathe in the
                vacuum of space. In fact, anything else would damage its
                respiratory system. Because of this, whenever it's
                visiting Earth, it wears a respirator, which resembles a
                kickass beard.
     <rindolf>  Heh heh.
     <rindolf>  Are all of buubot's wankit factoids about Perl 6?
     <rindolf>  He should have some about Chuck Norris, too.
      <merlyn>  fictional factoids about a partially designed, partially
                implemented, partially wanted language. :)
     <rindolf>  merlyn: yeah.
      <merlyn>  Heh - those are all Chuck Norris quotes with s/Chuck/P6/
 <dabreegster>  rindolf: It's written in Chuck Norris, right
      <merlyn>  Chuck Norris writes code in Perl 6. Before Larry's done.
                And it works.
     <rindolf>  merlyn: Chuck Norris wrote Perl 6 in a day but then
                destroyed all evidence with his bare hands, so no one will
                know his secrets.

    -- Discussing the merits of documenting one's pet languages on
    -- #perl, Freenode


Powered by UNIX fortune(6)
[ Main Page ]