· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
EmacsEBrowse Quick Note

Ebrowse 모드 초간단 사용법

Ebrowse 는 기본적으로 Emacs에 설치되어 있습니다.

아래 예제를 압축해제 후 Emacs에서 main.cc 파일을 불러옵니다.
(~/Desktop/emacs-test/main.cc 라고 가정)

@emacs-test.tar.gz (587 Bytes)

방법 1.
~/Desktop/emacs-test/ 로 이동 후 ebrowse *.hh *.cc 명령 실행
(main.cc 파일을 열었기 때문에 바로 원하는 위치에 있을 것임)
M-x shell

~/Desktop/emacs-test/$ ebrowse *.hh *.cc
방법 2.
M-x cd (현재 디렉토리 ~/Desktop/emacs-test/ 로 변경)
M-x compile RET ebrowse *.hh *.cc
"BROWSE"이란 파일이 만들어 졌는지 확인

emacs에서 "~/Desktop/emacs-test/BROWSE"을 열면
Ebrowse-Tree 모드로 들어 갑니다.
(참고 : Dired 모드에서 새로고침은 "g"키 입니다.)

그리고 C-h m (describe-mode) 하면 나오는 도움말을 참고하셔서 사용하시면 됩니다.

Ebrowse-Tree 모드에서가 아니라 소스코드에서 쓸수 있는 Global 단축키 모음
(BROWSE 파일을 다른 버퍼에 열어 놓아야 아래 키바인딩을 쓸수 있습니다.)
C-c RET TAB ebrowse-tags-complete-symbol
C-c RET SPC ebrowse-electric-buffer-list
C-c RET % ebrowse-tags-query-replace
C-c RET + ebrowse-forward-in-position-stack
C-c RET , ebrowse-tags-loop-continue
C-c RET - ebrowse-back-in-position-stack
C-c RET . ebrowse-tags-find-definition
C-c RET F ebrowse-tags-find-declaration
C-c RET V ebrowse-tags-view-declaration
C-c RET a ebrowse-tags-apropos
C-c RET b ebrowse-pop-to-browser-buffer
C-c RET f ebrowse-tags-find-definition
C-c RET l ebrowse-tags-list-members-in-file
C-c RET m ebrowse-tags-display-member-buffer
C-c RET n ebrowse-tags-next-file
C-c RET p ebrowse-electric-position-menu
C-c RET s ebrowse-tags-search
C-c RET u ebrowse-tags-search-member-use
C-c RET v ebrowse-tags-view-definition
C-c RET 4 . ebrowse-tags-find-definition-other-window
C-c RET 4 F ebrowse-tags-view-definition-other-window
C-c RET 4 V ebrowse-tags-view-declaration-other-window
C-c RET 4 f ebrowse-tags-find-definition-other-window
C-c RET 4 v ebrowse-tags-find-declaration-other-window
C-c RET 5 . ebrowse-tags-find-definition-other-frame
C-c RET 5 F ebrowse-tags-view-definition-other-frame
C-c RET 5 V ebrowse-tags-view-declaration-other-frame
C-c RET 5 f ebrowse-tags-find-definition-other-frame
C-c RET 5 v ebrowse-tags-find-declaration-other-frame

참고:
(!) primewizard - 20080803

ID
Password
Join
You will overcome the attacks of jealous associates.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-09-01 01:09:12
Processing time 0.0062 sec