help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs CC Mode's auto-newline facility: INFORMAL SURVEY


From: Vedat Hallac
Subject: Re: Emacs CC Mode's auto-newline facility: INFORMAL SURVEY
Date: Mon, 11 Apr 2005 07:22:18 +1000
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

On Fri, 08 Apr 2005 19:58:01 +0000, Alan Mackenzie wrote:

> [Followup-To: gnu.emacs.help.  Add your own group if you wish.]

> o Do you program with auto-newline switched on (e.g. do you get NLs
>   inserted automatically after typing a `;' or `{')?
Yes.

> o Did you configure this auto-newline setting yourself, and if not, are
>   you happy with it?
I think it was the default (it is hard to remember how long I've carried
the same init file from machine to machine). I just configured it to
conform to our coding standandards. :-)

> o Are you aware of the key binding C-c C-a to toggle this mode on and
>   off?
I knew about it a long time ago, but forgot due to not using it often
enough.

> o How often do you use C-c C-a (or even C-c C-t) to toggle auto-newline
>   mode?
Never in the last two years or so. But there are times when I should.
Especially when typing in initializers for arrays of structures. I do not
always want to see them formatted as C code, especially when they are
short (pointer, length) pairs.

> o In which language(s) (C, C++, ....) do you program in (X)Emacs?
Mostly C, with a little bit of C++ and Java. Occasionally I do some
assembly code for various CPUs/micro controllers.

> Further pertinent comments are, of course, welcome.  Thanks in advance
> for your time.
I am quite happy with the current functionality set of the CC mode. I
wouldn't mind any feature being off by default. If it is useful I would
turn it on as soon as I learn about its existence, or if I notice
something that used to be there but isn't anymore. :-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]