[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: death to tabs
From: |
Stefan Kamphausen |
Subject: |
Re: death to tabs |
Date: |
7 Apr 2003 01:16:09 -0700 |
Hi John,
John Russell <jorussel@cisco.com> wrote in message
news:<m3wuiaxb9d.fsf@debussy.cisco.com>...
> Ok, seriously, I don't ever want to see another tab as long as I
> live. I want _every__ tab I ever wrote converted to spaces right
> now and I never want to have a tab show up when I hit the TAB key
> again. All spaces all the time.
>
> I found
> (setq indent-tabs-mode nil)
>
> for future tab annihilation but how can I convert a doc with tabs in
> it to just spaces. Thanks for the help.
very old holy war that is...
You might be interested in reading
http://www.jwz.org/doc/tabs-vs-spaces.html
In contrast to the code mentioned there I'd use (make-local-hook
'write-contents-hook) instead of make-local-variable, use (when
(search-forward...)) instead of (if ..) and I chose to leave trailing
whitespaces in lines (to make them rectangle-selectable) so I removed
a few lines.
Best Regards
Stefan Kamphausen
- Re: death to tabs, (continued)
Re: death to tabs, chris.danx, 2003/04/04
Re: death to tabs, Thomas A. Horsley, 2003/04/04
Re: death to tabs,
Stefan Kamphausen <=
RE: death to tabs, Sebastien Routier, 2003/04/04