没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > sen-emacs-conf |
sen-emacs-conf
|
0 | 0 | 36 |
贡献者 | 讨论 | 代码提交 |
This is my emacs configuration. It's based on Emacs Starter Kit which I changed so, it's not really compatible. I tried to merge my emacs config and starter kit.
Among other things in svn:externals it points to the ruby-mode, scala mode and yasnippet. Thus every time you check this configuration out it also fetches these parts.
Also, note that for proper work you'd need to install Pymacs as a standard Python extension, pylint and put next script into your PATH
#!/usr/bin/env python
import re
import sys
from subprocess import *
p = Popen("pylint -f parseable -r n --disable-msg-cat=C,R %s" %
sys.argv1, shell = True, stdout = PIPE).stdout
for line in p.readlines():
match = re.search("\\[([WE])(, (.+?))?\\]", line)
if match:
kind = match.group(1)
func = match.group(3)
if kind == "W":
msg = "Warning"
else:
msg = "Error"
if func:
line = re.sub("\\[([WE])(, (.+?))?\\]",
"%s (%s):" % (msg, func), line)
else:
line = re.sub("\\[([WE])?\\]", "%s:" % msg, line)
print line,
p.close()