From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: boilerplate expansion module? Date: 15 May 2003 19:26:05 +1000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87fzngef2q.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052990189 22512 80.91.224.249 (15 May 2003 09:16:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 May 2003 09:16:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 11:16:27 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19GEqh-0005qs-00 for ; Thu, 15 May 2003 11:16:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GEq3-0007eC-00 for gnu-help-gnu-emacs@m.gmane.org; Thu, 15 May 2003 05:15:47 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: ppp400.nsw.padsl.internode.on.net Original-X-Trace: duster.adelaide.on.net 1052989977 ppp400.nsw.padsl.internode.on.net (15 May 2003 18:42:57 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!snewsf0.syd.ops.aspac.uu.net!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:113257 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9753 >>>>> "Ignoramus13246" == Ignoramus13246 writes: Ignoramus13246> I am looking for some extension that would let me Ignoramus13246> insert boilerplate text. For example. Let's say that Ignoramus13246> I have a legal disclaimer saying "author is not Ignoramus13246> responsible for errors and omissions". And instead of Ignoramus13246> typing it, I would define boilerplate phrase "discl1" Ignoramus13246> to be "author is not responsible for errors and Ignoramus13246> omissions". Then as I type text, I would enter Ignoramus13246> discl1, press some key like M-M-b, and it would Ignoramus13246> replace discl1 with the actual phrase. Ignoramus13246> Any suggestions? don't know about Xemacs, but in emacs you can achieve this with a combination of abbrev-mode and skeletons or tempo templates. The emacs info pages has this under the heading of auto-type I think. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!