"André Walker-Loud <walksl...@gmail.com>" <walksl...@gmail.com> writes:

> In this case, the “tab” alignment does not make it an integer number
> of 4 spaces - so when I try and edit the file on a different machine,
> with another editor (TextWrangler) that does actually put all tabs to
> 4 spaces, I end up breaking my files often.

This is an excellent reason to stop using U+0009 (HT) characters for
indentation at all.

Instead, set ‘indent-tabs-mode’ to false (‘nil’), and Emacs will indent
with the specified number of U+0020 (SPACE) characters. You won't be at
the mercy of the chaotic differences in rendering of U+0009 characters.

-- 
 \     “I went to a restaurant that serves ‘breakfast at any time’. So |
  `\    I ordered French Toast during the Renaissance.” —Steven Wright |
_o__)                                                                  |
Ben Finney

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to