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
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
"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
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
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
"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
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
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
"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
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
10 matches
Mail list logo