Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-25 Thread Graham Percival
On Mon, Jul 25, 2011 at 12:54:55PM +0200, Jan Nieuwenhuizen wrote: > Graham Percival writes: > > > I have no clue how the .emacs is supposed to look...? > > Lisp is quite like scheme; like this > > (add-hook 'c++-mode-hook > '(lambda () >(setq indent-tabs-mode nil) >

Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-25 Thread Jan Nieuwenhuizen
Graham Percival writes: > I have no clue how the .emacs is supposed to look...? Lisp is quite like scheme; like this (add-hook 'c++-mode-hook '(lambda () (setq indent-tabs-mode nil) (c-set-style "gnu"))) In fact, I have (add-hook 'c++-mode-hook

Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-19 Thread Graham Percival
On Tue, Jul 19, 2011 at 06:46:39AM +, jan.nieuwenhui...@gmail.com wrote: > Now that we do not want tabs in indents, it would > be nice to add > > (setq indent-tabs-mode nil) > > to emacs' suggested setup of C++ and Python hooks. Um. Like this? (add-hook 'c++-mode-hook '(lambda() (c-s

Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-19 Thread Graham Percival
On Tue, Jul 19, 2011 at 01:40:27PM +, carl.d.soren...@gmail.com wrote: > for .vimrc: > > set expandtab That's already there. Cheers, - Graham ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-de

Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-19 Thread Carl . D . Sorensen
On 2011/07/19 06:46:39, jan.nieuwenhuizen wrote: On 2011/07/18 23:19:44, Graham Percival wrote: > here's a series of patches for the C++ formatting. > - final (?) set of changes to fixcc.py > - changes to CG Now that we do not want tabs in indents, it would be nice to add (setq indent-tab

Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-19 Thread lemniskata . bernoullego
http://codereview.appspot.com/4760056/diff/1/Documentation/contributor/programming-work.itexi File Documentation/contributor/programming-work.itexi (right): http://codereview.appspot.com/4760056/diff/1/Documentation/contributor/programming-work.itexi#newcode334 Documentation/contributor/programm

Re: CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-18 Thread jan . nieuwenhuizen
On 2011/07/18 23:19:44, Graham Percival wrote: here's a series of patches for the C++ formatting. - final (?) set of changes to fixcc.py - changes to CG Now that we do not want tabs in indents, it would be nice to add (setq indent-tabs-mode nil) to emacs' suggested setup of C++ and Python ho

CG: describe new C++ formatting (GOP-PROP 3) (issue4760056)

2011-07-18 Thread percival . music . ca
Reviewers: , Message: here's a series of patches for the C++ formatting. - final (?) set of changes to fixcc.py - changes to CG Description: CG: describe new C++ formatting (GOP-PROP 3) Adapt fixcc.py to use Astyle Please review this at http://codereview.appspot.com/4760056/ Affected files: