From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: C-mode electric braces
Date: Tue, 10 Sep 2002 14:11:31 +0200 [thread overview]
Message-ID: <vafvg5ehwng.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: mailman.1031651288.3988.help-gnu-emacs@gnu.org
Carsten Burstedde <bursted@iam.uni-bonn.de> writes:
> Any suggestions for my .emacs?
I'm afraid you'll have to hack it yourself. There is (AFAIK) no
predefined functionality in CC mode for doing this.
You could look at the function that gets called when you hit a brace
and then write a new function that looks whether newlines should be
inserted.
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
next parent reply other threads:[~2002-09-10 12:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1031651288.3988.help-gnu-emacs@gnu.org>
2002-09-10 12:11 ` Kai Großjohann [this message]
[not found] <20020911141602.25522.35321.Mailman@monty-python.gnu.org>
2002-09-11 15:07 ` C-mode electric braces Carsten Burstedde
[not found] ` <mailman.1031756888.28531.help-gnu-emacs@gnu.org>
2002-09-11 15:46 ` Klaus Berndl
[not found] <20020910141602.24672.83238.Mailman@monty-python.gnu.org>
2002-09-11 9:37 ` Carsten Burstedde
[not found] ` <mailman.1031737090.30427.help-gnu-emacs@gnu.org>
2002-09-11 11:45 ` Klaus Berndl
2002-09-11 17:54 ` Alan Mackenzie
2002-09-10 9:47 Carsten Burstedde
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vafvg5ehwng.fsf@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).