perlã§ããã°ãhideshow.el ã«ããhs-minor-mode
ç¾å¨ãgnupackä»å±ã®emacs23ã使ç¨ãã¦ãã¾ããããã®emacsã«ã¯hideshow.elãæ¨æºã§ä»å±ãã¦ãã¾ããhideshow.el ã«ããhs-minor-modeã¯M-x hs-minor-modeã§èµ·åã§ãã¾ãããcperl-modeã«hookãã¦å©ç¨ããå ´åã.emacsã«æ¬¡ã®ããã«è¨è¼ãã¾ãã
(add-hook 'cperl-mode-hook '(lambda() (hs-minor-mode 1)))
hs-minor-modeã®ç¶æ
ã§ã¯ãM-x hs-hide-allãM-x hs-show-allçã§methodã®è¡¨ç¤º/é表示ãåãæ¿ãããã¨ãã§ãã¾ãããç§ã®å ´åãmenuãã¼ããéããããéããããã¦ãã¾ãã
javascriptã§ããã°ãjs2-mode
hs-minor-modeã¯javascriptã§ãå©ç¨ã§ãã¾ãããfunction SomeClass() {...}ã®ããã«ã¯ã©ã¹ãå®ç¾©ããjavascriptã§M-x hs-hide-allãå®è¡ããã¨ãã¯ã©ã¹å ¨ä½ãéãã¦ãã¾ãçºãæå³ãããã¾ããã
javascriptã§M-x hs-hide-allããä¾
function BookmarkManage() {...} var bm = new BookmarkManage();
javascriptã®ç·¨éã«js2-mode.elãå©ç¨ãã¦ãã人ã¯å¤ããã¨æãã¾ãããç§ã®å ´åãã¡ãã¥ã¼ãã¼ã®ãIM-JavaScript-IDEãã§ã¡ã½ãã群ãä¸è¦§è¡¨ç¤ºãã¦ãã¾ãã
hs-minor-mode ã js2-modeãã¡ãã¥ã¼ãã¼ããæä½ãã¦ãã¾ãããããæãã§ãã