all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@spamto.devnul.com>
Subject: Re: boilerplate expansion module?
Date: 15 May 2003 19:26:05 +1000	[thread overview]
Message-ID: <87fzngef2q.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: slrnbc59ul.ji8.ignoramus13246@manifold.algebra.com

>>>>> "Ignoramus13246" == Ignoramus13246  <ignoramus13246@NOSPAM.13246.invalid> 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!

  parent reply	other threads:[~2003-05-15  9:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-14 20:32 boilerplate expansion module? Ignoramus13246
2003-05-14 20:59 ` kgold
2003-05-15  7:00   ` Friedrich Dominicus
2003-05-14 22:10 ` Pascal Bourguignon
2003-05-15  9:26 ` Tim X [this message]
2003-05-15 14:58 ` Ignoramus7828
2003-05-15 23:54   ` Johan Bockgård
2003-05-16 16:46     ` Ignoramus27625

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fzngef2q.fsf@tiger.rapttech.com.au \
    --to=timx@spamto.devnul.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.