From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maciej Katafiasz Newsgroups: gmane.emacs.help Subject: Re: Inserting standard text Date: Fri, 27 Apr 2007 06:17:01 +0000 (UTC) Message-ID: References: <1177579177.662475.118650@n15g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1177654655 17425 80.91.229.12 (27 Apr 2007 06:17:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2007 06:17:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 08:17:33 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 1HhJlr-0006ih-Ct for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2007 08:17:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhJrf-0008KZ-NC for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2007 02:23:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhJrT-0008KM-9K for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 02:23:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhJrQ-0008KA-Th for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 02:23:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhJrQ-0008K7-OX for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 02:23:16 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HhJlb-0002Sx-F0 for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 02:17:15 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HhJlX-0005wa-GF for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 08:17:11 +0200 Original-Received: from users.kollegienet.dk ([130.226.173.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Apr 2007 08:17:11 +0200 Original-Received: from mathrick by users.kollegienet.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Apr 2007 08:17:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: users.kollegienet.dk User-Agent: pan 0.120 (Plate of Shrimp) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:43257 Archived-At: Den Thu, 26 Apr 2007 02:19:37 -0700 skrev anders: > I have debug text, that i tody in my old editor just press a key and > it insert this text. > > Wha't is the easys way to do this, ELISP + KEYDEF or,, See http://www.emacswiki.org/cgi-bin/wiki/CategoryTemplates . I just started using msf-abbrev, it's particularly notable for having the easiest syntax of all, making it possible to add new snippets without careful programming, and also very nice navigation within the inserted text. See http://www.bloomington.in.us/~brutt/msf-abbrev-demo.gif , you should be able to tell if it fits your purposes from that. Cheers, Maciej