color-theme, auto-complete
なんだぁ,auto-completeなんていう超素敵なものがあるんじゃないですかぁ。
誰も教えてくれなかったよ・・・。
というわけで,導入。
んで,ついでに,以前書いた,color-themeの件について,
my-color-themeがアホみたいに長くて.emacsファイルを圧迫するので,
ちょっと考えて,改善。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; カラーテーマを適用 (require 'color-theme) (color-theme-initialize) ;; これを呼ばないと,color-theme-dark-blue2がvoid functionだと怒られる。 (color-theme-dark-blue2) ;; フェイスを変更したい場合は,以下に追加する。 (custom-set-faces '(font-lock-comment-delimiter-face ((t (:bold t :weight bold :foreground "GreenYellow")))) '(font-lock-comment-face ((t (:bold t :weight bold :foreground "GreenYellow")))) '(YaTeX-font-lock-declaration-face ((t (:bold t :weight bold :foreground "peru")))) '(YaTeX-font-lock-label-face ((t (:bold t :weight bold :foreground "gold")))) '(font-lock-doc-face ((t (:bold t :weight bold :foreground "salmon")))) '(iswitchb-current-match ((t (:bold t :foreground "green" :weight bold)))) '(iswitchb-current-match ((t (:bold t :weight bold :foreground "green")))) '(iswitchb-single-match ((t (:bold t :weight bold :foreground "green")))) '(mcomplete-history-method-fixed-part-face ((t (:foreground "green" :bold t :weight bold)))) '(mcomplete-prefix-method-fixed-part-face ((t (:bold t :weight bold :foreground "green")))) '(mcomplete-substr-method-fixed-part-face ((t (:bold t :weight bold :foreground "green")))) '(diff-hunk-header-face ((t (:background "olive drab")))) '(elscreen-tab-current-screen-face ((t (:background "steel blue"))))) ;; auto-complete の背景をちょっこす変えました。 (when (require 'auto-complete nil t) (require 'auto-complete-etags) (global-auto-complete-mode t) (setq ac-auto-start 3) (define-key ac-complete-mode-map "\C-n" 'ac-next) (define-key ac-complete-mode-map "\C-p" 'ac-previous) (define-key ac-complete-mode-map "\M-/" 'ac-stop) (custom-set-faces '(ac-menu-face ((t (:background "SkyBlue" :foreground "white")))) '(ac-selection-face ((t (:background "DeepSkyBlue" :foreground "white"))))))
そして,ボクでも出来たよということでスクリーンショット。
これは便利だわ。すげーよ,作った人。
そして,日本人であるということにも敬服します。
ちょっこすくやしいけど。
そして,使用させてもらえることに感謝感激!!
ありがとう!!
まだまだ,設定については,改良の余地があるので,
牛歩戦術でやっていきたいと思います。
いやー,感激だわ。
なんか,semanticとも連携できるみたいだし。
楽しみです。