[cfe-dev] A patch for chroot checker

章磊 ioripolo at gmail.com
Wed Sep 15 18:22:08 PDT 2010


hi, Jim

Thank you very much. It's helpful.

2010/9/15 Jim Grosbach <grosbach at apple.com>

> In Emacs:
> C-x h
> M-x untabify
>
> From the command line (assuming a *nix shell):
> $ sed -e 's/'"$(printf '\011')"'/  /g' filename -o tmp.out
> $ mv tmp.out filename
>
> You can tell Emacs to not insert tabs by setting indent-tabs-mode to nil in
> your startup file. The usual places for Emacs documentation and  hints
> should have some samples of how to do this for only .cpp/c/h/etc files and
> keep using tabs for things like Makefiles. You may also find it useful to
> set Emacs up to highlight tab characters for you (
> http://www.emacswiki.org/cgi-bin/wiki/show-wspace.el).
>
> Regards,
>  Jim
>
>
> On Sep 15, 2010, at 1:09 AM, 章磊 wrote:
>
> > Hi, zhongxing
> >
> > Thanks.
> >
> > If i already used some tabs, how to find it and fix it?
> >
> >
> > 2010/9/15 Zhongxing Xu <xuzhongxing at gmail.com>
> > Minor nit: please don't use tabs (they appear in a few places in your
> patch).
> >
> > Sorry, but how to check this?
> >
> > If you use emacs, set  indent-tabs-mode to nil.
> >
> >
> >
> > --
> > Best regards!
> >
> > Lei Zhang
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>


-- 
Best regards!

Lei Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100916/1a9a7af2/attachment.html>


More information about the cfe-dev mailing list