best text editor for programming Python on a Mac

Rustom Mody rustompmody at gmail.com
Sun Jun 19 14:13:04 EDT 2016


On Sunday, June 19, 2016 at 11:36:17 PM UTC+5:30, Christian Gollwitzer wrote:
> Am 19.06.16 um 18:20 schrieb Rustom Mody:
> > I gave an emacs solution to the issue not because I find editor-wars engaging
> > but because I dont know how to do *this* with vi.
> > I'd be surprised if vi actually cant do these:
> > 1. Look under the unicode-hood to peek at what a char is -- C-u C-x = in emacs
> > 2. Change file encoding -- C-x RET f in emacs
> >
> > Please do suggest vi-ways of handling this -- that would be useful!
> >
> Changing the encoding is
> 
> 	:set fileencoding=utf-8

I was suggesting something like
:set fileencoding=latin-1

It does work in a way in the sense that a file that has chars that
would not encode to latin-1 does give errors
But only later when saving and not pinpointing where the error is

[Or I am doing something wrong maybe]



More information about the Python-list mailing list