~/.bashrc
export EDITOR=emacs
.emacsの設定(meadow, emacs共通部分)
(transient-mark-mode t)
(show-paren-mode t)
(require 'psvn)
(setq visible-bell nil)
(add-hook 'c-mode-common-hook
'(lambda()
(c-set-style "linux")))
(setq tags-table-list
'("..." "..." "..."))
- タグのうちかた(Meadowの場合、c:/Meadow/bin/以下にあるetags.exeを使ってタグをうつ)
$etags `find SRC -name "*.cpp"` -o HOGE/TAGS
$etags -a `find INC -name "*.h"` -o HOGE/TAGS
(setq auto-mode-alist
(append '(("\\.h$" . c++mode))
auto-mode-alist))
(setq backup-inhibited t)
(setq inhibit-startup-message t)
(line-number-mode t)
(add-hook 'csharp-mode-hook (lambda ()
(setq c-basic-offset 4
tab-width 4
indent-tabs-mode nil)))
(autoload 'csharp-mode "csharp-mode" "C# editing mode." t)
(nconc auto-mode-alist '(("\\.cs$" . csharp-mode)))
最終更新:2008年04月04日 22:57