Re: Setting up development environment

2007-07-16 Thread Sean C. Farley
On Mon, 16 Jul 2007, Tom Evans wrote: On Wed, 2007-05-30 at 08:21 +0200, Dag-Erling Smørgrav wrote: ... Emacs setup (for both C and C++): (defun des-knf () (interactive) ;; Basic indent is 8 spaces (make-local-variable 'c-basic-offset) (setq c-basic-offset 8) ;; Continuation lines

Re: Setting up development environment

2007-07-16 Thread Tom Evans
On Wed, 2007-05-30 at 08:21 +0200, Dag-Erling Smørgrav wrote: ... > Emacs setup (for both C and C++): > > (defun des-knf () > (interactive) > > ;; Basic indent is 8 spaces > (make-local-variable 'c-basic-offset) > (setq c-basic-offset 8) > > ;; Continuation lines are indented 4 spaces

Re: Setting up development environment

2007-07-16 Thread Dag-Erling Smørgrav
"Brian Chu" <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > "Brian Chu" <[EMAIL PROTECTED]> writes: > > > I have a question about indentation. In the previously supplied > > > .emacs hook, tabs are represented by 8 spaces. > > No, Emacs automatically converts spac

Re: Setting up development environment

2007-07-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Brian Chu" <[EMAIL PROTECTED]> writes: : I have a question about indentation. In the previously supplied : .emacs hook, tabs are represented by 8 spaces. Most of the kernel : code, however, actually uses the tab character. : : Are both forms acceptabl

Re: Setting up development environment

2007-07-15 Thread Brian Chu
Hm. It doesn't always replace 8 spaces with tabs (for files that are heavily spaced-indented), but I suppose that using `M-x tabify` would do the trick. Thanks! Brian On 7/15/07, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: "Brian Chu" <[EMAIL PROTECTED]> writes: > I have a question about i

Re: Setting up development environment

2007-07-15 Thread Dag-Erling Smørgrav
"Brian Chu" <[EMAIL PROTECTED]> writes: > I have a question about indentation. In the previously supplied > .emacs hook, tabs are represented by 8 spaces. No, Emacs automatically converts spaces to tabs according to the current setting of tab-width, which is normally 8. DES -- Dag-Erling Smørgr

Re: Setting up development environment

2007-07-15 Thread Brian Chu
I have a question about indentation. In the previously supplied .emacs hook, tabs are represented by 8 spaces. Most of the kernel code, however, actually uses the tab character. Are both forms acceptable? If not, anyone willing to share their tab-character-tabs .emacs c hook? Thanks, Brian O

Re: Setting up development environment

2007-05-30 Thread Luiz Otavio Souza
Daniel Molina Wegener escreveu: Hello, Is there any official way to setup a development environment for FreeBSD. I mean, I want to contribute with FreeBSD development. All I know that there is a Developer's Handbook, but what about setting a development environment for FreeBSD-CURRENT and -ST

Re: Setting up development environment

2007-05-29 Thread Dag-Erling Smørgrav
"Daniel Molina Wegener" <[EMAIL PROTECTED]> writes: >Is there any official way to setup a development environment for > FreeBSD. I mean, I want to contribute with FreeBSD development. All > I know that there is a Developer's Handbook, but what about setting a > development environment for FreeB

Setting up development environment

2007-05-29 Thread Daniel Molina Wegener
Hello, Is there any official way to setup a development environment for FreeBSD. I mean, I want to contribute with FreeBSD development. All I know that there is a Developer's Handbook, but what about setting a development environment for FreeBSD-CURRENT and -STABLE including from official c-mo