2011/08/23 00:02
[활용/emacs]
내 기어이 major-mode 를 만들게 되는구나-_ -;;
회사에서 관련 파일을 볼때 불편한 점이 있어서 간단하게 메이저 모드를 만들게 됐다.
회사 보안상 어떤 파일에 대한 메이저 모든인지 뭔지 감히 말도 못 하지만...
아무튼 관련자료를 링크해둔다
아주 간단한 HTML6 모드 만들기
http://xahlee.org/emacs/elisp_html6-mode.html
아주 약간더 복잡한 메이저 모드 만들기
http://xahlee.org/emacs/elisp_syntax_coloring.html
모드 이름 정하기
http://xahlee.org/emacs/elisp_naming_your_mode.html
메이저 모드 샘플
http://www.gnu.org/software/emacs/elisp/html_node/Example-Major-Modes.html
메이저 모드에서 사용하는 변수들 리스트
http://www.gnu.org/s/emacs/manual/html_node/elisp/Faces-for-Font-Lock.html
메이저 모드 키맵 정의하기
http://xahlee.org/emacs/elisp_menu_for_major_mode.html
comment 핸들링 하기
http://xahlee.org/emacs/elisp_comment_handling.html
emacs re-builder mode
http://xahlee.org/emacs/emacs_regex.html
이것 외에도 메이저 모드에서 지원 가능한 요소들은 다음과 같다.
font lock
handle comments
indentation
keyword completion
function documentation lookup
function template insertion
graphical menus
supporting emacs's customize-group scheme
회사에서 관련 파일을 볼때 불편한 점이 있어서 간단하게 메이저 모드를 만들게 됐다.
회사 보안상 어떤 파일에 대한 메이저 모든인지 뭔지 감히 말도 못 하지만...
아무튼 관련자료를 링크해둔다
아주 간단한 HTML6 모드 만들기
http://xahlee.org/emacs/elisp_html6-mode.html
아주 약간더 복잡한 메이저 모드 만들기
http://xahlee.org/emacs/elisp_syntax_coloring.html
모드 이름 정하기
http://xahlee.org/emacs/elisp_naming_your_mode.html
메이저 모드 샘플
http://www.gnu.org/software/emacs/elisp/html_node/Example-Major-Modes.html
메이저 모드에서 사용하는 변수들 리스트
http://www.gnu.org/s/emacs/manual/html_node/elisp/Faces-for-Font-Lock.html
메이저 모드 키맵 정의하기
http://xahlee.org/emacs/elisp_menu_for_major_mode.html
comment 핸들링 하기
http://xahlee.org/emacs/elisp_comment_handling.html
emacs re-builder mode
http://xahlee.org/emacs/emacs_regex.html
이것 외에도 메이저 모드에서 지원 가능한 요소들은 다음과 같다.
font lock
handle comments
indentation
keyword completion
function documentation lookup
function template insertion
graphical menus
supporting emacs's customize-group scheme



