From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: exits funnel Newsgroups: gmane.emacs.help Subject: Re: Trouble with cc-mode style Date: Sat, 13 Mar 2004 08:42:59 -0800 (PST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040313164259.23575.qmail@web40513.mail.yahoo.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079215237 12591 80.91.224.253 (13 Mar 2004 22:00:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Mar 2004 22:00:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 13 23:00:31 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B2HBH-0004LA-00 for ; Sat, 13 Mar 2004 23:00:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2H19-0003C1-10 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Mar 2004 16:50:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B2Fne-0000Ba-Fy for help-gnu-emacs@gnu.org; Sat, 13 Mar 2004 15:32:02 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B2CE4-00060A-MH for help-gnu-emacs@gnu.org; Sat, 13 Mar 2004 11:43:36 -0500 Original-Received: from [66.218.78.130] (helo=web40513.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.30) id 1B2CE4-0005zh-7v for help-gnu-emacs@gnu.org; Sat, 13 Mar 2004 11:43:04 -0500 Original-Received: from [67.86.87.9] by web40513.mail.yahoo.com via HTTP; Sat, 13 Mar 2004 08:42:59 PST Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17572 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17572 Alan, thanks for taking the time to reply it's greatly appreciated. > However, there's no reason not to improve this > documentation. I've just > tried skimming through the Style section, and I end > up on the page > "Adding styles", which describes the command > `c-add-style'. It contains > the passage: "then a new style according to > DESCRIPTION is added,", but > doesn't give any hint as to what DESCRIPTION looks > like, other than > directing one to the sample .emacs file. This is a > documentation bug. > I'll fix it. > > Would you be happy with the documentation if > c-add-style's DESCRIPTION > parameter was documented here, or are there other > problems too? I think this improvement would suffice. > Have a look at the documentation string for > c-style-alist. (C-h v > c-style-alist). From this you can infer that "bsd" > is to be added as > follows. Naturally, it ought to be explicitly > documented in the manual. > > (defconst exits-c++-style > "bsd" ; > <=========================== > '( > .... > .... > ) > "exit's C++ Programming Style Comment" > ) This is a big help; I think I have everything working now. Thanks again. -exits __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com