From: robert.thorpe@antenova.com
Subject: Re: How to support skeleton in emacs?
Date: 14 Sep 2006 11:18:28 -0700 [thread overview]
Message-ID: <1158257908.895096.311490@h48g2000cwc.googlegroups.com> (raw)
In-Reply-To: <eea9q8$mgo$1@news.yaako.com>
jronald wrote:
> Take C++ for example:
>
> I typed "if", then it displays:
>
> if () {
> }
>
> with the cursor inside the parentheses.
>
> type: while
> result:
>
> while () {
> }
>
> I'm lazy to define them myself. Is there exist one?
You can use the skeleton modes mentioned.
Also, M-S-( produces "()" and put the cursor in the middle of the two,
which may be useful.
next prev parent reply other threads:[~2006-09-14 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 1:03 How to support skeleton in emacs? jronald
2006-09-14 15:12 ` Kevin Rodgers
2006-09-14 18:18 ` robert.thorpe [this message]
2006-09-16 21:27 ` Benjamin Rutt
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=1158257908.895096.311490@h48g2000cwc.googlegroups.com \
--to=robert.thorpe@antenova.com \
/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).