TABs (was: Waffling between Python and Ruby)

Huaiyu Zhu hzhu at knowledgetrack.com
Fri Jun 16 21:02:10 EDT 2000


On 16 Jun 2000 17:16:50 -0400, David Bolen <db3l at fitlinxx.com> wrote:
>hzhu at knowledgetrack.com (Huaiyu Zhu) writes:
>
>> Oops!  You're right, as several people also pointed out to me in email.
>> Actually I had this in .emacs and didn't realize it for years:
>> 
>> (setq-default tab-width 4)
>
>Eeek - that's evil.  Don't do that :-)
>
[snip]

>> Wondering what other people will see when reading my programs ...
>
>They'll see a TAB character expand to get to the nearest 8-character
[snip]


OK, so I agree that the (setq-default tab-width 4) in my .emacs is evil (it
sits there since way back when I copied my first .emacs from somebody else),
I'm wondering what's the easiest way to revert this on multiple files,
either within or without emacs.  If I'm going to change my default emacs
behavior I want to do this on all the files, and safely.

-- 
Huaiyu Zhu                       hzhu at users.sourceforge.net
Matrix for Python Project        http://MatPy.sourceforge.net 



More information about the Python-list mailing list