9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Tolpin <dvd@davidashen.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] indenting source?
Date: Tue,  2 Mar 2004 00:46:14 +0400	[thread overview]
Message-ID: <200403012046.i21KkE3w068515@adat.davidashen.net> (raw)
In-Reply-To: <9593ae2174b94077e514cccc76fa050b@plan9.ucalgary.ca>

> > many sources in libc are written with four characters indent. What
> > editor have they been written with? sam is rather incovenient to
> > input text with indents other than one tab, or am I missing something?
> > 
> > David
>
> which libraries are those?  i haven't seen anything but tabs for
> indentation.
>
> if you edit using acme(1) you can set $tabstop to whatever you like,
> but the source will still have tabs.

You are right. There are tabs there.
I just cat /sys/src/libc/port/abs.c and saw 4 positions indent
in term. Under examination, there are tabs there, and they
show as 8 characters indents in sam.

Can it be controlled somehow in window?


  reply	other threads:[~2004-03-01 20:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 20:27 David Tolpin
2004-03-01 20:37 ` andrey mirtchovski
2004-03-01 20:46   ` David Tolpin [this message]
2004-03-01 20:52 ` rog
2004-03-02  2:13 ` boyd, rounin
2004-03-02  6:00   ` David Tolpin
2004-03-02  9:06     ` Rob Pike
2004-03-02  9:19       ` David Tolpin
2004-03-02  9:26         ` David Presotto
2004-03-02  9:30           ` David Tolpin
2004-03-02 10:10             ` lucio
2004-03-02 10:56               ` David Tolpin
2004-03-02  9:31           ` Charles Forsyth
2004-03-02  9:31             ` David Tolpin
2004-03-02  9:43               ` Charles Forsyth
2004-03-02  9:44                 ` David Presotto
2004-03-02  9:45                 ` Geoff Collyer
2004-03-02  9:50                   ` David Tolpin
2004-03-02 10:00                     ` Geoff Collyer
2004-03-02 10:05                       ` David Tolpin
2004-03-02 10:36                         ` Geoff Collyer
2004-03-02 16:34                         ` boyd, rounin
2004-03-02 16:44                           ` Richard Miller
2004-03-02 16:05     ` boyd, rounin
2004-03-02  9:36 ` Douglas A. Gwyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200403012046.i21KkE3w068515@adat.davidashen.net \
    --to=dvd@davidashen.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).