help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to support skeleton in emacs?


From: robert . thorpe
Subject: Re: How to support skeleton in emacs?
Date: 14 Sep 2006 11:18:28 -0700
User-agent: G2/1.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]