all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie<none@example.invalid>
Subject: Re: new syntactic symbols in cc-mode
Date: Thu, 14 Aug 2003 12:40:43 +0000	[thread overview]
Message-ID: <b00ghb.9i.ln@acm.acm> (raw)
In-Reply-To: mailman.405.1060848468.29551.help-gnu-emacs@gnu.org

Heiko Gerdau <hg@technosis.de> wrote on Thu, 14 Aug 2003 10:03:21 +0200:
> Hi,

> using the cc-mode package is there a way to create a new syntatic
> symbol or to append new keywords to existing syntactic symbols using
> the .emacs configuration file?

Not really, other than by editing and enhancing CC Mode's source files.
But it doesn't really make any sense to "customize" the syntactic symbols
list this sort of way - the syntactic symbols are all about indenting
code, so you'd have to extend the syntax recognition functions (chiefly
c-guess-basic-syntax) anyway.  Having gone through all that work, it's
trivial by comparison to add one or two syntactic symbols in the source
code.

> The background is to customize indentation for language extensions not 
> covered yet. (like Qt's signal and slots).

Aren't there any suitable syntactic symbols already?

> Thanks for any hint.

There's the CC Mode mailing list at <bug-cc-mode@gnu.org>

> Heiko

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

       reply	other threads:[~2003-08-14 12:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.405.1060848468.29551.help-gnu-emacs@gnu.org>
2003-08-14 12:40 ` Alan Mackenzie [this message]
2003-08-14 23:06   ` new syntactic symbols in cc-mode Heiko Gerdau
     [not found]   ` <mailman.435.1060902656.29551.help-gnu-emacs@gnu.org>
2003-08-15  8:16     ` Marco Gidde
2003-08-15 12:13       ` Heiko Gerdau
     [not found]       ` <mailman.445.1060950571.29551.help-gnu-emacs@gnu.org>
2003-08-15 22:11         ` Marco Gidde
2003-08-14  8:03 Heiko Gerdau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b00ghb.9i.ln@acm.acm \
    --to=none@example.invalid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.