From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.help Subject: Re: Emacs CC Mode's auto-newline facility: INFORMAL SURVEY Date: Fri, 08 Apr 2005 23:38:14 +0200 Organization: T-Online Message-ID: <16982.63942.430035.976029@parhasard.net> References: <9on63d.36.ln@acm.acm> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1113092262 27574 80.91.229.2 (10 Apr 2005 00:17:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2005 00:17:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 10 02:17:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKQ8g-0001Ag-NW for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Apr 2005 02:17:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKPiU-0001PB-8z for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2005 19:50:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs.xemacs Original-Lines: 59 Original-X-Trace: news.t-online.com 1113092124 05 12078 6CyjrkS6v0xpN3c 050410 00:15:24 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: r69k-rZFQe+5MjxB8KbNn1CYvafwmViXL2dbzqWONx1q9Z9mzl9p84 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, NetBSD-i386) Cancel-Lock: sha1:GWTSCsxlTSU6MhD/JNuGzirqeOQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:129956 comp.emacs.xemacs:77787 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25519 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25519 [Originally sent to Alan by email; posted to the NG now that I’ve sorted out the posting issues I was having when I first read the message.] (I’m not especially a power user of CC mode, except that I edit C most days--but I suppose feedback from people in my position is relevant too.) Ar an t-ochtú lá de mí Aibréan, scríobh Alan Mackenzie: > [Followup-To: gnu.emacs.help. Add your own group if you wish.] > > To all those who use (X)Emacs's CC Mode to edit C, C++, Java, > Objective-C, Pike, AWK or IDL: > > To help direct the development of CC Mode, it would be useful to find out > how people use the auto-newline "minor mode" facility. If you could > spare a little time, would you answer these questions, please: > > o Do you program with auto-newline switched on (e.g. do you get NLs > inserted automatically after typing a `;' or `{')? No. If I were to notice them being inserted, my first reaction would be to look up what the relevant feature is, and turn it off; that reaction, though, would be from the same point of view as my reaction to the behaviour of the tab key in emacs when I first used the editor, which reaction I think was wrong, all these years later :-) . That said, does cperl-mode (for example) offer a feature like this? Because I could imagine the switching between the two options when people move between Perl and C as being very annoying. > o Did you configure this auto-newline setting yourself, and if not, are > you happy with it? > o Are you aware of the key binding C-c C-a to toggle this mode on and > off? No. > o How often do you use C-c C-a (or even C-c C-t) to toggle auto-newline > mode? This newsgroup posting is the first I’ve heard of it. > o In which language(s) (C, C++, ....) do you program in (X)Emacs? C, long list of other languages not especially relevant to CC-mode. That said, I really appreciate the attention to detail and general completeness of CC mode. It’s calming to know I can load it and it’ll just work, much more than not, after having used some of the php-modes that are to be had in the wild :-) . > Further pertinent comments are, of course, welcome. Thanks in advance > for your time. -- “I, for instance, am gung-ho about open source because my family is being held hostage in Rob Malda’s basement. But who fact-checks me, or Enderle, when we say something in public? No-one!” -- Danny O’Brien