From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Inserting standard text Date: Thu, 26 Apr 2007 21:33:30 -0700 Message-ID: References: <877iryvgms.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177648467 27222 80.91.229.12 (27 Apr 2007 04:34:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2007 04:34:27 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 06:34:25 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhIA5-0005e1-9J for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2007 06:34:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhIFt-0008B5-7L for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2007 00:40:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhIFd-0008Aj-7D for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 00:40:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhIFb-0008AW-T5 for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 00:40:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhIFb-0008AT-Lu for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 00:40:07 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HhI9m-0006cm-WA for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 00:34:07 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l3R4Y3tG010458 for ; Thu, 26 Apr 2007 23:34:03 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l3R4Jn5R022956 for ; Thu, 26 Apr 2007 22:34:02 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-82-83.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 2650722631177648411; Thu, 26 Apr 2007 21:33:31 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <877iryvgms.fsf@lion.rapttech.com.au> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:43251 Archived-At: > > I have debug text, that i tody in my old editor just press a key and > > it insert this text. > > Emacs comes with two packages which may meet your needs, plus there are a > number of add-on 'template' style packages out there. > > The two standard packages are skeleton mode and tempo mode....For > example, I use this to put a standard template at the beginning of my code > files - I don't know if it helps with what you want, but you might also look at header2.el, which inserts and updates header text in a source file. Library: http://www.emacswiki.org/cgi-bin/wiki/header2.el Doc: http://www.emacswiki.org/cgi-bin/wiki/AutomaticFileHeaders