« 音楽配信も無料広告モデルになるのか? | メイン | PerlでPDFの生成 »

2005年12月06日

[技術] .emacs

【技術メモ】

出先で、emacsの設定をしたくなったとき用

;; .emacs

;;; uncomment this line to disable loading of "default.el" at startup
;; (setq inhibit-default-init t)

;; turn on font-lock mode
(when (fboundp 'global-font-lock-mode)
(global-font-lock-mode t))

;; enable visual feedback on selections
;(setq transient-mark-mode t)

;; default to better frame titles
(setq frame-title-format
(concat "%b - emacs@" system-name))

;; cperl-modeを使う
(add-hook 'perl-mode-hook
'(lambda ()(cperl-mode)
))
(setq cperl-indent-level 2)
(setq cperl-continued-statement-offset 2)
(setq cperl-comment-column 40)

;; tab-width = 2 spaces
(setq default-tab-width 2)

投稿者 nekobara : 2005年12月06日 13:57


トラックバック

このエントリーのトラックバックURL:
http://www.ishihara.ne.jp/mt/mt-tb.cgi/795

コメント

emacs・・・懐かしい^^;。
UNIXのコマンドもすっかり忘れてしまったわ(^^;。

投稿者 shamon : 2005年12月08日 23:15