Install php-mode under MACemacs, emacsphp-mode_PHP tutorial-php Tutorial

Source: Internet
Author: User
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...

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.