Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <kst-u@mib.org> |
| Newsgroups | comp.lang.c |
| Subject | Re: Searching online "indent" |
| Date | Fri, 05 Jun 2015 20:41:40 -0700 |
| Organization | None to speak of |
| Lines | 22 |
| Message-ID | <87zj4dsdu3.fsf@kst-u.example.com> (permalink) |
| References | <indent-20150604033951@ram.dialup.fu-berlin.de> <47ee2508-4b6a-427b-8406-af6e4048d97d@googlegroups.com> <20150604142255.274b17a0ff4a4f3e7ad765c5@gmail.com> <mktgis$79o$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="9be37d943435275679235b07c7947eef"; logging-data="29847"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ax/xW39XFLHUyzI5rp5hF" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| Cancel-Lock | sha1:uXMHoLILo2ngCmLbUU57dUHILG8= sha1:PYPJIMAuUyG4qHi+yLaooV5PBYY= |
| Xref | csiph.com comp.lang.c:63003 |
Show key headers only | View raw
"Bill Cunningham" <nospam@nspam.invalid> writes:
[...]
> I personally love indent. I will run 'indent -kr -nut' and the file name for
> kandr style indentation. And the -nut switch removes all tabs. I tend to tab
> alot.
Perhaps you can configure your editor to insert spaces when you type
<tab>.
In vim, you can do this by adding
set expandtab
to your .vimrc.
(I'm not expressing an opinion about whether spaces or tabs are better.)
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Searching online "indent" David Kleinecke <dkleinecke@gmail.com> - 2015-06-04 10:01 -0700
Re: Searching online "indent" Etienne <e.e.f.prudhomme@gmail.com> - 2015-06-04 14:22 -0400
Re: Searching online "indent" "Bill Cunningham" <nospam@nspam.invalid> - 2015-06-05 20:59 -0400
Re: Searching online "indent" Keith Thompson <kst-u@mib.org> - 2015-06-05 20:41 -0700
csiph-web