Chinaunix首页 | 论坛 | 博客
  • 博客访问: 171215
  • 博文数量: 61
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 640
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-24 23:25
文章分类

全部博文(61)

文章存档

2011年(2)

2010年(37)

2009年(22)

我的朋友

分类:

2010-01-16 12:00:38

a). Online Wiki for python mode:


b). Download the tarbal according to above URL
untar into your dir, e.g. $/lisp, there'll be 4 files:

doctest-mode.el  pycomplete.el  pycomplete.py  python-mode.el

c). Edit you $/.emacs, add below lines:
(setq load-path (append load-path (list "/home/ice/tools/python-mode-1.0")))
(autoload 'python-mode "python-mode" "Python editing mode." t)
(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist      (cons '("python" . python-mode)
interpreter-mode-alist))
阅读(452) | 评论(0) | 转发(0) |
0

上一篇:Undo and Redo

下一篇:Python mode in Emacs

给主人留下些什么吧!~~