What text editor is everyone using for Python

Andreas Roehler andreas.roehler at online.de
Thu May 28 07:09:18 EDT 2009


Rhodri James wrote:
> On Wed, 27 May 2009 16:56:12 +0100, Bruno Desthuilliers
> <bruno.42.desthuilliers at websiteburo.invalid> wrote:
> 
>> Rhodri James a écrit :
>>> On Tue, 26 May 2009 14:22:29 +0100, Roy Smith <roy at panix.com> wrote:
>>>
>>>> My pet peeve is syntax-aware editors which get things wrong.  For
>>>> example,
>>>> the version of emacs I'm using now doesn't parse this properly:
>>>>
>>>> '''A triple-quoted string.  Some editors won't get this right'''
>>>>
>>>> The solution is to change the outer quotes to double-quotes, but it
>>>> annoys me when I have to change my code to appease a tool.
>>>  It's the separate python-mode that gets this (and much else) wrong.
>>> The Python mode that Ubuntu packages with emacs 22.2.1 works just
>>> fine.
>>
>> On this point, indeed. But it also lacks almost every nice feature of
>> the One True python-mode (or at least did last time I had to update
>> this ... ubuntu box at work).
> 
> That rather depends on your definition of "nice".  The only feature of
> python-mode.el that I miss in python.el is the ability to run pylint from
> the menu,

Thanks mentioning it, I'll cc this to python-mode at python.org


 and I'll get over that.  The feature that caused me to uninstall
> python-mode.el was its bloody-minded determination to regard '_' as a word
> character, something which caused me more typing that it ever saved.
> 

Its just one line to comment in python-mode.el, like this:

  ;; (modify-syntax-entry ?\_ "w"  py-mode-syntax-table)







More information about the Python-list mailing list