最終更新:2010-07-16 (金) 23:20:34 (5033d)  

PHP mode for Emacs
Top / PHP mode for Emacs

An Emacs major mode for editing PHP code.

Features:

  • Syntax coloring and indenting
  • Documentation browse and search functions
  • Support for Imenu and SpeedBar?
  • Customization options

http://sourceforge.net/projects/php-mode/

インストール

$ sudo apt-get install php-mode
;;php-mode
   (load-library "php-mode")
   (require 'php-mode)

手動インストール

  • php-mode.elをEmacsのsite-lispフォルダに入れて
  • M-x byte-compile-file でphp-mode.elを指定。あとは.emacsにロードの設定を書く。

参考