From: David Rasmussen <david.rasmussen@gmx.net>
Subject: C++/Java/C modes
Date: Wed, 19 Nov 2003 11:38:53 +0100 [thread overview]
Message-ID: <bpfh0o$tk2$1@news.net.uni-c.dk> (raw)
Two questions:
1) How do change it so that when I press enter on a line, the cursor is
already at the natural indentation point with spaces inserted before.
Example:
int main()
{
std::cout << "Hello, world!" << std::endl; <pressing enter>
<cursor is normally here>
<I want it here>
2) How can I change the auto indentation style so that instead of
if (whatever) <pressing enter>
<pressing tab, which shouldn't be necesary, if I get a good answer to
question 1>
<cursor is here!>
<I want it here>
I guess the last question is about using the
if (whatever) {
blabla
}
style. I (want to) use the
if (whatever)
{
blabla
}
style.
Help? Maybe I should just give in and go with the flow and use the short
style.
/David
next reply other threads:[~2003-11-19 10:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 10:38 David Rasmussen [this message]
2003-11-19 14:09 ` C++/Java/C modes Eli Zaretskii
2003-11-20 16:55 ` kgold
2003-12-16 21:06 ` Kai Grossjohann
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='bpfh0o$tk2$1@news.net.uni-c.dk' \
--to=david.rasmussen@gmx.net \
/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).