cn.bbs.comp.emacs
  Home FAQ Contact Sign in
cn.bbs.comp.emacs only
 
Advanced search
September 2008
motuwethfrsasuw
1234567 36
891011121314 37
15161718192021 38
22232425262728 39
2930      40
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
cn.bbs.comp.emacs Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: Emacs 对 Python 缩进支持不好?         


Author: 1 1 2 3 5 8 13 21 34 55 99
Date: Sep 6, 2008 06:12

打开一个空文件,命名为xx.py,自动进入Python mode啊

【 在 shgsun (shgsun) 的大作中提到: 】
: 你用的是什么mode?

--
发信人: analyz (UNIX), 信区: Emacs
标 题: Re: Emacs里怎么复制文本到其他地方啊?
发信站: 水木社区 (Wed Aug 22 14:12:24 2007), 转信
>C-h t是谈恋爱
>manual 才是真正的结婚
>Lisp Reference Manual 就成了解剖学了.....

※ 来源:・水木社区 newsmth.net・[FROM: 116.225.18.*]
no comments
  Re: Emacs 对 Python 缩进支持不好?         


Author: shgsun
Date: Sep 6, 2008 06:05

你用的是什么mode?

【 在 vvoody (1 1 2 3 5 8 13 21 34 55 99) 的大作中提到: 】
: 我遇到过几个python的程序,复制到emacs后,C-M-\,调整缩进了,结果缩进错误了。。。
: 有没有好点的缩进方法?还是Emacs 对Python支持不够好?
: 比如下面的代码,我C-M-\后,finally前就没缩进了,导致错误。
: ...................

--

※ 来源:・水木社区 newsmth.net・[FROM: 221.130.202.*]
no comments
  Emacs 对 Python 缩进支持不好?         


Author: 1 1 2 3 5 8 13 21 34 55 99
Date: Sep 6, 2008 05:58

我遇到过几个python的程序,复制到emacs后,C-M-\,调整缩进了,结果缩进错误了。。。
有没有好点的缩进方法?还是Emacs 对Python支持不够好?

比如下面的代码,我C-M-\后,finally前就没缩进了,导致错误。

#!/usr/bin/env python
# by WANG Cong . org

import os,sys
import string
import urllib2
import zipfile

def find_it(x, lines):
ret = []
for line in lines:
if line.find(x)!=-1:
ret.append(line.split(":")[0].strip())
return ret

if __name__ == '__main__':

if len(sys.argv) != 2:
print "Ni hao! Chu cuo le!"
sys.exit(1)
Show full article (1.97Kb)
no comments
  Re: wiki mode         


Author: Simplification is based on pretending
Date: Sep 5, 2008 08:11

I can do nothing about this, except complain:(
【 在 cofairy. 的大作中提到: 】
: check the coding system,
: the coding system of my post is utf8
: http://news.newsmth.net/ supports gbk,but not utf8
: ...................

--
我要找个好女孩,成jia *_#

※ 来源:・水木社区 newsmth.net・[FROM: 123.118.13.*]
1 Comment
  Re: 最近的cvs代码字体越来越好看了         


Author: 1 1 2 3 5 8 13 21 34 55 99
Date: Sep 4, 2008 21:23

快点release啊!!!!

【 在 analyz (引车卖浆者流玩linux) 的大作中提到: 】
: 赞,23 快 release 了吧?

--
发信人: analyz (UNIX), 信区: Emacs
标 题: Re: Emacs里怎么复制文本到其他地方啊?
发信站: 水木社区 (Wed Aug 22 14:12:24 2007), 转信
>C-h t是谈恋爱
>manual 才是真正的结婚
>Lisp Reference Manual 就成了解剖学了.....

※ 来源:・水木社区 newsmth.net・[FROM: 116.225.12.*]
no comments
  Re: wiki mode         


Author: Simplification is based on pretending
Date: Sep 4, 2008 18:03

每次我看到这样的帖子,就会想,就算帖主在骂我我也不知道啊;(开个玩笑
不过如果乱码的问题终究解决不了,还不如不要转信了。看的这叫一个揪心啊。
【 在 cofairy. 的大作中提到: 】
:
1 Comment
  Re: 谁编个最新的emacs吧         


Author: shgsun
Date: Sep 4, 2008 10:12

2008-08-14 Lawrence Mitchell

* lread.c (Fread_char, Fread_char_exclusive): If no character
event is read before timeout is reached, return nil, rather than
converting to a number.

不知道是不是这个的问题

【 在 shgsun (shgsun) 的大作中提到: 】
: 感觉是file-exists-p出了问题
: 因为同样的在auctex里,检查tex-master的时候,a.tex.tex它也认为是存在的
: 实际上只有a.tex,而a.tex.tex是不存在的
: ...................

--

※ 来源:・水木社区 newsmth.net・[FROM: 220.248.62.*]
no comments
  Re: build cvs,一般configure里都设置些啥         


Author: enroute
Date: Sep 4, 2008 00:09

thanks! 不用 --with-x-toolkit 不知道会不会很难看呢。
【 在 vwx ()/() 的大作中提到: 】
:
--with-xft --with-freetype --with-freetype2 --with-x-toolkit

--

※ 来源:・水木社区 newsmth.net・[FROM: 219.217.237.*]
no comments
  Re: build cvs,一般configure里都设置些啥         


Author: ()/()
Date: Sep 3, 2008 23:32

--with-xft --with-freetype --with-freetype2 --with-x-toolkit
【 在 anroute (enroute) 的大作中提到: 】
: 就是./configure后面都设啥呢,还是直接用默认的?

--
 忘记我。否则就太迟了。


※ 来源:・水木社区 newsmth.net・[FROM: 59.108.23.*]
no comments
  build cvs,一般configure里都设置些啥         


Author: enroute
Date: Sep 3, 2008 23:28

就是./configure后面都设啥呢,还是直接用默认的?

--

※ 来源:・水木社区 newsmth.net・[FROM: 219.217.237.*]
no comments
1 2 3 4 5 6 7 8 9