9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Francisco J Ballesteros <nemo@lsub.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] C beautifier
Date: Sun, 18 Sep 2011 22:05:24 +0200	[thread overview]
Message-ID: <CA+N-5bZV2YsNu=dUU-gP3JY+4p5k4EbmJd-pu=Lrtq2++bt2cw@mail.gmail.com> (raw)
In-Reply-To: <719a0e7fec4eae80340f5b3f1cff6546@quintile.net>

Somehow indent has indented wrong some ifs
(the code in the body is at the same tab level than the if).
Perhaps I made a mistake. I'm not saying it doesn't work
(I'm sorry if I did).

but cb was just fine.



On Sun, Sep 18, 2011 at 10:01 PM, Steve Simon <steve@quintile.net> wrote:
> I have an indent port in my contrib (though you say you don't like it),
> and plan9 has cb(1).
>
> what don't you like about indent?
>
> I use it with erik's bcmt which replaces c++ style comments with C ones,
> a carfully tailored proto file, and this: sed 's/\) {/){/
> .
>
> This gives me pretty much plan9-style code (assuming nix-style is plan9-style
> and has not evolved).
>
> -Steve
>
>



  reply	other threads:[~2011-09-18 20:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 18:08 Francisco J Ballesteros
2011-09-18 18:15 ` andrey mirtchovski
2011-09-18 18:19   ` Francisco J Ballesteros
2011-09-18 20:01 ` Steve Simon
2011-09-18 20:05   ` Francisco J Ballesteros [this message]
2011-09-22 10:40     ` Ethan Grammatikidis
     [not found] <CA+N-5bZcY7r+i+Gekhtbp_3X+a9sgy+4CAfd7-MMBThn5Pq3yQ@mail.gmail.c>
2011-09-18 18:11 ` erik quanstrom
2011-09-18 18:23   ` Francisco J Ballesteros
2011-09-18 18:32     ` Francisco J Ballesteros
2011-09-18 20:14   ` David Arnold

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='CA+N-5bZV2YsNu=dUU-gP3JY+4p5k4EbmJd-pu=Lrtq2++bt2cw@mail.gmail.com' \
    --to=nemo@lsub.org \
    --cc=9fans@9fans.net \
    /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).