Install php-mode and emacsphp-mode in MAC emacs

Source: Internet
Author: User

Install php-mode and emacsphp-mode in 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-archivees' ("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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.