windows7 安裝Emacs 24

來源:互聯網
上載者:User

最近因為需要開發windows上的產品,又回到windows上來,因為要寫newlisp指令碼,還是emacs用起來比較方便。

下面介紹一下安裝最新版本的emacs的步驟,

1. 從http://core.ring.gr.jp/pub/GNU/emacs/windows/ 下載檔案emacs-24.3-bin-i386.zip

2. 解壓後放在自己的使用者目錄下,比如我的位置:C:\Users\shu6889.CHN\emacs-24.3-bin-i386

3. 看一下目錄中的說明檔案README.W32,裡面說可以運行addpm.exe,用管理員權限運行,會自動建立捷徑。

以後就可以通過Start->All Programs->Gnu Emacs->Emacs 啟動。

4.現在應該能夠正常啟動了,不過背景是白色的,比較刺眼。開始安裝主題吧。

安裝主題的方法:

1.記住這是emacs的home目錄,C:\Users\shu6889.CHN\AppData\Roaming,在下面建立一個目錄

.emacs.d (如果沒有的話)

2.下載color-theme-6.6.0.zip檔案

http://download.savannah.gnu.org/releases/color-theme/

3.解壓後放到.emacs.d目錄下

4.在Roaming目錄下建立.emacs檔案,裡面加上幾行:

(let ((default-directory "~/.emacs.d/color-theme-6.6.0/"))(normal-top-level-add-to-load-path '("."))(normal-top-level-add-subdirs-to-load-path))(require 'color-theme)(color-theme-initialize)(color-theme-arjen)

5.重新啟動emacs,看到主題了,黑色背景,眼睛舒服多了。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.