其实,在退出之前chmod一下就完了
比如这样加:
autocmd BufWinLeave *.py :!chmod +x %

On Mon, 2011-11-07 at 09:03 +0800, An Yang wrote:
> 换emacs,emacs就是生活,哈哈。
> 
> 在 2011-11-06日的 09:44 +0100,Fei Guo写道: 
> 
> > 所以这个问题是怎么解决的呢?
> > 
> > 2011/11/6 ch4ng13 <[email protected]>
> > 
> > > 哦,python-cn 那边的回复没到这边来,问题已经解决了,谢谢。
> > >
> > >
> > >
> > > 2011/11/6 xiaobo <[email protected]>
> > >
> > > > 没试过,给你提个建议,在这句外面加个判断是不是可以。
> > > >
> > > > 在 2011年11月6日 上午9:26,ch4ng13 <[email protected]>写道:
> > > >
> > > >
> > > -------------- 下一部分 --------------
> > > 一个HTML附件被移除...
> > > URL: <
> > > https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111106/0a853c67/attachment.html
> > > >
> > > --
> > > ubuntu-zh mailing list
> > > [email protected]
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> > >
> > -------------- 下一部分 --------------
> > 一个HTML附件被移除...
> > URL: 
> > <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111106/0038f811/attachment.html>
> 
> 
> -------------- 下一部分 --------------
> 一个HTML附件被移除...
> URL: 
> <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111107/1fb16cf1/attachment.html>
> -------------- 下一部分 --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 490 bytes
> Desc: 这是信件的数字签名部分
> URL: 
> <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111107/1fb16cf1/attachment.pgp>



-- 
ubuntu-zh mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

回复