News for hackers. Stuff that matters.
Re:Zed's "One Battery Review" of Django by kirubakaran on Friday March 20, 2009 @06:17PM (#525701)
emacs is actually awesome for Python programming. For easy Python coding, just add the following to your .emacs file:

  (setq-default tab-width 4)
  (setq-default indent-tabs-mode nil)
Also get ipython.el -- very handy. My .emacs is here for your reference: http://github.com/ki/my-dot-emacs/blob/master/dot-emacs.txt
Re:Zed's "One Battery Review" of Django by twopoint718 on Friday March 20, 2009 @10:55PM (#525895)
This was the tutorial shed a lot of light on the issue: http://student.northpark.edu/pemente/emacs_tabs.htm

You get to configure at least three things: how many things emacs enters when you press "tab", what those things are, and if you see a tab in a file how wide it should be.

Re:Zed's "One Battery Review" of Django by wyclif on Saturday March 21, 2009 @09:25AM (#526123)
Anybody have a good .vimrc file for Python, or thoughts on customizing vim for Python?
Re:Zed's "One Battery Review" of Django by bobbyi on Saturday March 21, 2009 @11:45AM (#526225)
Use the indentation script pointed to and explained by this article: http://henry.precheur.org/2008/4/18/Indenting_Python_with_VI...

It is better than the default vim python autoindentation behavior.

Re:Zed's "One Battery Review" of Django by Tekhne on Saturday March 21, 2009 @11:12AM (#526193)
Actually, I think vim comes with pretty good Python support by default. I'm using vim 7.1 and there's, for example, a good python.vim syntax file that came with.
Re:Zed's "One Battery Review" of Django by Mr_Shark on Tuesday March 24, 2009 @06:34AM (#529955)