Install php-mode and emacsphp-mode in MACemacs. Install php-mode in MACemacs, and emacsphp-mode is on a page (sorry, I don't remember). three configurations are compared: php-mode, php-mode-improved, and xnhtml. After comparison, we recommend that you install php-mode and emacsphp-mode in xnhtm MAC emacs.
On a page (sorry, I can't remember), I compared three configurations: php-mode, php-mode-improved, and xnhtml.
The author recommended xnhtml after comparison, but the download link on the xnthml official website keeps showing 403, which is really speechless.
Try to install php-mode-improved. after the download, follow the instructions in the code that the configuration is unsuccessful. (require 'php-mode) I am in lisp.
You can only change the direction and install php-mode. on this page, find http://melpa.org/#/getting-started. The prompt is to add MELPA to the package list first, and add it to. emacs as follows:
(require 'package) ;; You might already have this line(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)(when (< emacs-major-version 24) ;; For important compatibility libraries like cl-lib (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))(package-initialize) ;; You might already have this line
You can use m-x list-package or the package manager in options to install php-mod. then select php-mode for installation.
Http://www.bkjia.com/PHPjc/973823.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/973823.htmlTechArticleMAC emacs install php-mode, emacsphp-mode in a page (sorry do not remember), compared to the three configuration, php-mode, php-mode-improved, xnhtml. After comparison, we recommend xnhtm...