From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephanos Piperoglou Newsgroups: gmane.emacs.help Subject: Re: c-hanging-braces-alist customization shows no syntactic symbols Date: Thu, 18 Dec 2003 13:03:41 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3FE1898D.3090007@piperoglou.com> References: <9torrb.t8.ln@acm.acm> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1071746719 28178 80.91.224.253 (18 Dec 2003 11:25:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2003 11:25:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 12:25:16 2003 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 1AWwHM-0006oj-00 for ; Thu, 18 Dec 2003 12:25:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AWxDg-0005Ln-L8 for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Dec 2003 07:25:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AWxCq-0005KI-23 for help-gnu-emacs@gnu.org; Thu, 18 Dec 2003 07:24:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AWwuV-0002cR-8o for help-gnu-emacs@gnu.org; Thu, 18 Dec 2003 07:06:29 -0500 Original-Received: from [195.47.208.13] (helo=mailgate.open.gr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AWwuT-0002c2-Pz for help-gnu-emacs@gnu.org; Thu, 18 Dec 2003 07:05:42 -0500 Original-Received: from freebsd3.techlink.gr (localhost.techlink.gr [127.0.0.1]) by mmsmtp.open.gr (Postfix) with ESMTP id 8C9793412B5 for ; Thu, 18 Dec 2003 13:04:13 +0200 (EET) Original-Received: from localhost.techlink.gr ([127.0.0.1]) by freebsd3.techlink.gr (MailMonitor for SMTP v1.2.2 ) ; Thu, 18 Dec 2003 13:04:13 +0200 (EET) Original-Received: from piperoglou.com (laika.open.gr [193.92.35.200]) by mailgate.open.gr (Postfix) with ESMTP id C1F1C3412B5 for ; Thu, 18 Dec 2003 13:04:11 +0200 (EET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org In-Reply-To: <9torrb.t8.ln@acm.acm> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:15409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15409 Alan Mackenzie wrote: >It's in the CC Mode manual, page "Hanging Braces". (I'm sure I don't >need to say this to you, but to get there, do C-h i m cc mode >i hanging .) > > Thanks, that's exactly what I was looking for (OK, actually it was c-offsets-alist that was the problem for me, but that was my bad :-), and your answer applies equally to that...) >Maybe, and almost certainly no. >I think what you're suggesting is that instead of this blank template: > >> [ ] nil : Choice Newline [ ] before, [ ] after brace >> >> >, onto which you add the syntactic symbols you're interested in, you >should get a complete list of relevant syntactic symbols, something like: > >[ ] brace-list-open : [Choice] Newline [ ] before, [ ] after brace >[ ] brace-entry-open : [Choice] Newline [ ] before, [ ] after brace >[ ] statement-cont : [Choice] Newline [ ] before, [ ] after brace >.... > > Actually you *can't* add the syntactic symbols you're interested in, the 'nil' bit isn't editable! So this is definitely a bug, not a feature... Anyway, as you said this applies to cc-mode and not emacs itself so I'll be off to their lists/CVS to see if I can find/request/hack a fix. Thanks again.