Re: C++: Indenting and formatting program sources.

2001-11-20 Thread dman
On Sun, Nov 18, 2001 at 05:24:22PM +0200, Shaul Karl wrote: | Is there a way to have vim force a standard and consistent style? Once :help autoindent :help smartindent :help cindent In my .vimrc I have : augroup Cpp au! au FileType cpp set ai si cin sts=4 sw=4 et tw=80 fo=croqn2

RE: C++: Indenting and formatting program sources.

2001-11-20 Thread Kris Huber
uot; '(require 'choose-color)) (add-hook 'c-mode-hook 'turn-on-font-lock 'at-end) (add-hook 'c++-mode-hook 'turn-on-font-lock 'at-end) indent-run.FNAME.emacs ---- (find-file "FNAME") (mark-whole-buffer) (ind

Re: C++: Indenting and formatting program sources.

2001-11-19 Thread Gary Turner
On Sun, 18 Nov 2001 17:24:22 +0200, you wrote: >Can anyone recommend a program to indent and format C++ program sources >for consistency of style and perhaps better readability? >Specifying the used options or attaching a suitable configuration file >(like a .ident.pro for GNU indent) is desirab

Re: C++: Indenting and formatting program sources.

2001-11-19 Thread Shaul Karl
> > On 18-Nov-2001 Shaul Karl wrote: > > Can anyone recommend a program to indent and format C++ program sources > > for consistency of style and perhaps better readability? > > Specifying the used options or attaching a suitable configuration file > > (like a .ident.pro for GNU indent) is desir

Re: C++: Indenting and formatting program sources.

2001-11-18 Thread Sean 'Shaleh' Perry
On 18-Nov-2001 Shaul Karl wrote: > Can anyone recommend a program to indent and format C++ program sources > for consistency of style and perhaps better readability? > Specifying the used options or attaching a suitable configuration file > (like a .ident.pro for GNU indent) is desirable. > > G