Re: Python and Emacs
Chris Lawrence <lawrencc@debian.org> writes:
> On May 21, Jérôme Marant wrote:
>> I'm sorry, this may be a bit off topic but I don't really know
>> where I can post this question.
>>
>> I'm a bit annoyed with Emacs when editing Python programs because
>> Emacs always replaces TABs with spaces ; this wouldn't bother me if
>> Emacs was the only editor in the world. But when you share programs
>> with others, it is better to have real TABs instead of spaces.
>> I know about the "C-q TAB" but I don't want to use it every time
>> I want automatic indentation.
>>
>> Does anyone know how to achieve this?
>
> When you're done editing...
>
> C-x h
> M-x tabify
Sounds nice to me ;-) Thanks.
> Of course, we all know that using tabs in Python code is Evil. :-)
Sure. Now, you make me think that sharing code with Vimers is
Evil too. I wouldn't need such a trick ;-)
Cheers,
--
Jérôme Marant
http://marant.org
--
To UNSUBSCRIBE, email to debian-python-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: