■掲示板に戻る■ 全部 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 最新50

レス数が950を超えています。1000を超えると表示できなくなるよ。

Emacs part3

189 :名無しさん@お腹いっぱい。 :01/12/21 01:58
ここに書いてある、コード
http://www.linux.or.jp/JF/JFdocs/kernel-docs-2.2/CodingStyle.html
(defun linux-c-mode ()
"C mode with adjusted defaults for use with the Linux kernel."
(interactive)
(c-mode)
(setq c-indent-level 8)
(setq c-brace-imaginary-offset 0)
(setq c-brace-offset -8)
(setq c-argdecl-indent 8)
(setq c-label-offset -8)
(setq c-continued-statement-offset 8)
(setq indent-tabs-mode nil)
(setq tab-width 8))

を.emacs.elに書き込んで、Emacs20.7を起動して、
M-x linux-c-modeとしても、
インデントが変わらないのはなぜなんでしょうか?


新着レスの表示

掲示板に戻る 全部 前100 次100 最新50
名前: E-mail (省略可) :

read.cgi ver5.26+ (01/10/21-)