[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] open-brace style suggestion
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] open-brace style suggestion |
Date: |
Mon, 1 Sep 2003 09:35:08 +0200 |
User-agent: |
Mutt/1.4.1i |
On Mon 01 Sep 2003 (12:33 +0900), TAKAHASHI Kaoru wrote:
> Hi,
>
> I have suggestion as to style of open-brace that starts the body
> of a C function.
>
> I'm using Emacs. I frequently used M-x beginning-of-defun (C-M-a)
> for jump to beginning of function, and M-x add-change-log-entry
> for write ChangeLog. These command good work in gnubg/export.c,
> But doesn't work in some other gnubg source. Because, Emacs look
> for open-braces in column zero to find the beginnings of C
> functions.
>
> Would you give me permission that change open-brace in *.c to
> export.c style?
I personally don't mind if *new* code or new functions is written
using this convention. I would be strongly opposed to altering the
current source simply to supply this. That would create an enormous
load of changes in CVS simply to supply a single editor function. I've
used emacs for years and almost never encounter code with this
particular style, yet I've never been bothered by it.
I do like getting the function names to start in the first column,
because it makes grepping for the instantiation easier, but even
that's not a big issue.
If you want a quick way to get to functions - have a look at etags and
the emacs info file. This will give you better navigation without
needing to make a large number of source changes.
--
Jim Segrave address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-gnubg] open-brace style suggestion,
Jim Segrave <=