From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: Re: How to support skeleton in emacs? Date: Sat, 16 Sep 2006 21:27:02 GMT Organization: Road Runner High Speed Online http://www.rr.com Message-ID: <87u0374ici.fsf@penguin.brutt.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158442893 5894 80.91.229.2 (16 Sep 2006 21:41:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Sep 2006 21:41:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 16 23:41:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GOhuf-0007jo-K8 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 23:41:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GOhue-0002NY-VL for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 17:41:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.28.186.75.MISMATCH!hwmnpeer01.lga!news.highwinds-media.com!news-server.columbus.rr.com!tornado.ohiordc.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:wOCniZ0cqhY0wU/e1e8V12HTyi0= Original-Lines: 25 Original-NNTP-Posting-Host: 65.186.90.24 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: tornado.ohiordc.rr.com 1158442022 65.186.90.24 (Sat, 16 Sep 2006 17:27:02 EDT) Original-NNTP-Posting-Date: Sat, 16 Sep 2006 17:27:02 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:141802 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37424 Archived-At: "jronald" writes: > 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? msf-abbrev can do this: http://www.bloomington.in.us/~brutt/msf-abbrev.html requires unreleased emacs though -- Benjamin Rutt