robot
最新文章(10)
Mqskit 和其它相關工具
CPython 的 GC 二、三事
寫 Mecurial Extension 是件快樂的事!
Mozilla 台灣辨公室徵人啟事
關於 Apple 的兩項專利
core dump 之前的 frame
怎麼發出 beep 聲?
先承認你要找的是奴才吧!
程式碼要清的多乾淨?
FreeBSD 的 Thread-Local Storage 實作
首頁
新編
最新留言
Entries RSS
重要關鍵字(10)
coding (122)
Python (93)
FreeBSD (71)
WEB (61)
URL (48)
hardware (46)
javascript (36)
Linux (34)
blog (30)
C++ (16)
所有關鍵字
新增 URL
Mercurial 與 Emacs
by thinker
2 Columns
關鍵字:
雜記
Mercurial 近來頗為流行,最直接的競爭者,應該就是 $Linux$ 所使用的 git 。然而,在 $Python$ 的世界裡, Mercurial 卻是不二選擇。除此之外,還有許多著名的 project 已採用 Mercurial ,如 $Firefox$ 。而 Emacs 則是歷史悠久的 text editor ,以 lisp 為 engine ,提供強大的擴充功能。熱愛者,甚至能用 Emacs 瀏覽網頁,收發 $EMail$ 等。不久前,我也重新投入 Emacs 的懷抱。 Emacs 本身已經和 cvs 等幾個古老的 VCS (Version Control System) 做整合,另外也支援前幾年很流行的 SVN ,但卻沒有包括 Mercurial 、 git 等新興的 VCS 。在焚香禮拜之後, Google 大神告訴我,其實 Mercurial 的 source,已經隨身附了一個叫 mercurial.el 的檔案,能夠讓 user 使用 Emacs 的同時,也能呼叫 Mercurial 。 == 安裝 == # copy `contrib/mercurial.el' 至 Emacs 的安裝目錄下,或者在 $$HOME/.emacs_lisp/ 目錄下。(自建該目錄) # 編輯 $$HOME/.emacs 加入下列兩行, # (setq load-path (cons "~/.emacs_lisp" load-path)) # (require 'mercurial) 如此就完成安裝。 == 使用 == Ctrl+c h h 按鍵組合,即可以看其它相關熱鍵的使用說明。
最後更新時間: 2008-06-13 21:27:18 CST |
引用
查詢:
COMMENTS:
on 2008-06-15 02:01:15 CST
John
said ..
git 已經有啦 :)