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

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

Re: Trouble with cc-mode style


From: exits funnel
Subject: Re: Trouble with cc-mode style
Date: Sat, 13 Mar 2004 08:42:59 -0800 (PST)

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




reply via email to

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