On Tue, Jun 18, 2002 at 05:52:27AM -0500, FVWM CVS wrote:
> CVSROOT:      /home/cvs/fvwm
> Module name:  fvwm
> Changes by:   domivogt        02/06/18 05:52:27

> * Tabified all sources and removed trailing spaces.
>

Dominik, do you use a tool to automatically reindent the code?
If yes, which one (with the version)?
Also we may try to all share a common (x)emacs config about
indentation. Some problems:
- the position of the args of a function when the function does
not fit on one line (80 column).
- To get the Tab key automatically indent lines I can have
tabs only at the beginning of a line. So I cannot have:
foo[] = {"abc",\t"xyz",\t"blabla"}
- Really I like tabs with a width of 8 spaces, but for the first tab.
I think that the first tab should be something like 2 or 3 spaces
(I think this is possible with (x)emacs).

Olivier

PS: my .emacs config for ccmode 5.25:

(add-hook 'c-mode-hook (lambda ()
        (setq c-indent-level 8)
        (setq c-basic-offset 8)
        (c-set-offset 'substatement-open 0)
        (setq c-brace-offset 0)
        (setq c-continued-brace-offset 0)
        (setq c-brace-imaginary-offset 0)
        (setq c-continued-statement-offset 0)
        (setq c-label-offset 0)
        (setq c-argdecl-indent 0)
        (setq c-auto-newline nil)
        (setq c-tab-always-indent t)
))

> --
> Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
> body of a message to [EMAIL PROTECTED]
> To report problems, send mail to [EMAIL PROTECTED]
> 
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to