LoginSignup
1
1

More than 5 years have passed since last update.

emacs install 手順

Posted at

インストール手順

emacsをインストール、php-mode,web-modeの設定までやる

emacs install

command
cd /usr/local/src
curl -x http://proxy:port -O http://ftp.jaist.ac.jp/pub/GNU/emacs/emacs-24.3.tar.gz
tar -xzf emacs-24.3.tar.gz
cd emacs-24.3
yum install ncurses-devel (これやんないとコンパイルエラーになる)
./configure -without-x -without-selinux
make
make install

php-mode,web-modeインストール

setting emacs

社内環境だとproxyが入っているのでproxyの設定とmelpaの登録

~/emacs.d/init.el
(setq url-proxy-services
      '(("http" . "hostname:port")
        ("https" . "hostname:port")))

(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(fset 'package-desc-vers 'package--ac-desc-version)
(package-initialise)

php-mode,web-mode install

emacsで
M-x package-list-package
からインストール

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1