From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7359f0490512061055id7666a1x1f644ef726ece298@mail.gmail.com> Date: Tue, 6 Dec 2005 10:55:05 -0800 From: Rob Pike To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Acme tabs to spaces In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Topicbox-Message-UUID: bae98296-ead0-11e9-9d60-3106f5b1d025 There's no code, but using -a helps a lot. We have a two-space indent rule here and I hate it but I've adapted. -rob On 12/6/05, Paul Lalonde wrote: > So my new employer has a coding convention that tabs don't appear in > source, and that indent levels are 4 spaces. Ick. But in the > interest of global harmony, I'm willing to adapt. I know I can > trivially convert the tabs to spaces at any given time, and set > $tabstops to 4 to get the right width, but I have to do the > conversion with each file I save. Ick. > Is there some automatic tab conversion code somewhere in Acme? Where > would be the sane place to put such a thing? (yes, I already know > there is no sane place for such a thing...) > > Paul > >