From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jason haslup Newsgroups: gmane.emacs.help Subject: Re: Inserting standard blocks of text. Date: Mon, 28 Apr 2003 07:47:59 -0700 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051541572 21669 80.91.224.249 (28 Apr 2003 14:52:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 14:52:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 16:52:51 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 19A9xe-0005OX-00 for ; Mon, 28 Apr 2003 16:50:30 +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 19A9xW-000254-07 for gnu-help-gnu-emacs@m.gmane.org; Mon, 28 Apr 2003 10:50:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 28 Apr 2003 09:47:05 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 Cancel-Lock: sha1:VmODbUB5p3zZxmBfqfbXjOgg7eI= Original-Lines: 16 Original-X-Trace: sv3-CmNPz7LpjV6z+EOxwJmTbrCvGHBqb28U3rxSAaBwa93j6ZpXNhDxCGAV5tw7yTttroMFiPf3O9py2qS!XElDF84Se34YB/tImtkCuFuGPuODXqEuZmO5uJ5K8GtV7y/FFCe84fA= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:112453 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:8950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8950 "Michael Solem" writes: > Is there a way to have a block of text that can be pasted in a file > at any time (something that will not be overwritten when you do a > Ctrl-k etc...). I would like to put a standard header in fron of > all my functions when I'm programming. It will always be the You could try tempo.el, it's a nice package that lets you get interactive with standard blocks of text. If you're using doxygen, I've found that doxymacs (http://doxymacs.sf.net) is great for doing such insertions. It uses tempo.el and automatically finds your parameters and return values and creates entries for them in the comment. Fully customizable, of course. jason